Metric drilldown / variables
Problem to solve
In some cases you may want to drill down and get more detailed statistics on particular hosts/routes/paths/etc.
For example with GitLab, we emit a series of metrics for every rails route that we have: https://dashboards.gitlab.net/d/thYzurImk/rails-controllers?orgId=1
Target audience
-
Sasha, Software Developer, https://design.gitlab.com/research/personas#persona-sasha
-
Devon, DevOps Engineer, https://design.gitlab.com/research/personas#persona-devon
-
Sidney, Systems Administrator, https://design.gitlab.com/research/personas#persona-sidney
Further details
Proposal
We should consider options on how to allow users to elect specific subsets of data to represent on a given dashboard.
Some possibilities:
- Allows a user to define a query which determines a label and potential values. You can then parameterize your queries with this variable. This is what Grafana does today.
- Some other method to consider, which may be more adaptive and not require as much initial configuration within the dashboard itself. For example maybe try to auto-detect this with common labels returned in a query.
What does success look like, and how can we measure that?
Support the ability for users to drilldown on specific data in a dashboard, like a rails controller.
