Telegraf for HTTP monitoring in Grafana
Connect to our production DB:
$ fly proxy 5454:5432 -a voyager-db
Find the Telegraf database connection string in 1Password. Change the hostname to localhost:5454
and put the connection string to DATABASE_URL
env var. Also find the voyager-telegraf glif token
in 1Password.
$ DATABASE_URL='...' \
GLIF_TOKEN='...' \
telegraf --config telegraf.conf --test