annotate misc/grafana/prosody-dashboard.json @ 5776:5239ed05bd71

mod_lastlog2: Fix to interpret stored data structure correctly
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 Dec 2023 15:07:09 +0000
parents 06ecadfe95e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5738
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 "description" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 "editable" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 "fiscalYearStartMonth" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 "graphTooltip" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "id" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 "links" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 "liveNow" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 "panels" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 "collapsed" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 "h" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 "w" : 24,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 "y" : 0
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 "id" : 26,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 "panels" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 "title" : "Core",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 "type" : "row"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 "mode" : "continuous-GrYlRd",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 "seriesBy" : "last"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 "axisBorderShow" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 "axisCenteredZero" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 "axisColorMode" : "text",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 "axisLabel" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 "axisPlacement" : "right",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 "barAlignment" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 "drawStyle" : "line",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 "fillOpacity" : 10,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 "gradientMode" : "scheme",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
42 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
43 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
44 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
45 "insertNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
46 "lineInterpolation" : "smooth",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
47 "lineStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
48 "fill" : "solid"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
49 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
50 "lineWidth" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
51 "pointSize" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
52 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
53 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
54 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
55 "showPoints" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
56 "spanNulls" : 300000,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
57 "stacking" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
58 "group" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
59 "mode" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
60 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
61 "thresholdsStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
62 "mode" : "off"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
63 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
64 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
65 "mappings" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
66 "min" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
67 "thresholds" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
68 "mode" : "absolute",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
69 "steps" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
70 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
71 "color" : "green",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
72 "value" : null
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
73 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
74 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
75 "color" : "red",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
76 "value" : 80
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
77 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
78 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
79 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
80 "unit" : "percentunit"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
81 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
82 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
83 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
84 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
85 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
86 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
87 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
88 "y" : 1
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
89 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
90 "id" : 6,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
91 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
92 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
93 "calcs" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
94 "displayMode" : "list",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
95 "placement" : "bottom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
96 "showLegend" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
97 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
98 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
99 "mode" : "single",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
100 "sort" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
101 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
102 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
103 "pluginVersion" : "8.2.5",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
104 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
105 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
106 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
107 "expr" : "rate(process_cpu_seconds_total{job=\"prosody\"}[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
108 "instant" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
109 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
110 "intervalFactor" : 2,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
111 "legendFormat" : "usage",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
112 "refId" : "A"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
113 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
114 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
115 "title" : "CPU",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
116 "type" : "timeseries"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
117 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
118 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
119 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
120 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
121 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
122 "mode" : "palette-classic"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
123 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
124 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
125 "axisBorderShow" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
126 "axisCenteredZero" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
127 "axisColorMode" : "text",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
128 "axisLabel" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
129 "axisPlacement" : "right",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
130 "barAlignment" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
131 "drawStyle" : "line",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
132 "fillOpacity" : 10,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
133 "gradientMode" : "none",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
134 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
135 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
136 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
137 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
138 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
139 "insertNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
140 "lineInterpolation" : "smooth",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
141 "lineStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
142 "fill" : "solid"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
143 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
144 "lineWidth" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
145 "pointSize" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
146 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
147 "log" : 2,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
148 "type" : "log"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
149 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
150 "showPoints" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
151 "spanNulls" : 300000,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
152 "stacking" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
153 "group" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
154 "mode" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
155 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
156 "thresholdsStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
157 "mode" : "off"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
158 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
159 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
160 "mappings" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
161 "thresholds" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
162 "mode" : "percentage",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
163 "steps" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
164 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
165 "color" : "green",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
166 "value" : null
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
167 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
168 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
169 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
170 "unit" : "bytes"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
171 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
172 "overrides" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
173 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
174 "__systemRef" : "hideSeriesFrom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
175 "matcher" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
176 "id" : "byNames",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
177 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
178 "mode" : "exclude",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
179 "names" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
180 "RSS",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
181 "Used",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
182 "Lua"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
183 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
184 "prefix" : "All except:",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
185 "readOnly" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
186 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
187 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
188 "properties" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
189 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
190 "id" : "custom.hideFrom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
191 "value" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
192 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
193 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
194 "viz" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
195 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
196 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
197 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
198 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
199 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
200 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
201 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
202 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
203 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
204 "x" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
205 "y" : 1
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
206 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
207 "id" : 4,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
208 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
209 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
210 "calcs" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
211 "displayMode" : "list",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
212 "placement" : "bottom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
213 "showLegend" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
214 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
215 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
216 "mode" : "single",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
217 "sort" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
218 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
219 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
220 "pluginVersion" : "8.2.5",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
221 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
222 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
223 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
224 "expr" : "max_over_time(process_virtual_memory_bytes{job=\"prosody\"}[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
225 "fullMetaSearch" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
226 "hide" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
227 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
228 "intervalFactor" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
229 "legendFormat" : "Virtual",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
230 "refId" : "VIRT"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
231 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
232 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
233 "exemplar" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
234 "expr" : "max_over_time(process_resident_memory_bytes{job=\"prosody\"}[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
235 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
236 "legendFormat" : "RSS",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
237 "refId" : "RSS"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
238 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
239 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
240 "exemplar" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
241 "expr" : "max_over_time(malloc_heap_allocated_bytes{job=\"prosody\"}[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
242 "hide" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
243 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
244 "legendFormat" : "Allocated ({{mode}})",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
245 "refId" : "Malloc allocated"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
246 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
247 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
248 "exemplar" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
249 "expr" : "max_over_time(malloc_heap_used_bytes{job=\"prosody\"}[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
250 "hide" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
251 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
252 "legendFormat" : "Used",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
253 "refId" : "Malloc Used"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
254 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
255 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
256 "exemplar" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
257 "expr" : "max_over_time(lua_heap_bytes{job=\"prosody\"}[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
258 "hide" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
259 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
260 "legendFormat" : "Lua",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
261 "refId" : "Lua"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
262 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
263 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
264 "exemplar" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
265 "expr" : "sum(lua_heap_bytes{job=\"prosody\"}) / (sum(prosody_mod_c2s__connections{job=\"prosody\"})+sum(prosody_mod_s2s__connections_inbound{job=\"prosody\"})+sum(prosody_mod_s2s__connections_outbound{job=\"prosody\"}))",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
266 "hide" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
267 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
268 "legendFormat" : "Lua (per connection)",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
269 "refId" : "LuaPerConn"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
270 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
271 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
272 "title" : "Memory",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
273 "type" : "timeseries"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
274 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
275 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
276 "collapsed" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
277 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
278 "h" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
279 "w" : 24,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
280 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
281 "y" : 9
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
282 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
283 "id" : 31,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
284 "panels" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
285 "title" : "Connections",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
286 "type" : "row"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
287 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
288 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
289 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
290 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
291 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
292 "mode" : "palette-classic"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
293 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
294 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
295 "axisBorderShow" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
296 "axisCenteredZero" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
297 "axisColorMode" : "text",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
298 "axisLabel" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
299 "axisPlacement" : "right",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
300 "barAlignment" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
301 "drawStyle" : "line",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
302 "fillOpacity" : 100,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
303 "gradientMode" : "none",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
304 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
305 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
306 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
307 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
308 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
309 "insertNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
310 "lineInterpolation" : "stepAfter",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
311 "lineWidth" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
312 "pointSize" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
313 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
314 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
315 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
316 "showPoints" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
317 "spanNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
318 "stacking" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
319 "group" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
320 "mode" : "normal"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
321 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
322 "thresholdsStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
323 "mode" : "off"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
324 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
325 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
326 "mappings" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
327 "min" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
328 "thresholds" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
329 "mode" : "absolute",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
330 "steps" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
331 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
332 "color" : "green",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
333 "value" : null
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
334 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
335 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
336 "color" : "red",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
337 "value" : 80
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
338 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
339 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
340 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
341 "unit" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
342 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
343 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
344 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
345 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
346 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
347 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
348 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
349 "y" : 10
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
350 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
351 "id" : 13,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
352 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
353 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
354 "calcs" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
355 "displayMode" : "list",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
356 "placement" : "bottom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
357 "showLegend" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
358 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
359 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
360 "mode" : "single",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
361 "sort" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
362 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
363 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
364 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
365 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
366 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
367 "expr" : "prosody_mod_c2s__connections{type=\"c2s\"}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
368 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
369 "legendFormat" : "{{ip_family}} {{type}}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
370 "refId" : "c2s"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
371 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
372 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
373 "title" : "Client-to-Server Connections",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
374 "type" : "timeseries"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
375 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
376 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
377 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
378 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
379 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
380 "mode" : "palette-classic"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
381 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
382 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
383 "axisBorderShow" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
384 "axisCenteredZero" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
385 "axisColorMode" : "text",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
386 "axisLabel" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
387 "axisPlacement" : "right",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
388 "barAlignment" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
389 "drawStyle" : "line",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
390 "fillOpacity" : 100,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
391 "gradientMode" : "none",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
392 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
393 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
394 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
395 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
396 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
397 "insertNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
398 "lineInterpolation" : "stepAfter",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
399 "lineWidth" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
400 "pointSize" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
401 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
402 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
403 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
404 "showPoints" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
405 "spanNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
406 "stacking" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
407 "group" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
408 "mode" : "normal"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
409 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
410 "thresholdsStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
411 "mode" : "off"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
412 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
413 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
414 "mappings" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
415 "min" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
416 "thresholds" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
417 "mode" : "absolute",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
418 "steps" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
419 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
420 "color" : "green",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
421 "value" : null
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
422 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
423 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
424 "color" : "red",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
425 "value" : 80
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
426 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
427 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
428 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
429 "unit" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
430 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
431 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
432 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
433 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
434 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
435 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
436 "x" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
437 "y" : 10
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
438 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
439 "id" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
440 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
441 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
442 "calcs" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
443 "displayMode" : "list",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
444 "placement" : "bottom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
445 "showLegend" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
446 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
447 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
448 "mode" : "single",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
449 "sort" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
450 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
451 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
452 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
453 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
454 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
455 "expr" : "sum(prosody_mod_s2s__connections_inbound{type=\"s2sin\"}) by (ip_family)",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
456 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
457 "legendFormat" : "{{ip_family}} s2sin",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
458 "refId" : "s2sin"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
459 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
460 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
461 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
462 "expr" : "sum(prosody_mod_s2s__connections_outbound{type=\"s2sout\"}) by (ip_family)",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
463 "hide" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
464 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
465 "legendFormat" : "{{ip_family}} s2sout",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
466 "refId" : "s2sout"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
467 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
468 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
469 "title" : "Server-to-Server Connections",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
470 "type" : "timeseries"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
471 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
472 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
473 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
474 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
475 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
476 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
477 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
478 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
479 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
480 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
481 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
482 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
483 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
484 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
485 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
486 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
487 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
488 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
489 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
490 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
491 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
492 "y" : 18
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
493 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
494 "id" : 29,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
495 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
496 "calculate" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
497 "cellGap" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
498 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
499 "exponent" : 0.5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
500 "fill" : "dark-orange",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
501 "mode" : "scheme",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
502 "reverse" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
503 "scale" : "exponential",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
504 "scheme" : "Spectral",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
505 "steps" : 64
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
506 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
507 "exemplars" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
508 "color" : "rgba(255,0,255,0.7)"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
509 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
510 "filterValues" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
511 "le" : 1e-09
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
512 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
513 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
514 "show" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
515 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
516 "rowsFrame" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
517 "layout" : "auto"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
518 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
519 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
520 "show" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
521 "yHistogram" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
522 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
523 "yAxis" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
524 "axisPlacement" : "left",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
525 "reverse" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
526 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
527 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
528 "pluginVersion" : "10.2.2",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
529 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
530 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
531 "disableTextWrap" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
532 "editorMode" : "builder",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
533 "exemplar" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
534 "expr" : "changes(prosody_mod_c2s__encrypted_total[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
535 "fullMetaSearch" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
536 "includeNullMetadata" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
537 "interval" : "10m",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
538 "legendFormat" : "{{protocol}} {{cipher}}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
539 "range" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
540 "refId" : "c2s",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
541 "useBackend" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
542 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
543 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
544 "title" : "Client-to-Server Connections Encrypted",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
545 "type" : "heatmap"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
546 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
547 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
548 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
549 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
550 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
551 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
552 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
553 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
554 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
555 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
556 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
557 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
558 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
559 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
560 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
561 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
562 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
563 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
564 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
565 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
566 "x" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
567 "y" : 18
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
568 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
569 "id" : 30,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
570 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
571 "calculate" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
572 "cellGap" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
573 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
574 "exponent" : 0.5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
575 "fill" : "dark-orange",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
576 "mode" : "scheme",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
577 "reverse" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
578 "scale" : "exponential",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
579 "scheme" : "Spectral",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
580 "steps" : 64
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
581 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
582 "exemplars" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
583 "color" : "rgba(255,0,255,0.7)"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
584 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
585 "filterValues" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
586 "le" : 1e-09
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
587 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
588 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
589 "show" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
590 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
591 "rowsFrame" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
592 "layout" : "auto"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
593 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
594 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
595 "show" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
596 "yHistogram" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
597 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
598 "yAxis" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
599 "axisPlacement" : "left",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
600 "reverse" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
601 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
602 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
603 "pluginVersion" : "10.2.2",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
604 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
605 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
606 "disableTextWrap" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
607 "editorMode" : "builder",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
608 "exemplar" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
609 "expr" : "changes(prosody_mod_s2s__encrypted_total[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
610 "format" : "time_series",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
611 "fullMetaSearch" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
612 "includeNullMetadata" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
613 "instant" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
614 "interval" : "10m",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
615 "legendFormat" : "{{protocol}} {{cipher}}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
616 "range" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
617 "refId" : "s2sin",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
618 "useBackend" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
619 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
620 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
621 "title" : "Server-to-Server Connections Encrypted",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
622 "type" : "heatmap"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
623 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
624 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
625 "collapsed" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
626 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
627 "h" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
628 "w" : 24,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
629 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
630 "y" : 26
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
631 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
632 "id" : 24,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
633 "panels" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
634 "title" : "Stream Management",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
635 "type" : "row"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
636 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
637 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
638 "cards" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
639 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
640 "cardColor" : "#b4ff00",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
641 "colorScale" : "sqrt",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
642 "colorScheme" : "interpolateRdYlGn",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
643 "exponent" : 0.5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
644 "mode" : "spectrum"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
645 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
646 "dataFormat" : "tsbuckets",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
647 "description" : "How long a session has been hibernating when a client resumes it",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
648 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
649 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
650 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
651 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
652 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
653 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
654 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
655 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
656 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
657 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
658 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
659 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
660 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
661 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
662 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
663 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
664 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
665 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
666 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
667 "y" : 27
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
668 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
669 "heatmap" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
670 "hideZeroBuckets" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
671 "highlightCards" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
672 "id" : 14,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
673 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
674 "show" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
675 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
676 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
677 "calculate" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
678 "calculation" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
679 "cellGap" : 2,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
680 "cellValues" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
681 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
682 "exponent" : 0.5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
683 "fill" : "#b4ff00",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
684 "mode" : "scheme",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
685 "reverse" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
686 "scale" : "exponential",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
687 "scheme" : "RdYlGn",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
688 "steps" : 128
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
689 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
690 "exemplars" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
691 "color" : "rgba(255,0,255,0.7)"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
692 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
693 "filterValues" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
694 "le" : 1e-09
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
695 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
696 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
697 "show" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
698 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
699 "rowsFrame" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
700 "layout" : "ge"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
701 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
702 "showValue" : "never",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
703 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
704 "show" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
705 "yHistogram" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
706 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
707 "yAxis" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
708 "axisPlacement" : "left",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
709 "decimals" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
710 "reverse" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
711 "unit" : "clocks"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
712 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
713 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
714 "pluginVersion" : "10.2.2",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
715 "reverseYBuckets" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
716 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
717 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
718 "disableTextWrap" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
719 "editorMode" : "builder",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
720 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
721 "expr" : "sum by(le) (changes(prosody_mod_smacks__resumption_age_seconds_bucket{host=\"$virtualhost\"}[$__interval]))",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
722 "format" : "heatmap",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
723 "fullMetaSearch" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
724 "includeNullMetadata" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
725 "interval" : "600",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
726 "legendFormat" : "{{le}}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
727 "range" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
728 "refId" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
729 "useBackend" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
730 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
731 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
732 "title" : "Resumption Age",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
733 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
734 "show" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
735 "showHistogram" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
736 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
737 "type" : "heatmap",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
738 "xAxis" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
739 "show" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
740 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
741 "yAxis" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
742 "format" : "clocks",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
743 "logBase" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
744 "show" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
745 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
746 "yBucketBound" : "upper"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
747 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
748 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
749 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
750 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
751 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
752 "mode" : "palette-classic"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
753 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
754 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
755 "axisBorderShow" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
756 "axisCenteredZero" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
757 "axisColorMode" : "text",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
758 "axisLabel" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
759 "axisPlacement" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
760 "barAlignment" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
761 "drawStyle" : "line",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
762 "fillOpacity" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
763 "gradientMode" : "none",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
764 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
765 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
766 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
767 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
768 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
769 "insertNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
770 "lineInterpolation" : "linear",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
771 "lineWidth" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
772 "pointSize" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
773 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
774 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
775 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
776 "showPoints" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
777 "spanNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
778 "stacking" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
779 "group" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
780 "mode" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
781 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
782 "thresholdsStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
783 "mode" : "off"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
784 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
785 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
786 "mappings" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
787 "thresholds" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
788 "mode" : "absolute",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
789 "steps" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
790 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
791 "color" : "green",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
792 "value" : null
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
793 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
794 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
795 "color" : "red",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
796 "value" : 80
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
797 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
798 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
799 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
800 "unit" : "pps"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
801 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
802 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
803 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
804 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
805 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
806 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
807 "x" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
808 "y" : 27
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
809 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
810 "id" : 16,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
811 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
812 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
813 "calcs" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
814 "displayMode" : "list",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
815 "placement" : "bottom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
816 "showLegend" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
817 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
818 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
819 "mode" : "single",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
820 "sort" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
821 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
822 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
823 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
824 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
825 "editorMode" : "code",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
826 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
827 "expr" : "rate(prosody_mod_smacks__tx_queued_stanzas_total{host=\"$virtualhost\"}[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
828 "interval" : "600",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
829 "legendFormat" : "queued on {{host}}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
830 "range" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
831 "refId" : "A"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
832 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
833 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
834 "editorMode" : "builder",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
835 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
836 "expr" : "rate(prosody_mod_smacks__tx_acked_stanzas_count{host=\"$virtualhost\"}[$__interval])",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
837 "hide" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
838 "interval" : "600",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
839 "legendFormat" : "acked on {{host}}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
840 "range" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
841 "refId" : "B"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
842 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
843 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
844 "title" : "Stanzas",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
845 "type" : "timeseries"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
846 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
847 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
848 "collapsed" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
849 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
850 "h" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
851 "w" : 24,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
852 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
853 "y" : 35
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
854 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
855 "id" : 28,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
856 "panels" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
857 "title" : "Mobile optimizations",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
858 "type" : "row"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
859 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
860 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
861 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
862 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
863 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
864 "mode" : "palette-classic"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
865 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
866 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
867 "axisBorderShow" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
868 "axisCenteredZero" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
869 "axisColorMode" : "text",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
870 "axisLabel" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
871 "axisPlacement" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
872 "barAlignment" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
873 "drawStyle" : "points",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
874 "fillOpacity" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
875 "gradientMode" : "none",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
876 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
877 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
878 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
879 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
880 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
881 "insertNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
882 "lineInterpolation" : "linear",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
883 "lineWidth" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
884 "pointSize" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
885 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
886 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
887 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
888 "showPoints" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
889 "spanNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
890 "stacking" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
891 "group" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
892 "mode" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
893 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
894 "thresholdsStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
895 "mode" : "off"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
896 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
897 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
898 "mappings" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
899 "thresholds" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
900 "mode" : "absolute",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
901 "steps" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
902 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
903 "color" : "green"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
904 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
905 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
906 "color" : "red",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
907 "value" : 80
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
908 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
909 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
910 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
911 "unit" : "s"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
912 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
913 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
914 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
915 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
916 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
917 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
918 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
919 "y" : 36
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
920 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
921 "id" : 18,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
922 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
923 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
924 "calcs" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
925 "displayMode" : "list",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
926 "placement" : "bottom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
927 "showLegend" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
928 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
929 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
930 "mode" : "single",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
931 "sort" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
932 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
933 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
934 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
935 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
936 "editorMode" : "builder",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
937 "exemplar" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
938 "expr" : "histogram_quantile(0.95, sum by(le) (rate(prosody_mod_csi_simple__buffer_hold_seconds_bucket{host=\"$virtualhost\"}[$__rate_interval])))",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
939 "format" : "time_series",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
940 "instant" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
941 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
942 "legendFormat" : "CSI hold seconds",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
943 "range" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
944 "refId" : "A"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
945 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
946 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
947 "title" : "Hold time",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
948 "type" : "timeseries"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
949 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
950 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
951 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
952 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
953 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
954 "mode" : "palette-classic"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
955 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
956 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
957 "axisBorderShow" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
958 "axisCenteredZero" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
959 "axisColorMode" : "text",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
960 "axisLabel" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
961 "axisPlacement" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
962 "barAlignment" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
963 "drawStyle" : "points",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
964 "fillOpacity" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
965 "gradientMode" : "none",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
966 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
967 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
968 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
969 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
970 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
971 "insertNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
972 "lineInterpolation" : "linear",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
973 "lineWidth" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
974 "pointSize" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
975 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
976 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
977 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
978 "showPoints" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
979 "spanNulls" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
980 "stacking" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
981 "group" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
982 "mode" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
983 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
984 "thresholdsStyle" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
985 "mode" : "off"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
986 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
987 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
988 "mappings" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
989 "thresholds" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
990 "mode" : "absolute",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
991 "steps" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
992 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
993 "color" : "green"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
994 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
995 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
996 "color" : "red",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
997 "value" : 80
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
998 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
999 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1000 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1001 "unit" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1002 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1003 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1004 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1005 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1006 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1007 "w" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1008 "x" : 12,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1009 "y" : 36
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1010 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1011 "id" : 20,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1012 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1013 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1014 "calcs" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1015 "displayMode" : "list",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1016 "placement" : "bottom",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1017 "showLegend" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1018 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1019 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1020 "mode" : "single",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1021 "sort" : "none"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1022 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1023 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1024 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1025 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1026 "editorMode" : "builder",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1027 "expr" : "histogram_quantile(0.95, sum by(le) (rate(prosody_mod_csi_simple__flush_stanza_count_bucket{host=\"$virtualhost\"}[$__rate_interval])))",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1028 "format" : "time_series",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1029 "legendFormat" : "Stanzas flushed",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1030 "range" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1031 "refId" : "A"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1032 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1033 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1034 "title" : "Flush sizes",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1035 "type" : "timeseries"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1036 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1037 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1038 "collapsed" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1039 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1040 "h" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1041 "w" : 24,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1042 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1043 "y" : 44
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1044 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1045 "id" : 22,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1046 "panels" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1047 "title" : "HTTP Upload",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1048 "type" : "row"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1049 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1050 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1051 "cards" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1052 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1053 "cardColor" : "#b4ff00",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1054 "colorScale" : "sqrt",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1055 "colorScheme" : "interpolateRdYlGn",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1056 "exponent" : 0.5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1057 "max" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1058 "min" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1059 "mode" : "opacity"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1060 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1061 "dataFormat" : "tsbuckets",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1062 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1063 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1064 "custom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1065 "hideFrom" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1066 "legend" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1067 "tooltip" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1068 "viz" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1069 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1070 "scaleDistribution" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1071 "type" : "linear"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1072 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1073 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1074 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1075 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1076 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1077 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1078 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1079 "w" : 18,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1080 "x" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1081 "y" : 45
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1082 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1083 "heatmap" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1084 "hideZeroBuckets" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1085 "highlightCards" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1086 "id" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1087 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1088 "show" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1089 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1090 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1091 "calculate" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1092 "calculation" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1093 "cellGap" : 2,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1094 "cellValues" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1095 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1096 "exponent" : 0.5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1097 "fill" : "#b4ff00",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1098 "max" : 5,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1099 "min" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1100 "mode" : "opacity",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1101 "reverse" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1102 "scale" : "exponential",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1103 "scheme" : "Oranges",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1104 "steps" : 128
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1105 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1106 "exemplars" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1107 "color" : "rgba(255,0,255,0.7)"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1108 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1109 "filterValues" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1110 "le" : 1e-09
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1111 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1112 "legend" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1113 "show" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1114 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1115 "rowsFrame" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1116 "layout" : "ge"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1117 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1118 "showValue" : "never",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1119 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1120 "show" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1121 "yHistogram" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1122 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1123 "yAxis" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1124 "axisPlacement" : "left",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1125 "reverse" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1126 "unit" : "bytes"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1127 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1128 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1129 "pluginVersion" : "10.2.0",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1130 "reverseYBuckets" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1131 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1132 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1133 "disableTextWrap" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1134 "editorMode" : "builder",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1135 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1136 "expr" : "sum by(le) (changes(prosody_mod_http_file_share__upload_bytes_bucket{host=\"$virtualhost\"}[$__interval]))",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1137 "format" : "heatmap",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1138 "fullMetaSearch" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1139 "includeNullMetadata" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1140 "interval" : "3600s",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1141 "intervalFactor" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1142 "legendFormat" : "{{le}}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1143 "range" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1144 "refId" : "A",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1145 "useBackend" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1146 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1147 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1148 "title" : "Upload sizes",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1149 "tooltip" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1150 "show" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1151 "showHistogram" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1152 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1153 "type" : "heatmap",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1154 "xAxis" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1155 "show" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1156 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1157 "yAxis" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1158 "format" : "bytes",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1159 "logBase" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1160 "show" : true
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1161 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1162 "yBucketBound" : "upper"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1163 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1164 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1165 "fieldConfig" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1166 "defaults" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1167 "color" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1168 "mode" : "continuous-GrYlRd"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1169 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1170 "mappings" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1171 "max" : 10737418240,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1172 "min" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1173 "thresholds" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1174 "mode" : "absolute",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1175 "steps" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1176 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1177 "color" : "green"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1178 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1179 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1180 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1181 "unit" : "bytes"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1182 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1183 "overrides" : []
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1184 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1185 "gridPos" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1186 "h" : 8,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1187 "w" : 6,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1188 "x" : 18,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1189 "y" : 45
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1190 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1191 "id" : 10,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1192 "options" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1193 "minVizHeight" : 75,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1194 "minVizWidth" : 75,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1195 "orientation" : "auto",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1196 "reduceOptions" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1197 "calcs" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1198 "lastNotNull"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1199 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1200 "fields" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1201 "values" : false
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1202 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1203 "showThresholdLabels" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1204 "showThresholdMarkers" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1205 "text" : {}
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1206 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1207 "pluginVersion" : "10.2.0",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1208 "targets" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1209 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1210 "editorMode" : "builder",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1211 "exemplar" : true,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1212 "expr" : "prosody_mod_http_file_share__total_storage_bytes{host=\"$virtualhost\"}",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1213 "instant" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1214 "interval" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1215 "legendFormat" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1216 "refId" : "A"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1217 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1218 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1219 "title" : "Total uploads",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1220 "type" : "gauge"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1221 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1222 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1223 "refresh" : "5m",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1224 "schemaVersion" : 38,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1225 "tags" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1226 "prosody",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1227 "xmpp"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1228 ],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1229 "templating" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1230 "list" : [
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1231 {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1232 "definition" : "label_values(host)",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1233 "hide" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1234 "includeAll" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1235 "label" : "VirtualHost",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1236 "multi" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1237 "name" : "virtualhost",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1238 "options" : [],
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1239 "query" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1240 "query" : "label_values(host)",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1241 "refId" : "PrometheusVariableQueryEditor-VariableQuery"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1242 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1243 "refresh" : 1,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1244 "regex" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1245 "skipUrlSync" : false,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1246 "sort" : 0,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1247 "type" : "query"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1248 }
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1249 ]
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1250 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1251 "time" : {
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1252 "from" : "now-2d",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1253 "to" : "now"
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1254 },
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1255 "timepicker" : {},
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1256 "timezone" : "",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1257 "title" : "Prosody",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1258 "uid" : "y1Onovt7z",
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1259 "version" : 91,
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1260 "weekStart" : ""
06ecadfe95e8 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1261 }