grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.33k stars 3.38k forks source link

[mixin] panel expression is not updated for SSD mode #13190

Open lindeskar opened 3 months ago

lindeskar commented 3 months ago

Describe the bug The "Chunk Flush Reason %" panel expression in the "Loki / Operational" dashboard is not updated for SimpleScalable deployment mode.

The expression is unchanged as job=~"$namespace/ingester" and leads to "No data" in the panel.

It looks like the replaceMatchers:

https://github.com/grafana/loki/blob/f98ff7f58400b5f5a425fae003fb959bfb8c6454/production/loki-mixin/dashboards/loki-operational.libsonnet#L162

is expecting a different format in:

https://github.com/grafana/loki/blob/f98ff7f58400b5f5a425fae003fb959bfb8c6454/production/loki-mixin-compiled-ssd/dashboards/loki-operational.json#L2903

.

To Reproduce Steps to reproduce the behavior:

  1. Render the mixin dashboards using mixin-ssd.libsonnet

Expected behavior The expression is updated for SimpleScalable deployment mode.

Environment:

Screenshots, Promtail config, or terminal output image

lindeskar commented 1 month ago

Hi,

Should I keep the issue and PR open, or drop it?