Annotations in Aggregate Panels

  • What Grafana version and what operating system are you using?

Grafana 9.1.4

  • What are you trying to achieve?

We are trying to have a clear sense of reason behind failures that happen in our test runs.
We have a Grafana time series panel showing a line with # of passes and a line with # of failures

We want to ideally manually annotate when the # of failures >1 and create a disposition, with a Grafana annotation

The example tags could be: test-code-failure, application-failure, infrastructure-failing with descriptions mentioned in the annotations

We’d then want to create panel to query these annotations and convert them into a pie-chart, bar etc… (non-table) to look at trends

Eg: # of test-code-failures in last 5 days, last 10 days etc…

  • How are you trying to achieve it?

Trying to achieve with Annotations but it’s very limited as it only displays raw information.

We would like to take this information and convert to a panel to make decision about trends.