Is there a way to do a group by query on Prometheus database like there’s for Graphite databases?
Found it.
For reference : (metric) by (label)
1 Like
Small correction to the answer above - the metric
must be wrapped into aggregate function. For example, sum(metric) by (label)
.