You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dashboards generated by rpk via rpk generate grafana-dashboard are slightly broken when using the "/public_metrics" endpoint.
We should update them, especially since we are going to make "/public_metrics" the default endpoint used for generate grafana-dashboards (PR here).
If you wish to see how the generated dashboards look like when using "public_metrics" currently, check out this dashboard.
Fixing the Dashboards
Currently, the generated dashboards use harcoded metrics from the "metrics" endpoint for the summary panels (code here). We should update any panels that use hardcoded metrics from the "metrics" endpoint (prefixed with vectorized) to use "public_metrics". Note that this may require coming up with a new PromQL query.
Folow-up
The scope of this issue is limited to making the currently generated dashboards work with the new endpoint. However, we should have a discussion at some point about what dashboards we want to provide to users out of the box and the delivery mechanism (rpk. download from our website, etc.)
Context
This ticket is related to the "/public_metrics" Prometheus endpoint introduced in v22.2 Redpanda now exposes two Prometheus endpoints:
For further info, see the PRD, the RFC for cardinality reduction and for the new endpoint.
The dashboards generated by rpk via
rpk generate grafana-dashboard
are slightly broken when using the "/public_metrics" endpoint.We should update them, especially since we are going to make "/public_metrics" the default endpoint used for
generate grafana-dashboards
(PR here).If you wish to see how the generated dashboards look like when using "public_metrics" currently, check out this dashboard.
Fixing the Dashboards
Currently, the generated dashboards use harcoded metrics from the "metrics" endpoint for the summary panels (code here). We should update any panels that use hardcoded metrics from the "metrics" endpoint (prefixed with
vectorized
) to use "public_metrics". Note that this may require coming up with a new PromQL query.Folow-up
The scope of this issue is limited to making the currently generated dashboards work with the new endpoint. However, we should have a discussion at some point about what dashboards we want to provide to users out of the box and the delivery mechanism (rpk. download from our website, etc.)
Related Issues
#5501
The text was updated successfully, but these errors were encountered: