update grafana dashboard
All checks were successful
deploy / deploy (push) Successful in 34s
Publish Docker Image / docker (push) Successful in 42s

This commit is contained in:
Lee 2024-01-03 09:21:42 +00:00
parent 899aac977f
commit 5fd535a19c

View File

@ -379,6 +379,112 @@
],
"title": "Player Count (${server})",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 44
},
"id": 29,
"panels": [],
"title": "Tracker Stats",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "face5ed9-19c5-419c-ac67-e80ed8945e49"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"displayName": "Storage Used",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 45
},
"id": 28,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "face5ed9-19c5-419c-ac67-e80ed8945e49"
},
"query": "from(bucket: \"influx_metrics\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"storage_usage\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> filter(fn: (r) => r[\"db\"] == \"mc-tracker\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "InfluxDB Storage Size",
"type": "timeseries"
}
],
"refresh": "30s",
@ -412,13 +518,13 @@
]
},
"time": {
"from": "now-30d",
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Mc Tracker",
"uid": "c4d923ad-b588-4953-a302-2af1514fddd0",
"version": 26,
"version": 27,
"weekStart": ""
}