Bump the version of the prometheus version that we ship with GitLab
When working on adding stacked column support to our monitoring dashboards, I was looking for a way to get a query that could allow me to group data in a certain so I could display it, @mrincon was kind enough to provide with something that gave me the kind of data that I needed, the query in question is:
(sum(rate(prometheus_http_requests_total[5m])) by (handler, code))[30m:1m]
Unfortunately the prometheus version we ship with GitLab and the one that can be installed via our kubernetes feature is lower(2.4) than the version that introduced subqueries (2.7), which is the type of query that seems to work the best for the kind of chart that I'm hoping to add.
One way to solve this issue is to bump the prometheus version to 2.7, if that of course doesn't break any existing functionality due to breaking changes on the prometheus side of things.
But I have a question regarding the original issue https://gitlab.com/gitlab-org/gitlab-ce/issues/65413
Are stacked column charts something that is used in some capacity to display data? And if the answer is yes, what kind of queries are used to show that kind of information?