Click Save & Test.Grafana attempts to connect to the InfluxDB 2.1 datasource and returns the results of the test. Min time interval: The Grafana minimum time interval. Default Bucket: The default bucket to use in Flux queries. More information about /api/audit queries can be found in the API documentation, see Audit Log APIs. Organization: Your InfluxDB organization name or ID. Specifying just auditlogs in the query will return all audit log entries for the selected time range. Grafana considers all non-zero and non-null values for annotations. Of the response, each time series is processed independently. That is, our PromQL query returns a vector of time series where each element covers the time range of the dashboard. ![]() To distinguish these these from service event queries, the word auditlog starts the query.įor example, auditlogs service in ('local_load') and host = 'localhost', returns all audit log entries for service local_load on host localhost for the time range selected in the graph. Grafana performs a range query for annotations. Audit Log Annotation QueriesĪudit log annotation queries are GroundWork REST API /api/audit queries. Maybe helpful: My last alert from yesterday (13. I tested it with the current unix timestamp but the annotation will not show up. More information about /api/events queries can be found in the API documentation, see Event APIs. As the title says, Im looking for a way to add new colour schemes to Grafana. But what kind of timestamp is it I couldn't find any information about it. If the annotation Query is set to just severity='CRITICAL', then all critical events would be returned for the selected time range. Service event annotation queries are GroundWork REST API /api/events queries.įor example, if the annotation Query is set to severity='CRITICAL' and service in ('local_load') and host = 'localhost', this is passed to /api/events, and would return all events of critical severity for local_load on localhost, for the time range selected in the graph. This video demonstrates the different types of annotations that are available using the example dashboard provided and how the annotations are defined. Here you need to add a new annotation and use. An example annotations dashboard is provided and is called Annotations example. Choose a Grafana dashboard you want to modify and select the edit dashboard and go to the Annotations section. ![]() They are automatically included in Grafana graphs that are embedded in Status. Adding annotation is very easy and convenient since Grafana 4.6. GroundWork events and audit log entries can be added to Grafana graphs as annotations. The annotation API at a glance Grafana comes with a native annotation api, that can store and retrieve annotations for dashboards.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |