Relative Content

Tag Archive for prometheusgrafanapromql

Prometheus join use all values from left and only use right for filtering

I am trying to do a query with a “join” between two metrics, the right-hand metric is just there to filter on a field that is not in the metric I actually want. I have finally gotten it to the point where it returns the correct filtered instances, but it is using the value from the wrong side.

How to use metric label values as X-Axis in Grafana Bar Chart?

I am attempting to display historical metrics of test results in Grafana Bar Chart using Prometheus as a data source. The goal is to display a summary of failed/passed test cases per day/build_id (date serves as build id here since this only concerns daily builds). In detail I am attempting to make the x-axis of the chart display values of ‘date’ label of the metrics I am filtering with a query.