You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Annotation query uses the <aclassName="query-keyword"href="https://docs.cognite.com/api/v1/#operation/advancedListEvents"target="_blank"rel="noreferrer">events/list</a> endpoint to fetch data.
16
+
<br/>
17
+
<br/>
18
+
Use <codeclassName="query-keyword">'='</code> operator to provide parameters for the request.
By default, the query displays all events that are active in the time range.
27
+
<br/>
28
+
You can customize this with the additional time filters <codeclassName="query-keyword">startTime</code>, <codeclassName="query-keyword">endTime</code>.
29
+
<br/>
30
+
This example shows how to display all finished events that started in the current time range:
You can specify additional client-side filtering with the <codeclassName="query-keyword">'=~'</code>, <codeclassName="query-keyword">'!~'</code> and <codeclassName="query-keyword">'!='</code> operators. Comma between multiple filters acts as logic <codeclassName="query-keyword">AND</code>.<br/>
37
+
Format:<br/>
38
+
<codeclassName="query-keyword">'=~'</code> – regex equality, returns results satisfying the regular expression.
39
+
<br/>
40
+
<codeclassName="query-keyword">'!~'</code> – regex inequality, excludes results satisfying the regular expression.
41
+
<br/>
42
+
<codeclassName="query-keyword">'!='</code> – strict inequality, returns items where a property doesn't equal a given value.
To learn more about the querying capabilities of Cognite Data Source for Grafana, please visit our <aclassName="query-keyword"href="https://docs.cognite.com/cdf/dashboards/guides/grafana/getting_started.html">documentation</a>.
0 commit comments