Skip to content
Snippets Groups Projects
Verified Commit f2d10fb8 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(matrix): Add labels to postgresql exporter metrics

This patch adds some additional labels, that make it work better with
the dashboard provided by the postgres-system namespace.
parent 5e8e76d9
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,8 @@ spec: ...@@ -51,6 +51,8 @@ spec:
value: "$(POSTGRES_PASSWORD)" value: "$(POSTGRES_PASSWORD)"
- name: "PG_EXPORTER_AUTO_DISCOVER_DATABASES" - name: "PG_EXPORTER_AUTO_DISCOVER_DATABASES"
value: "true" value: "true"
- name: PG_EXPORTER_CONSTANT_LABELS
value: 'release=$(CLUSTER_NAME),namespace=$(POD_NAMESPACE)'
--- ---
apiVersion: monitoring.coreos.com/v1 apiVersion: monitoring.coreos.com/v1
kind: PodMonitor kind: PodMonitor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment