confluentinc / confluentinc/confluent-kubernetes-examples

Dashboards don't match metric attributes

Open
#9 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
72
Forks
201
Avg merge
10h 2m
Merged PRs (30d)
2

Description

It looks like the dashboards in this repo do not match the exported metrics.

For instance - the grafana query:
```
histogram_quantile(0.5, sum(rate(controller_runtime_reconcile_time_seconds_bucket{app="confluent-operator",
confluent_platform=~"true",kubernetes_namespace=~"$namespace", kubernetes_pod_name=~"$pod_name"}[5m])) by (le, controller))
```
uses metric `controller_runtime_reconcile_time_seconds_bucket`

while metric attributes differ from query:
```
controller_runtime_reconcile_time_seconds_bucket{controller="confluentrolebinding", endpoint="http-metric", instance="172.16.107.115:7778", job="confluent-operator", le="+Inf", namespace="confluent", pod="confluent-operator-55695f4b58-c42r7", service="confluent-operator"}
```
Is it possible to get these dashboards to work with current set of exported metrics?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the Grafana query for controller_runtime_reconcile_time_seconds_bucket with the exported metric sample in the issue, focusing on label names and values. Review the repository's dashboard definitions and current metric source, then verify that the affected dashboards query the exported labels and display data successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana, prometheus
Domain
observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.