{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": {}, "__requires": [ { "type": "panel", "id": "bargauge", "name": "Bar gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "11.6.0" }, { "type": "panel", "id": "piechart", "name": "Pie chart", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "table", "name": "Table", "version": "" }, { "type": "panel", "id": "text", "name": "Text", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "Dashboard for DayZ server \r\nBattleye RCON and Steam A2S Query metrics", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 30, "panels": [], "title": "All servers", "type": "row" }, { "gridPos": { "h": 3, "w": 4, "x": 0, "y": 1 }, "id": 36, "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "[![logo](https://github.com/WoozyMasta/dayz-exporter/raw/master/assets/dayz-exporter.png)](https://github.com/WoozyMasta/dayz-exporter)", "mode": "markdown" }, "pluginVersion": "11.6.0", "type": "text" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "fixed" }, "fieldMinMax": false, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 4, "y": 1 }, "id": 15, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "count(a2s_info_players_slots{instance=~\"$instance\"})", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{server}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Servers Count", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "fixed" }, "fieldMinMax": false, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 6, "y": 1 }, "id": 11, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "sum(a2s_info_players_slots{instance=~\"$instance\"})", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{server}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Slots Count Total", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "fixed" }, "fieldMinMax": false, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "dark-red", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 8, "y": 1 }, "id": 22, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "sum(bercon_ban_guid_total{instance=~\"$instance\"})", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A", "useBackend": false } ], "title": "GUID Bans Total", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "fixed" }, "fieldMinMax": false, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "dark-red", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 10, "y": 1 }, "id": 24, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "sum(bercon_ban_ip_total{instance=~\"$instance\"})", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A", "useBackend": false } ], "title": "IP Bans Total", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "continuous-BlPu" }, "fieldMinMax": false, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 10, "w": 3, "x": 12, "y": 1 }, "id": 10, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "sum(a2s_info_players_online{instance=~\"$instance\"})", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, "legendFormat": "{{server}}", "range": true, "refId": "A", "useBackend": false } ], "title": "Online Players Total", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "fieldMinMax": false, "mappings": [], "min": 0, "unit": "dthms" }, "overrides": [] }, "gridPos": { "h": 10, "w": 6, "x": 15, "y": 1 }, "id": 23, "options": { "displayLabels": [ "name", "value" ], "legend": { "displayMode": "table", "placement": "right", "showLegend": true }, "pieType": "donut", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": " topk(20, sum by(name, guid) (\r\n count_over_time(\r\n bercon_player_ping_seconds{\r\n instance=~\"$instance\",\r\n guid!=\"00000000000000000000000000000000\"\r\n }[$__range]\r\n )\r\n) * 15)", "format": "time_series", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{name}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Top 20 Players", "type": "piechart" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "fieldMinMax": false, "mappings": [], "min": 0, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 10, "w": 3, "x": 21, "y": 1 }, "id": 25, "options": { "legend": { "displayMode": "table", "placement": "right", "showLegend": true }, "pieType": "pie", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "topk by(country) (20, count by(country) (bercon_player_ping_seconds{instance=~\"$instance\"}))", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, "legendFormat": "{{country}}", "range": true, "refId": "A", "useBackend": false } ], "title": "Top Players Country", "type": "piechart" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "thresholds" }, "fieldMinMax": false, "mappings": [], "max": 1, "min": 0, "thresholds": { "mode": "percentage", "steps": [ { "color": "blue" }, { "color": "green", "value": 0.01 }, { "color": "yellow", "value": 85 }, { "color": "orange", "value": 95 }, { "color": "red", "value": 100 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 7, "w": 4, "x": 0, "y": 4 }, "id": 28, "options": { "displayMode": "lcd", "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "maxVizHeight": 125, "minVizHeight": 27, "minVizWidth": 8, "namePlacement": "top", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "(a2s_info_players_online{instance=~\"$instance\"} + a2s_info_players_queue{instance=~\"$instance\"}) / a2s_info_players_slots{instance=~\"$instance\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{server}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Servers Players Load", "type": "bargauge" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "continuous-BlPu" }, "fieldMinMax": false, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "dtdhms" }, "overrides": [] }, "gridPos": { "h": 7, "w": 3, "x": 4, "y": 4 }, "id": 29, "options": { "displayMode": "gradient", "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "maxVizHeight": 300, "minVizHeight": 16, "minVizWidth": 8, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "time()-(namedprocess_namegroup_oldest_start_time_seconds>0)", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{groupname}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Uptime", "type": "bargauge" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green" }, { "color": "light-green", "value": 0.03 }, { "color": "yellow", "value": 0.04 }, { "color": "orange", "value": 0.05 }, { "color": "red", "value": 0.1 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 7, "w": 3, "x": 7, "y": 4 }, "id": 27, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "expr": "avg without(version) (sum by(instance) (a2s_info_ping_seconds{instance=~\"$instance\"}))", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "{{server}}", "range": true, "refId": "A", "useBackend": false } ], "title": "Servers Mean Query Ping", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "yellow", "value": 1 } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byFrameRefID", "options": "C" }, "properties": [ { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 1 } ] } } ] } ] }, "gridPos": { "h": 7, "w": 2, "x": 10, "y": 4 }, "id": 35, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "expr": "sum(a2s_info_players_queue{instance=~\"$instance\"})", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "Queue", "range": true, "refId": "A", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, "expr": "sum(bercon_players_lobby{instance=~\"$instance\"})", "hide": false, "instant": false, "legendFormat": "Lobby", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(bercon_players_invalid{instance=~\"$instance\"})", "hide": false, "instant": false, "legendFormat": "Invalid", "range": true, "refId": "C" } ], "title": "Total busy players", "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 11 }, "id": 8, "panels": [], "repeat": "instance", "title": "Server: $instance", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue" }, { "color": "green", "value": 1 }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 2, "x": 0, "y": 12 }, "id": 3, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "a2s_info_players_online{instance=~\"$instance\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{server}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Online", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 2, "x": 2, "y": 12 }, "id": 5, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "a2s_info_players_slots{instance=~\"$instance\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{server}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Slots", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "continuous-YlBl", "seriesBy": "last" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "players", "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": -1, "barWidthFactor": 0.5, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineStyle": { "fill": "solid" }, "lineWidth": 2, "pointSize": 4, "scaleDistribution": { "linearThreshold": 2, "log": 2, "type": "symlog" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { "color": "green" }, { "color": "red", "value": 100 } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byFrameRefID", "options": "A" }, "properties": [ { "id": "custom.fillBelowTo", "value": "slots" }, { "id": "custom.lineStyle", "value": { "dash": [ 10, 10 ], "fill": "dash" } }, { "id": "color", "value": { "fixedColor": "light-red", "mode": "fixed" } } ] }, { "matcher": { "id": "byFrameRefID", "options": "C" }, "properties": [ { "id": "custom.lineWidth", "value": 0 }, { "id": "custom.fillOpacity", "value": 10 }, { "id": "unit", "value": "s" }, { "id": "color", "value": { "fixedColor": "semi-dark-blue", "mode": "fixed" } }, { "id": "custom.axisPlacement", "value": "hidden" } ] } ] }, "gridPos": { "h": 6, "w": 8, "x": 4, "y": 12 }, "id": 1, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "right", "showLegend": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "a2s_info_players_slots{instance=~\"$instance\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "expr": "a2s_info_players_online{instance=~\"$instance\"}", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "instant": false, "legendFormat": "online", "range": true, "refId": "B", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, "expr": "a2s_info_time{instance=~\"$instance\"} / 1e9", "hide": false, "instant": false, "legendFormat": "time", "range": true, "refId": "C" } ], "title": "Online players", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "yellow", "value": 1 } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byFrameRefID", "options": "C" }, "properties": [ { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 1 } ] } } ] } ] }, "gridPos": { "h": 6, "w": 2, "x": 12, "y": 12 }, "id": 4, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "expr": "sum(a2s_info_players_queue{instance=~\"$instance\"})", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "Queue", "range": true, "refId": "A", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, "expr": "sum(bercon_players_lobby{instance=~\"$instance\"})", "hide": false, "instant": false, "legendFormat": "Lobby", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(bercon_players_invalid{instance=~\"$instance\"})", "hide": false, "instant": false, "legendFormat": "Invalid", "range": true, "refId": "C" } ], "title": "Players", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "center", "cellOptions": { "type": "auto" }, "filterable": true, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-green" }, { "color": "#9ebf69", "value": 50 }, { "color": "#bcbf69", "value": 100 }, { "color": "#EAB839", "value": 150 }, { "color": "semi-dark-orange", "value": 200 }, { "color": "red", "value": 300 } ] }, "unit": "ms" }, "overrides": [ { "matcher": { "id": "byName", "options": "guid" }, "properties": [ { "id": "custom.width", "value": 324 }, { "id": "custom.cellOptions", "value": { "type": "json-view" } } ] }, { "matcher": { "id": "byName", "options": "bercon_player_ping_seconds" }, "properties": [ { "id": "custom.width", "value": 80 }, { "id": "custom.cellOptions", "value": { "applyToRow": false, "mode": "gradient", "type": "color-background" } }, { "id": "displayName", "value": "Ping" } ] }, { "matcher": { "id": "byName", "options": "Time" }, "properties": [ { "id": "custom.hidden", "value": true } ] }, { "matcher": { "id": "byName", "options": "lobby" }, "properties": [ { "id": "custom.width", "value": 75 }, { "id": "unit", "value": "bool" }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "color", "value": { "mode": "continuous-BlYlRd" } } ] }, { "matcher": { "id": "byName", "options": "ip" }, "properties": [ { "id": "custom.width", "value": 120 } ] }, { "matcher": { "id": "byName", "options": "name" }, "properties": [ { "id": "custom.width", "value": 330 } ] }, { "matcher": { "id": "byName", "options": "country" }, "properties": [ { "id": "custom.width", "value": 90 } ] } ] }, "gridPos": { "h": 22, "w": 10, "x": 14, "y": 12 }, "id": 12, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": true, "fields": "", "reducer": [ "sum" ], "show": false }, "frameIndex": 2, "showHeader": true, "sortBy": [ { "desc": false, "displayName": "Ping" } ] }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "bercon_player_ping_seconds{instance=~\"$instance\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A", "useBackend": false } ], "title": "Players", "transformations": [ { "id": "labelsToFields", "options": { "keepLabels": [ "guid", "ip", "country", "name", "lobby" ], "mode": "columns" } }, { "id": "merge", "options": {} } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "fieldMinMax": false, "mappings": [], "max": 86400, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "#233d63", "value": 0 }, { "color": "semi-dark-blue", "value": 14400 }, { "color": "light-yellow", "value": 21600 }, { "color": "light-orange", "value": 36000 }, { "color": "semi-dark-orange", "value": 64800 }, { "color": "#6b40b8", "value": 72000 }, { "color": "semi-dark-blue", "value": 79200 }, { "color": "#233d63", "value": 86400 } ] }, "unit": "dthms" }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 0, "y": 16 }, "id": 14, "maxPerRow": 12, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "a2s_info_time{instance=~\"$instance\"} / 1e9", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{server}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Time on server", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "log": 2, "type": "log" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "ms" }, "overrides": [] }, "gridPos": { "h": 8, "w": 10, "x": 4, "y": 18 }, "id": 6, "options": { "legend": { "calcs": [ "mean", "p95" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "avg by(name,guid) (bercon_player_ping_seconds{instance=~\"$instance\", guid!=\"00000000000000000000000000000000\"}) < 65535", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, "legendFormat": "{{name}}", "range": true, "refId": "A", "useBackend": false } ], "title": "Players ping", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green" }, { "color": "light-green", "value": 0.03 }, { "color": "yellow", "value": 0.04 }, { "color": "orange", "value": 0.05 }, { "color": "red", "value": 0.1 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 0, "y": 21 }, "id": 34, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "center", "orientation": "auto", "percentChangeColorMode": "inverted", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "value", "wideLayout": true }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "builder", "exemplar": false, "expr": "sum by(instance) (avg without(version) (a2s_info_ping_seconds{instance=~\"$instance\"}))", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false } ], "title": "Server Mean Query Ping", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "label" }, "properties": [ { "id": "custom.width", "value": 100 } ] } ] }, "gridPos": { "h": 8, "w": 4, "x": 0, "y": 26 }, "id": 13, "options": { "cellHeight": "md", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "a2s_info_players_online{instance=~\"$instance\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{server}}", "range": false, "refId": "A", "useBackend": false } ], "title": "Server info", "transformations": [ { "id": "labelsToFields", "options": { "keepLabels": [ "version", "server", "os", "map" ], "mode": "rows" } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "fieldMinMax": false, "mappings": [], "min": 0, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 8, "w": 3, "x": 4, "y": 26 }, "id": 33, "options": { "legend": { "displayMode": "table", "placement": "right", "showLegend": true }, "pieType": "pie", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": "topk by(country) (20, count by(country) (bercon_player_ping_seconds{instance=~\"$instance\"}))", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, "legendFormat": "{{country}}", "range": true, "refId": "A", "useBackend": false } ], "title": "Top Players Country", "type": "piechart" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "fieldMinMax": false, "mappings": [], "min": 0, "unit": "dthms" }, "overrides": [] }, "gridPos": { "h": 8, "w": 7, "x": 7, "y": 26 }, "id": 31, "options": { "legend": { "displayMode": "table", "placement": "right", "showLegend": true }, "pieType": "donut", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.6.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "disableTextWrap": false, "editorMode": "code", "exemplar": false, "expr": " topk(15, sum by(name, guid) (\r\n count_over_time(\r\n bercon_player_ping_seconds{\r\n instance=~\"$instance\",\r\n guid!=\"00000000000000000000000000000000\"\r\n }[$__range]\r\n )\r\n) * 15)", "format": "time_series", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "{{name}} [{{guid}}]", "range": false, "refId": "A", "useBackend": false } ], "title": "Top 15 Players", "type": "piechart" } ], "refresh": "30s", "schemaVersion": 41, "tags": [], "templating": { "list": [ { "current": {}, "definition": "label_values(a2s_info_time,server)", "includeAll": true, "label": "Server", "multi": true, "name": "dayz_server", "options": [], "query": { "qryType": 1, "query": "label_values(a2s_info_time,server)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" }, { "current": {}, "definition": "label_values(a2s_info_time{server=~\"$dayz_server\"},instance)", "includeAll": true, "label": "Instance", "multi": true, "name": "instance", "options": [], "query": { "qryType": 1, "query": "label_values(a2s_info_time{server=~\"$dayz_server\"},instance)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 3, "type": "query" } ] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "DayZ RCON", "uid": "fe21e5fyuc64gc", "version": 5, "weekStart": "" }