-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
dashboard_heatmap.yml
67 lines (67 loc) · 1.67 KB
/
dashboard_heatmap.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
apiVersion: influxdata.com/v2alpha1
kind: Dashboard
metadata:
name: dash-0
spec:
description: a dashboard w/ heatmap chart
charts:
- kind: heatmap
name: heatmap
note: heatmap note
noteOnEmpty: true
xPos: 1
yPos: 2
width: 6
height: 3
binSize: 10
legendColorizeRows: true
legendHide: false
legendOpacity: 1.0
legendOrientationThreshold: 5
generateXAxisTicks:
- xTotalTicks
- xTickStart
- xTickStep
xCol: _time
xTotalTicks: 15
xTickStart: 0
xTickStep: 1000
yCol: _value
generateYAxisTicks:
- yTotalTicks
- yTickStart
- yTickStep
yTotalTicks: 10
yTickStart: 0
yTickStep: 100
queries:
- query: >
from(bucket: v.bucket) |> range(start: v.timeRangeStart) |> filter(fn: (r) => r._measurement == "mem") |> filter(fn: (r) => r._field == "used_percent") |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false) |> yield(name: "mean")
colors:
- hex: "#000004"
- hex: "#110a30"
- hex: "#320a5e"
- hex: "#57106e"
- hex: "#781c6d"
- hex: "#9a2865"
- hex: "#bc3754"
- hex: "#d84c3e"
- hex: "#ed6925"
- hex: "#f98e09"
- hex: "#fbb61a"
- hex: "#f4df53"
axes:
- name: "x"
label: "x_label"
prefix: "x_prefix"
suffix: "x_suffix"
domain:
- 0
- 10
- name: "y"
label: "y_label"
prefix: "y_prefix"
suffix: "y_suffix"
domain:
- 0
- 100