Skip to content

Instantly share code, notes, and snippets.

@suhlig
Created May 17, 2020 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suhlig/049b068185f216824d33756dae99172a to your computer and use it in GitHub Desktop.
Save suhlig/049b068185f216824d33756dae99172a to your computer and use it in GitHub Desktop.
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