-
Notifications
You must be signed in to change notification settings - Fork 17
fix: update old metrics point after update #39
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
base: main
Are you sure you want to change the base?
Conversation
Good catch @mrdotb . Huh, the upstream deprecation was quite draconian. And your fix, I think, will not work for 1.25 |
121f6da
to
3761c25
Compare
@jsilvela |
Nice. You may want to have a more useful description in case it can serve as the commit message. |
…ones Add fallback support for new barman_cloud_cloudnative_pg_io_* metrics while maintaining compatibility with existing cnpg_collector_* metrics. Before: Only used cnpg_collector_* metrics After: Uses union syntax to query both old and new metric endpoints Signed-off-by: mrdotb <[email protected]>
I amended the commit with a bit more details. |
Presumably given the naming the upstream would expose different metrics for different backup plugins. It doesn't seem like a sustainable solution to keep adding names for all possible backup plugins. Would it better to have the backup metrics configurable via chart values? |
It's very convenient that this dashboard is usable without Helm. The resource here |
Hi there,
Are there any indications this will happen in the near future? For now, the Barman Cloud plugin seems to be the only plugin mentioned in the docs. If there are no technical or qualitative reasons to hold this back, I would prefer it if this could be merged instead of dwelling on hypotheticals. The dashboard has been effectively broken for two releases. |
Meanwhile you can deploy the dashboard using my fork it's just a json. ---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
configMapGenerator:
- name: cloudnative-pg-dashboard
files:
- cloudnative-pg-dashboard.json=https://raw.githubusercontent.com/mrdotb/grafana-dashboards/3761c25bc51faf58026e9a892890b58089d2ced8/charts/cluster/grafana-dashboard.json
generatorOptions:
disableNameSuffixHash: true
annotations:
kustomize.toolkit.fluxcd.io/substitute: disabled
labels:
grafana_dashboard: "1" |
👋
#37