1
+ {
2
+ "annotations" : {
3
+ "list" : [
4
+ {
5
+ "builtIn" : 1 ,
6
+ "datasource" : " -- Grafana --" ,
7
+ "enable" : true ,
8
+ "hide" : true ,
9
+ "iconColor" : " rgba(0, 211, 255, 1)" ,
10
+ "name" : " Annotations & Alerts" ,
11
+ "target" : {
12
+ "limit" : 100 ,
13
+ "matchAny" : false ,
14
+ "tags" : [],
15
+ "type" : " dashboard"
16
+ },
17
+ "type" : " dashboard"
18
+ }
19
+ ]
20
+ },
21
+ "editable" : true ,
22
+ "fiscalYearStartMonth" : 0 ,
23
+ "graphTooltip" : 0 ,
24
+ "links" : [],
25
+ "liveNow" : false ,
26
+ "panels" : [
27
+ {
28
+ "alert" : {
29
+ "alertRuleTags" : {},
30
+ "conditions" : [
31
+ {
32
+ "evaluator" : {
33
+ "params" : [
34
+ 1
35
+ ],
36
+ "type" : " lt"
37
+ },
38
+ "operator" : {
39
+ "type" : " and"
40
+ },
41
+ "query" : {
42
+ "params" : [
43
+ " A" ,
44
+ " 1m" ,
45
+ " now"
46
+ ]
47
+ },
48
+ "reducer" : {
49
+ "params" : [],
50
+ "type" : " min"
51
+ },
52
+ "type" : " query"
53
+ }
54
+ ],
55
+ "executionErrorState" : " alerting" ,
56
+ "for" : " 5m" ,
57
+ "frequency" : " 1m" ,
58
+ "handler" : 1 ,
59
+ "message" : " Some of the GoShimmer instances are out of sync. Please fix ASAP! Below is the list of the nodes currently out of sync." ,
60
+ "name" : " GoShimmer Sync Monitoring" ,
61
+ "noDataState" : " alerting" ,
62
+ "notifications" : []
63
+ },
64
+ "datasource" : {
65
+ "type" : " prometheus" ,
66
+ "uid" : " PBFA97CFB590B2093"
67
+ },
68
+ "fieldConfig" : {
69
+ "defaults" : {
70
+ "color" : {
71
+ "mode" : " palette-classic"
72
+ },
73
+ "custom" : {
74
+ "axisLabel" : " " ,
75
+ "axisPlacement" : " auto" ,
76
+ "barAlignment" : 0 ,
77
+ "drawStyle" : " line" ,
78
+ "fillOpacity" : 0 ,
79
+ "gradientMode" : " none" ,
80
+ "hideFrom" : {
81
+ "legend" : false ,
82
+ "tooltip" : false ,
83
+ "viz" : false
84
+ },
85
+ "lineInterpolation" : " linear" ,
86
+ "lineWidth" : 1 ,
87
+ "pointSize" : 5 ,
88
+ "scaleDistribution" : {
89
+ "type" : " linear"
90
+ },
91
+ "showPoints" : " auto" ,
92
+ "spanNulls" : false ,
93
+ "stacking" : {
94
+ "group" : " A" ,
95
+ "mode" : " none"
96
+ },
97
+ "thresholdsStyle" : {
98
+ "mode" : " off"
99
+ }
100
+ },
101
+ "mappings" : [],
102
+ "thresholds" : {
103
+ "mode" : " absolute" ,
104
+ "steps" : [
105
+ {
106
+ "color" : " green" ,
107
+ "value" : null
108
+ },
109
+ {
110
+ "color" : " red" ,
111
+ "value" : 80
112
+ }
113
+ ]
114
+ }
115
+ },
116
+ "overrides" : []
117
+ },
118
+ "gridPos" : {
119
+ "h" : 8 ,
120
+ "w" : 24 ,
121
+ "x" : 0 ,
122
+ "y" : 0
123
+ },
124
+ "id" : 4 ,
125
+ "options" : {
126
+ "legend" : {
127
+ "calcs" : [],
128
+ "displayMode" : " list" ,
129
+ "placement" : " bottom"
130
+ },
131
+ "tooltip" : {
132
+ "mode" : " single"
133
+ }
134
+ },
135
+ "targets" : [
136
+ {
137
+ "datasource" : {
138
+ "type" : " prometheus" ,
139
+ "uid" : " PBFA97CFB590B2093"
140
+ },
141
+ "exemplar" : true ,
142
+ "expr" : " tangleTimeSynced" ,
143
+ "interval" : " " ,
144
+ "legendFormat" : " {{instance}}" ,
145
+ "refId" : " A"
146
+ }
147
+ ],
148
+ "thresholds" : [
149
+ {
150
+ "colorMode" : " critical" ,
151
+ "op" : " lt" ,
152
+ "value" : 1 ,
153
+ "visible" : true
154
+ }
155
+ ],
156
+ "title" : " GoShimmer Sync Monitoring" ,
157
+ "type" : " timeseries"
158
+ },
159
+ {
160
+ "alert" : {
161
+ "alertRuleTags" : {},
162
+ "conditions" : [
163
+ {
164
+ "evaluator" : {
165
+ "params" : [
166
+ 1
167
+ ],
168
+ "type" : " lt"
169
+ },
170
+ "operator" : {
171
+ "type" : " and"
172
+ },
173
+ "query" : {
174
+ "params" : [
175
+ " A" ,
176
+ " 1m" ,
177
+ " now"
178
+ ]
179
+ },
180
+ "reducer" : {
181
+ "params" : [],
182
+ "type" : " min"
183
+ },
184
+ "type" : " query"
185
+ }
186
+ ],
187
+ "executionErrorState" : " alerting" ,
188
+ "for" : " 5m" ,
189
+ "frequency" : " 1m" ,
190
+ "handler" : 1 ,
191
+ "message" : " Some of the GoShimmer instances went down. Please fix ASAP! Below is the list of the nodes currently down." ,
192
+ "name" : " GoShimmer Node Monitoring alert" ,
193
+ "noDataState" : " alerting" ,
194
+ "notifications" : []
195
+ },
196
+ "datasource" : {
197
+ "type" : " prometheus" ,
198
+ "uid" : " PBFA97CFB590B2093"
199
+ },
200
+ "description" : " " ,
201
+ "fieldConfig" : {
202
+ "defaults" : {
203
+ "color" : {
204
+ "mode" : " palette-classic"
205
+ },
206
+ "custom" : {
207
+ "axisLabel" : " " ,
208
+ "axisPlacement" : " auto" ,
209
+ "barAlignment" : 0 ,
210
+ "drawStyle" : " line" ,
211
+ "fillOpacity" : 0 ,
212
+ "gradientMode" : " none" ,
213
+ "hideFrom" : {
214
+ "legend" : false ,
215
+ "tooltip" : false ,
216
+ "viz" : false
217
+ },
218
+ "lineInterpolation" : " linear" ,
219
+ "lineWidth" : 1 ,
220
+ "pointSize" : 5 ,
221
+ "scaleDistribution" : {
222
+ "type" : " linear"
223
+ },
224
+ "showPoints" : " auto" ,
225
+ "spanNulls" : false ,
226
+ "stacking" : {
227
+ "group" : " A" ,
228
+ "mode" : " none"
229
+ },
230
+ "thresholdsStyle" : {
231
+ "mode" : " off"
232
+ }
233
+ },
234
+ "mappings" : [],
235
+ "thresholds" : {
236
+ "mode" : " absolute" ,
237
+ "steps" : [
238
+ {
239
+ "color" : " green" ,
240
+ "value" : null
241
+ },
242
+ {
243
+ "color" : " red" ,
244
+ "value" : 80
245
+ }
246
+ ]
247
+ }
248
+ },
249
+ "overrides" : []
250
+ },
251
+ "gridPos" : {
252
+ "h" : 7 ,
253
+ "w" : 24 ,
254
+ "x" : 0 ,
255
+ "y" : 8
256
+ },
257
+ "id" : 2 ,
258
+ "options" : {
259
+ "legend" : {
260
+ "calcs" : [],
261
+ "displayMode" : " list" ,
262
+ "placement" : " bottom"
263
+ },
264
+ "tooltip" : {
265
+ "mode" : " single"
266
+ }
267
+ },
268
+ "pluginVersion" : " 8.3.3" ,
269
+ "targets" : [
270
+ {
271
+ "datasource" : {
272
+ "type" : " prometheus" ,
273
+ "uid" : " PBFA97CFB590B2093"
274
+ },
275
+ "exemplar" : true ,
276
+ "expr" : " up" ,
277
+ "interval" : " " ,
278
+ "legendFormat" : " {{instance}}" ,
279
+ "refId" : " A"
280
+ }
281
+ ],
282
+ "thresholds" : [
283
+ {
284
+ "colorMode" : " critical" ,
285
+ "op" : " lt" ,
286
+ "value" : 1 ,
287
+ "visible" : true
288
+ }
289
+ ],
290
+ "title" : " GoShimmer Node Monitoring" ,
291
+ "type" : " timeseries"
292
+ }
293
+ ],
294
+ "refresh" : " 10s" ,
295
+ "schemaVersion" : 34 ,
296
+ "style" : " dark" ,
297
+ "tags" : [],
298
+ "templating" : {
299
+ "list" : []
300
+ },
301
+ "time" : {
302
+ "from" : " now-30m" ,
303
+ "to" : " now"
304
+ },
305
+ "timepicker" : {},
306
+ "timezone" : " " ,
307
+ "title" : " Node Monitoring" ,
308
+ "uid" : " ok_NLw17k" ,
309
+ "version" : 2 ,
310
+ "weekStart" : " "
311
+ }
0 commit comments