Skip to content

Commit

Permalink
fix(database): remove grafana dashboard from dragonfly operator and a…
Browse files Browse the repository at this point in the history
…dd it to grafana
  • Loading branch information
tyriis committed Apr 10, 2024
1 parent bc776e8 commit 6f23a47
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ resources:
- https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/v1.1.2/manifests/crd.yaml
- helm-release.yaml
- rbac.yaml
configMapGenerator:
- name: dragonfly-dashboard
files:
# renovate: datasource=github-releases depName=dragonflydb/dragonfly-operator
- dragonfly-dashboard.json=https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/v1.1.2/monitoring/grafana-dashboard.json
generatorOptions:
disableNameSuffixHash: true
annotations:
kustomize.toolkit.fluxcd.io/substitute: disabled
labels:
grafana_dashboard: "true"
# configMapGenerator:
# - name: dragonfly-dashboard
# files:
# # renovate: datasource=github-releases depName=dragonflydb/dragonfly-operator
# - dragonfly-dashboard.json=https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/v1.1.2/monitoring/grafana-dashboard.json
# generatorOptions:
# disableNameSuffixHash: true
# annotations:
# kustomize.toolkit.fluxcd.io/substitute: disabled
# labels:
# grafana_dashboard: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ spec:
gnetId: 11074
revision: 9
datasource: Prometheus
dragonfly:
url: https://raw.githubusercontent.com/dragonflydb/dragonfly/main/tools/local/monitoring/grafana/provisioning/dashboards/dashboard.json
datasource: Prometheus

sidecar:
dashboards:
Expand Down

0 comments on commit 6f23a47

Please sign in to comment.