Add color mapping to Grafana dashboard.

This commit is contained in:
Maximilian Paß
2022-10-26 16:56:52 +01:00
parent 0b7f71f3dc
commit 8f495f524c
6 changed files with 60 additions and 3 deletions

View File

@ -9,4 +9,4 @@ result = from(bucket: "poseidon/autogen")
|> filter(fn: (r) => r["event_type"] == "creation")
|> group(columns: ["environment_id", "stage"], mode:"by")
|> aggregateWindow(every: 1m, fn: count, createEmpty: true)
|> aggregateWindow(every: duration(v: int(v: v.windowPeriod) * 5), fn: mean, createEmpty: true)
|> aggregateWindow(every: duration(v: int(v: v.windowPeriod) * 8), fn: mean, createEmpty: true)