Skip to content

Commit

Permalink
chore: embedded time to flux query
Browse files Browse the repository at this point in the history
  • Loading branch information
Nav-aggarwal09 committed Feb 16, 2021
1 parent c34b8c9 commit 121da3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 121da3e

Please sign in to comment.