Provided by: InfluxData
This directory contains two InfluxDB Templates, Operational Monitoring Template and Cardinality Now Template, that can be used to monitor your InfluxDB tasks and cardinality on your already running InfluxDB 2 instance. These templates are only compatible with the Cloud version of InfluxDB 2.
Monitoring your tasks allows you to:
- Verify that critical downsampling and data transforation tasks are succeeding.
- Respond to task failures quickly.
Monitoring your cardinality allows you to:
- Ensure that you're not experiencing runaway cardinality.
- Verify that your downsampling tasks and retention policies are successfully reducing your series cardinality.
This Cardinality Explorer
dashboard is used by InfluxData to monitor the cardinality of InfluxData's own production monitoring InfluxDB instance. The cardinality
bucket is populated by the cardinality_by_bucket
task which summarizes schema data about your InfluxDB instance.
If the cardinality of a bucket is increasing exponentially, use this dashboard to drill into the cardinality of specific measurements to identify the source of runaway cardinality.
- 1 Bucket:
cardinality
, Forever - 1 Task:
cardinality_by_bucket
, 1h - 2 Labels:
operational_monitoring
- 2 Dashboard:
Task Summary Dashboard
,Cardinality Explorer
This is a slimmed down version of the Operational Monitoring Template. This version allows you to monitor your currently cardinality without adding additional buckets or tasks to your instance (i.e. without increasing the cardinality of your instance).
This Cardinality Now
dashboard can help you identify your source of runaway cardinality when you have reached your cardinality limit.
Use this dashboard to drill into the cardinality of specific measurements to identify the source of runaway cardinality.
- 1 Labels:
cardinality
- 1 Dashboard:
Cardinality Now
In the InfluxDB UI, go to Settings->Templates and enter the URL for the template you wish to apply.
- For the Operational Monitoring Template: https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_operational_monitoring.yml
- For the Cardinality Now Template: https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_cardinality_now.yml
If you have your InfluxDB credentials configured in the CLI, you can install each template with their respective URLs:
- For the Operational Monitoring Template:
influx apply -u https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_operational_monitoring.yml
- For the Cardinality Now Template:
influx apply -u https://raw.githubusercontent.com/influxdata/community-templates/master/influxdb2_operational_monitoring/influxdb2_cardinality_now.yml
General instructions on using InfluxDB Templates can be found in the use a template document.
The data for the Task Summary Dashboard
is populated by data collected from the default _tasks
bucket. The Cardinality Explorer
dashboard is populated by data collected from the cardinality
bucket. The best way to set this up is to first follow the instructions for installing any template. That will create the label, bucket, and dashboards for you.
You must already have a task running in order to populate the Task Summary Dashboard
with data. Get started with InfluxDB tasks to create a task and populate the dashboard.
You must have at least one bucket and have written data to that bucket for the Cardinality Now
dashboard to be populated with data.
- Author: Anais Dotis-Georgiou
- Email: [email protected]
- Github: @Anaisdg
- Influx Slack: @Anais