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
Operators following the Loki recipe AND importing the dashboard see empty verdict panels.
Root cause
The dashboard was authored before the Loki recipe shipped. Author assumed Promtail/Alloy as the log-ingestion shape. Native OTLP ingestion via Loki 3.0+'s /otlp/v1/logs endpoint puts the attrs into structured metadata, accessible as direct LogQL filters (no | json extraction needed).
Rewrite all 6 verdict panel LogQL queries from | json pattern_id="attributes_pattern_id" ... form to direct structured-metadata filter form: {cluster=~"...", pattern_id="14"} | line_format "{{.headline}}".
Problem
PR #278 (Loki backend recipe) review found a cross-PR drift:
/otlp/v1/logswith OTLP-log-attribute → structured-metadata mapping)| json pattern_id="attributes_pattern_id"form, which requires JSON-stringified log body (Promtail/Alloy shape, NOT OTLP-native)Operators following the Loki recipe AND importing the dashboard see empty verdict panels.
Root cause
The dashboard was authored before the Loki recipe shipped. Author assumed Promtail/Alloy as the log-ingestion shape. Native OTLP ingestion via Loki 3.0+'s
/otlp/v1/logsendpoint puts the attrs into structured metadata, accessible as direct LogQL filters (no| jsonextraction needed).Fix
In PR #264 (dashboard) rebase:
| json pattern_id="attributes_pattern_id" ...form to direct structured-metadata filter form:{cluster=~"...", pattern_id="14"} | line_format "{{.headline}}".Acceptance
| jsonextraction in any panel query.Related