Created
May 17, 2020 21:21
-
-
Save suhlig/049b068185f216824d33756dae99172a to your computer and use it in GitHub Desktop.
In Grafana, show events stored in InfluxDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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