go-graphite / carbonapi

Implementation of graphite API (graphite-web) in golang
Other
309 stars 140 forks source link

First find filed only graphite metric and fix query tag metric #758

Closed ihard closed 1 year ago

ihard commented 1 year ago

When autocompleting the very first field in the grafana, it displays only metric names with dots (excludes metric names with tags). Tagged metrics are loaded via tag completion. When autocompleting tags from VictoriaMetrics, the metric name is returned in the name tag, but it cannot be used because it is actually name and it must be used when querying VictoriaMetrics for metrics to work correctly with tags.