Query field on the "Add Metric" should be auto-complete
As a result with my discussion with @dwilkins I had open up this issue
Problem to solve
In order to add new custom metric to our chart we use PromQL, Prometheus has an autocomplete feature which helps users creating the right query, this capability is missing in Gitlab UI, which makes the query iteself a hard task to perfrom
Intended users
- Parker (Product Manager)
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
- Sam (Security Analyst)
- Dana (Data Analyst)
Further details
In order to Add metric in Gitlab UI user should go to the matric chart, push the "add metric" button, and add the query, without auto complete, querying the metric is a hard task to perform, usually, our users going directly to Prometheus and check the query first before typing it in Gitlab UI
Proposal
Use auto complete for the metric query we should probably break it down for auto complete for
- Variables/metrics (e.g. Http request total)
- Labels (Namespace=....)
- Expressions