generated from cloudoperators/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Perses Plugin #539
Open
ibakshay
wants to merge
22
commits into
main
Choose a base branch
from
akshay/add-perses-plugin
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add Perses Plugin #539
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e9c8de2
chore: initial commit
ibakshay 0c32125
chore(perses): add initial configuration and datasource templates
ibakshay 2eaf01c
Merge branch 'main' into akshay/add-perses-plugin
ibakshay c66cac0
feat(kube-monitoring): add Perses datasource configuration to plugin …
ibakshay 05843f7
fix(kube-monitoring): update descriptions for Thanos object storage c…
ibakshay a27dee9
Merge branch 'main' into akshay/add-perses-plugin
ibakshay 2c940df
WIP
ibakshay 5b4d09f
fix(perses): update plugin definition with new documentation and icon…
ibakshay d183386
fix(plugin): add architecture diagram
ibakshay 7575b10
fix(perses): change datasource kind to GlobalDatasource in configmap …
ibakshay a636c0d
docs(perses): update README with table of contents and improve dashbo…
ibakshay f153762
docs(perses): add beta warning to README and update links for dashboa…
ibakshay 0e49235
docs(perses): add perses properties
ibakshay bb0aa38
chore(kube-monitoring): bump chart and plugin
ibakshay 14ec626
Merge branch 'main' into akshay/add-perses-plugin
ibakshay 4594c59
chore: update licenserc to ignore perses charts and correct ConfigMap…
ibakshay 66f1a4f
fix(perses): increase resolution and fix diagram
ibakshay d247661
Update perses/plugindefinition.yaml
ibakshay 5a8299e
Update perses/plugindefinition.yaml
ibakshay 95d3590
fix(perses): review comment
ibakshay 9be4aaf
feat(kube-monitoring): enable Perses datasource and update plugin def…
ibakshay 6c270a1
chore(perses): bump version to 0.7.4 in Chart.yaml and plugindefiniti…
ibakshay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
kube-monitoring/charts/templates/configmap-perses-datasource.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{{- if .Values.kubeMonitoring.prometheus.persesDatasource }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ printf "%s-%s" $.Release.Name "perses-datasource" }} | ||
labels: | ||
perses.dev/resource: "true" | ||
{{- include "kube-prometheus-stack.labels" . | indent 4 }} | ||
data: | ||
{{ printf "%s-%s" $.Release.Name "perses-datasource.json" }}: | | ||
{ | ||
"kind": "GlobalDatasource", | ||
"metadata": { | ||
"name": "{{ printf "%s-%s" $.Release.Name "prometheus" }}", | ||
}, | ||
"spec": { | ||
"default": true, | ||
"plugin": { | ||
"kind": "PrometheusDatasource", | ||
"spec": { | ||
"proxy": { | ||
"kind": "HTTPProxy", | ||
"spec": { | ||
"url": "{{ printf "http://%s-prometheus.%s.svc:9090" $.Release.Name $.Release.Namespace }}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: perses | ||
repository: https://perses.github.io/helm-charts | ||
version: 0.7.2 | ||
digest: sha256:6f40f9f5514ad756f14f3cc23b370a316700e4875e6b5bd36c6448f608c32ea7 | ||
generated: "2024-11-18T13:10:51.012433+01:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: v2 | ||
name: perses-plugin | ||
description: A Helm chart for Perses | ||
icon: https://avatars.githubusercontent.com/u/77209215?s=200&v=4 | ||
type: application | ||
version: 0.7.4 | ||
appVersion: "v0.49.0" | ||
maintainers: | ||
- name: richardtief | ||
- name: ibakshay | ||
annotations: | ||
"helm.sh/validateValues": "false" | ||
keywords: | ||
- monitoring | ||
- metric | ||
- dashboarding | ||
- prometheus | ||
dependencies: | ||
- name: perses | ||
repository: https://perses.github.io/helm-charts | ||
version: 0.7.2 | ||
|
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The suffix
-plugin
is not required.