Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Dropdown selectors for template variables #349

@mwitkow

Description

@mwitkow

It should be possible (e.g. in JSON) to specify expressions that would populate a drop-down selector for a given variable. For example:

I have a dashboard that is parametrised by var.job=web-prod, var.job=web-alpha etc. I have no way for users to discover this,and when they go to a dashboard, they see empty graphs.

Nor is there an easy way to switch between all job names. The job names are already in prometheus data (just list job labels of up{}).

It would be great if JSON allowed me to specify a drop down for this. This would make template variables easily discoverable and give users the ability to see what they can filter by.

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