Annotate graphs with events

Annotations allow you to overlay rich event information from Cognite Data Fusion (CDF) on graphs in Grafana.

To enable CDF events to be used as annotations to a graph in Grafana:

  1. Navigate to your dashboard's settings, and select Annotations from the left side.

  2. In the Data Source field, select your CDF project. Annotation Query

  3. Specify the query to fetch and filter events from CDF. For example:

    events{type="some", subtype=~"sub.*"}
    
    1

    The query above requests events with parameter type="some" and filters the results by subtype that matches sub.*.

  4. Click Update. Annotation Query

Last Updated: 7/22/2020, 8:14:08 AM