Skip to content

Instantly share code, notes, and snippets.

@suhlig

suhlig/events.sql

Created May 17, 2020
Embed
What would you like to do?
In Grafana, show events stored in InfluxDB
# Insert an event into InfluxDB
use e5573;
INSERT events title="Disabled unattended-upgrades",description="We should see reduced bandwidth usage from here on",tags="apt,debug,bandwidth";
# Configure the annotation in Grafana
# https://grafana.com/docs/grafana/latest/features/datasources/influxdb/#annotations
SELECT title, description from events WHERE $timeFilter ORDER BY time ASC;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment