-
What Grafana version and what operating system are you using?
9.1.6 -
What are you trying to achieve?
We need to count annotations with the given tag e.g. count all the annotations with tag “environment:production” and display the count on the dashboard.
So we are looking for a way to query the annotations. -
How are you trying to achieve it?
We use Http APIs to post the annotations.
We use the default datasource ~Grafana~ (PostgreSQL based) to store the annotations.
Created an annotation with a filter on tag - environment:production. We are able to see the annotations on a panel. But we do not see a way to count those. -
What happened?
No option to query ~Grafana~ datasource. -
What did you expect to happen?
Hoped to see an option to query the ~Grafana~ datasource -
Can you copy/paste the configuration(s) that you are having problems with?
N/A -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
None. -
Did you follow any online instructions? If so, what is the URL?
This url for APIs - Annotations HTTP API | Grafana documentation
Did not find anything on querying ~Grafana~ data source.
1 Like