
as we will use distinct Influx and Grafana instances for the different stages/environments.
7 lines
203 B
Plaintext
7 lines
203 B
Plaintext
from(bucket: "poseidon")
|
|
|> range(start: -1y)
|
|
|> filter(fn: (r) => r["_measurement"] == "poseidon_environments")
|
|
|> keep(columns: ["id"])
|
|
|> distinct(column: "id")
|
|
|> keep(columns: ["_value"])
|