netdata-grafana-datasource-plugin icon indicating copy to clipboard operation
netdata-grafana-datasource-plugin copied to clipboard

Add labels to fields of the dataframe when the dimension match a key=value format

Open Tensibai opened this issue 2 years ago • 1 comments

For exemple a traefik v2 metric traefik_service_open_connections stored by netdata will have dimensions with literaly:

method=DELETE,protocol=http,service=my_service_name@source_of_config method=GET,protocol=http,service=another_service_name@source_of_config

Actually it is not possible to group in grafana by service, protocol or method as the field is the whole line.

Keeping it as name but splitting and adding each key=value as label to the field would allow grouping with grafana native transformations.

Alternatively, grouping during the query would be great too.

Tensibai avatar Jan 16 '23 16:01 Tensibai

this is for sure something we will want to bring into the plugin we've just recently been able to launch it on Grafana plugin marketplace. let's see how the adoption of it comes through so that we can priortiize this work

hugovalente-pm avatar Dec 01 '23 15:12 hugovalente-pm