Skip to content

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

Description

@Tensibai

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions