2020-01-13 19:13:37 +00:00
|
|
|
apiVersion: influxdata.com/v2alpha1
|
|
|
|
kind: Dashboard
|
|
|
|
metadata:
|
2020-05-03 17:34:24 +00:00
|
|
|
name: dash-1
|
2019-10-30 21:13:42 +00:00
|
|
|
spec:
|
2020-03-18 22:54:02 +00:00
|
|
|
name: display name
|
2020-01-13 19:13:37 +00:00
|
|
|
description: desc1
|
|
|
|
charts:
|
|
|
|
- kind: Single_Stat
|
|
|
|
name: single stat
|
|
|
|
prefix: sumtin
|
2020-01-16 21:53:28 +00:00
|
|
|
tickPrefix: "true"
|
2020-01-13 19:13:37 +00:00
|
|
|
suffix: days
|
2020-01-16 21:53:28 +00:00
|
|
|
tickSuffix: "true"
|
2020-01-13 19:13:37 +00:00
|
|
|
note: single stat note
|
|
|
|
noteOnEmpty: true
|
|
|
|
xPos: 1
|
|
|
|
yPos: 2
|
|
|
|
width: 6
|
|
|
|
height: 3
|
|
|
|
decimalPlaces: 1
|
|
|
|
shade: true
|
|
|
|
queries:
|
|
|
|
- query: "from(bucket: v.bucket) |> range(start: v.timeRangeStart) |> filter(fn: (r) => r._measurement == \"processes\") |> filter(fn: (r) => r._field == \"running\" or r._field == \"blocked\") |> aggregateWindow(every: v.windowPeriod, fn: max) |> yield(name: \"max\")"
|
|
|
|
colors:
|
|
|
|
- name: laser
|
|
|
|
type: text
|
|
|
|
hex: "#8F8AF4"
|
|
|
|
value: 3
|
2020-04-16 19:41:02 +00:00
|
|
|
---
|
|
|
|
apiVersion: influxdata.com/v2alpha1
|
|
|
|
kind: Dashboard
|
|
|
|
metadata:
|
2020-05-03 17:34:24 +00:00
|
|
|
name: dash-2
|
2020-04-16 19:41:02 +00:00
|
|
|
spec:
|
|
|
|
description: desc
|