Skip to content

Extract all unique Prometheus label names referenced on a given dashboard or all Grafana objects #67

@hartfordfive

Description

@hartfordfive

Hi was wondering if there's any where we can use this tool to return the list of unique label names which are reference across all graphs which are using a Prometheus datasource? I have a scenario where I'd like to test the possibly far reaching effects of dropping all labels except those matching a given regex and was hoping I could first get the complete list of labels names referenced across all my grafana objects. If this isn't available at this time, is that something that could potentially be added to the functionality?

Metadata

Metadata

Assignees

No one assigned

    Labels

    pitchA pitch for a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions