Skip to content

Commit 7316ca8

Browse files
committed
Update template for mc-monitor.json dashboard
1 parent e1148f1 commit 7316ca8

File tree

1 file changed

+109
-5
lines changed

1 file changed

+109
-5
lines changed

examples/mc-monitor-otel/dashboards/mc-monitor.json

Lines changed: 109 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
},
206206
"gridPos": {
207207
"h": 7,
208-
"w": 20,
208+
"w": 11,
209209
"x": 4,
210210
"y": 0
211211
},
@@ -250,6 +250,112 @@
250250
"title": "Players",
251251
"type": "timeseries"
252252
},
253+
{
254+
"datasource": {
255+
"type": "prometheus",
256+
"uid": "ddvhhy79lfr40e"
257+
},
258+
"description": "",
259+
"fieldConfig": {
260+
"defaults": {
261+
"color": {
262+
"mode": "palette-classic"
263+
},
264+
"custom": {
265+
"axisBorderShow": false,
266+
"axisCenteredZero": false,
267+
"axisColorMode": "text",
268+
"axisLabel": "",
269+
"axisPlacement": "auto",
270+
"barAlignment": 0,
271+
"drawStyle": "line",
272+
"fillOpacity": 0,
273+
"gradientMode": "none",
274+
"hideFrom": {
275+
"legend": false,
276+
"tooltip": false,
277+
"viz": false
278+
},
279+
"insertNulls": false,
280+
"lineInterpolation": "linear",
281+
"lineWidth": 1,
282+
"pointSize": 5,
283+
"scaleDistribution": {
284+
"type": "linear"
285+
},
286+
"showPoints": "never",
287+
"spanNulls": false,
288+
"stacking": {
289+
"group": "A",
290+
"mode": "none"
291+
},
292+
"thresholdsStyle": {
293+
"mode": "off"
294+
}
295+
},
296+
"mappings": [],
297+
"thresholds": {
298+
"mode": "absolute",
299+
"steps": [
300+
{
301+
"color": "green",
302+
"value": null
303+
}
304+
]
305+
}
306+
},
307+
"overrides": [
308+
{
309+
"matcher": {
310+
"id": "byName",
311+
"options": "response_time"
312+
},
313+
"properties": [
314+
{
315+
"id": "custom.fillOpacity",
316+
"value": 100
317+
}
318+
]
319+
}
320+
]
321+
},
322+
"gridPos": {
323+
"h": 7,
324+
"w": 9,
325+
"x": 15,
326+
"y": 0
327+
},
328+
"id": 8,
329+
"options": {
330+
"legend": {
331+
"calcs": [],
332+
"displayMode": "list",
333+
"placement": "bottom",
334+
"showLegend": true
335+
},
336+
"tooltip": {
337+
"mode": "single",
338+
"sort": "none"
339+
}
340+
},
341+
"targets": [
342+
{
343+
"datasource": {
344+
"type": "prometheus",
345+
"uid": "prometheus"
346+
},
347+
"editorMode": "code",
348+
"exemplar": true,
349+
"expr": "minecraft_status_response_time{server_host=\"$server\"}",
350+
"interval": "",
351+
"legendFormat": "response_time",
352+
"range": true,
353+
"refId": "A"
354+
}
355+
],
356+
"title": "Response time",
357+
"type": "timeseries"
358+
},
253359
{
254360
"datasource": {
255361
"type": "prometheus",
@@ -349,7 +455,7 @@
349455
{
350456
"datasource": {
351457
"type": "prometheus",
352-
"uid": "ddvhhy79lfr40e"
458+
"uid": "prometheus"
353459
},
354460
"fieldConfig": {
355461
"defaults": {
@@ -432,13 +538,11 @@
432538
"type": "prometheus",
433539
"uid": "prometheus"
434540
},
435-
"editorMode": "code",
436541
"exemplar": true,
437542
"expr": "container_memory_usage_bytes{container_label_com_docker_compose_service=\"$server\"}",
438543
"format": "time_series",
439544
"interval": "",
440545
"legendFormat": "{{container_label_com_docker_compose_service}}",
441-
"range": true,
442546
"refId": "A"
443547
}
444548
],
@@ -493,6 +597,6 @@
493597
"timezone": "",
494598
"title": "MC Monitor",
495599
"uid": "PpzSgJAnk",
496-
"version": 10,
600+
"version": 11,
497601
"weekStart": ""
498602
}

0 commit comments

Comments
 (0)