Skip to content

Commit

Permalink
fix: refactored parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
Nav-aggarwal09 committed Feb 3, 2021
1 parent 38f1678 commit ef8ced7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions influxdb2_operational_monitoring/influxdb2_cardinality_now.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
apiVersion: influxdata.com/v2alpha1
kind: Label
metadata:
name: sad-liskov-90e001
name: determined-torvalds-b69001
spec:
color: '#fafafc'
name: cardinality
---
apiVersion: influxdata.com/v2alpha1
kind: Task
metadata:
name: objective-lalande-90e001
name: unruffled-sinoussi-769001
spec:
associations:
- kind: Label
name: sad-liskov-90e001
name: determined-torvalds-b69001
every: 1d
name: 'Cardinality Alert '
offset: 20m0s
Expand All @@ -27,11 +27,11 @@ spec:
slackChannel = "##"
cardinalityThreshold = 1000000
alert = (bucketCard, bucketName) =>
(if givenCard >= cardinalityThreshold then () =>
(if bucketCard >= cardinalityThreshold then () =>
(slack.message(
url: slackWebhook,
channel: slackChannel,
text: "${bucketName} cardinality at ${string(v: givenCard)}!",
text: "${bucketName} cardinality at ${string(v: bucketCard)}!",
color: "warning",
)) else () =>
(0))
Expand All @@ -50,11 +50,11 @@ spec:
apiVersion: influxdata.com/v2alpha1
kind: Variable
metadata:
name: competent-lovelace-90e009
name: admiring-fermat-b69007
spec:
associations:
- kind: Label
name: sad-liskov-90e001
name: determined-torvalds-b69001
language: flux
name: measurement
query: |-
Expand All @@ -66,11 +66,11 @@ spec:
apiVersion: influxdata.com/v2alpha1
kind: Variable
metadata:
name: toasty-franklin-90e005
name: vivid-aryabhata-b69003
spec:
associations:
- kind: Label
name: sad-liskov-90e001
name: determined-torvalds-b69001
language: flux
name: bucket
query: |-
Expand All @@ -83,11 +83,11 @@ spec:
apiVersion: influxdata.com/v2alpha1
kind: Dashboard
metadata:
name: hungry-easley-10e001
name: elated-mirzakhani-f69001
spec:
associations:
- kind: Label
name: sad-liskov-90e001
name: determined-torvalds-b69001
charts:
- axes:
- base: "10"
Expand Down

0 comments on commit ef8ced7

Please sign in to comment.