diff --git a/influxdb2_operational_monitoring/influxdb2_cardinality_now.yml b/influxdb2_operational_monitoring/influxdb2_cardinality_now.yml index 43504ef..bb02e07 100644 --- a/influxdb2_operational_monitoring/influxdb2_cardinality_now.yml +++ b/influxdb2_operational_monitoring/influxdb2_cardinality_now.yml @@ -44,7 +44,7 @@ spec: buckets() |> map(fn: (r) => { - cards = influxdb.cardinality(start: -1h, bucket: r.name) + cards = influxdb.cardinality(start: -task.every, bucket: r.name) |> findRecord(idx: 0, fn: (key) => (true)) result = alert(bucketCard: cards._value, bucketName: r.name)