Skip to content

fix: Incorrect values for cluster var#49

Open
ajax-kovtunov-o wants to merge 1 commit into
cloudnative-pg:mainfrom
ajax-kovtunov-o:patch-1
Open

fix: Incorrect values for cluster var#49
ajax-kovtunov-o wants to merge 1 commit into
cloudnative-pg:mainfrom
ajax-kovtunov-o:patch-1

Conversation

@ajax-kovtunov-o

Copy link
Copy Markdown

The var cluster collects values from the cnpg_collector_up metric by name cluster. I see that cluster is a Kubernetes cluster name, then exported_cluster is a real PostgreSQL cluster name. So, without adjustments grafana dashboard won't work.

cnpg_collector_up{
cluster="cluster_name",
container="postgres",
endpoint="metrics",
environemnt="prod",
exported_cluster="grafana-db-cluster",
instance="hidden_ip",
job="monitoring/grafana-db-cluster",
namespace="monitoring",
pod="grafana-db-cluster-1",
prometheus="monitoring/victoria-metrics-k8s-stack-vm"
}

Signed-off-by: Oleksandr Kovtunov <123635332+ajax-kovtunov-o@users.noreply.github.com>
@ajax-kovtunov-o ajax-kovtunov-o changed the title Update grafana-dashboard.json fix: Incorrect values for cluster var Jan 23, 2026
@ajax-kovtunov-o

Copy link
Copy Markdown
Author

@gbartolini pls look

@ajax-kovtunov-o

Copy link
Copy Markdown
Author

@mnencia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant