Skip to content

Instantly share code, notes, and snippets.

@SimonRichardson
Last active November 8, 2022 12:14
Show Gist options
  • Save SimonRichardson/373ee7e8f246122fad28ebac3a459f0f to your computer and use it in GitHub Desktop.
Save SimonRichardson/373ee7e8f246122fad28ebac3a459f0f to your computer and use it in GitHub Desktop.
apiVersion: influxdata.com/v2alpha1
kind: Task
metadata:
name: condescending-carver-6e4668
spec:
every: 2m
name: evil3
offset: 1m0s
query: |-
// import "math"
import "math"
data =
sampledata.int()
|> yield(name: "unmodified")
offset = 5m
step = 20s
data
|> range(start: -task.every)
// import "math"
jump = 40s
import "strings"
leap = 50s
status: active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment