Remove "Stage" variable
as we will use distinct Influx and Grafana instances for the different stages/environments.
This commit is contained in:
@ -6,5 +6,4 @@ result = from(bucket: "poseidon")
|
||||
|> filter(fn: (r) => r["_measurement"] == "poseidon_file_download")
|
||||
|> filter(fn: (r) => r["_field"] == "actual_length")
|
||||
|> filter(fn: (r) => contains(value: r["environment_id"], set: ${environment_ids:json}))
|
||||
|> filter(fn: (r) => (not exists r.stage) or contains(value: r["stage"], set: ${stages:json}))
|
||||
|> keep(columns: ["_time", "_value", "environment_id", "stage"])
|
||||
|
Reference in New Issue
Block a user