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
Describe the bug
Prometheus API defines the endpoind /api/v1/labels to get all labels but Loki endpoint is /api/v1/label (without s). For this reason, using label_names() in a query variable fails.
To Reproduce
Deploy Loki and Grafana
Add Loki as prometheus datasource in grafana (using /loki path)
Try to add a new variable using label_names() query
Environment:
Infrastructure: Kubernetes 1.15.5
Deployment tool: helm 2.14.3
Chart version: 0.20.0 (loki v1.1.0)
Screenshots, Promtail config, or terminal output
The text was updated successfully, but these errors were encountered:
Describe the bug
Prometheus API defines the endpoind
/api/v1/labels
to get all labels but Loki endpoint is/api/v1/label
(without s). For this reason, usinglabel_names()
in a query variable fails.To Reproduce
/loki
path)Environment:
Screenshots, Promtail config, or terminal output

The text was updated successfully, but these errors were encountered: