influxdata / community-templates

InfluxDB Community Templates: Quickly collect & analyze time series data from a range of sources: Kubernetes, MySQL, Postgres, AWS, Nginx, Jenkins, and more.
https://www.influxdata.com/products/influxdb-templates/gallery/
Apache License 2.0
352 stars 157 forks source link

Feat: bucket cardinality slack alert #228

Closed Nav-aggarwal09 closed 3 years ago

Nav-aggarwal09 commented 3 years ago

Hello,

I'm adding a flux query to send a slack alert when a bucket reaches above a certain cardinality.

Notice

The flux query needs two forms of user input:

  1. A notification endpoint
  2. Cardinality threshold

I left the task an inactive and put in dummy values as variables at the top so it is easy to figure out what is needed

Thank you