Provided by: bonitoo.io
The template provides simple dashboard for Prometheus 1.x and detailed dashboard for Prometheus 2.x
In the InfluxDB UI, go to Settings->Templates and enter this URL: https://raw.githubusercontent.com/influxdata/community-templates/master/prometheus/prometheus.yml
If you have your InfluxDB credentials configured in the CLI, you can install this template with:
influx apply -f https://raw.githubusercontent.com/influxdata/community-templates/master/prometheus/prometheus.yml
This template includes the following:
- 3 Variables:
bucket
,host
,step
- 2 Dashboards:
Prometheus Stats
,Prometheus 2.0 Stats
- 1 Telegraf Configuration:
Prometheus
Load the dashboards and setup your Telegraf instance to use the Prometheus plugin with the provided configuration.
The data for the dashboard is populated by the included Telegraf configuration. The Telegraf Configuration requires the following environment variables
INFLUX_TOKEN
- The token with the permissions to read Telegraf configs and write data to a bucket. You can just use your operator token to get started.INFLUX_ORG
- The name of your Organization (this will be your email address on the InfluxDB Cloud free tier)INFLUX_HOST
- The URL of your InfluxDB host (this can your localhost, a remote instance, or InfluxDB Cloud)INFLUX_BUCKET
- The name of your bucket (default name istelegraf
)
- Email: [email protected]
- Influx Slack: @alespour