2024-01-03 08:48:16 +00:00
{
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
"type" : "grafana" ,
"uid" : "-- Grafana --"
} ,
2024-02-08 01:08:01 +00:00
"enable" : false ,
2024-01-03 08:48:16 +00:00
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
2024-02-08 01:08:01 +00:00
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
2024-01-03 08:48:16 +00:00
"type" : "dashboard"
}
]
} ,
2024-02-09 10:08:45 +00:00
"description" : "Minecraft server tracker. Shows current and past player counts." ,
2024-01-03 08:48:16 +00:00
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
2024-02-08 01:08:01 +00:00
"graphTooltip" : 1 ,
2024-01-04 07:44:44 +00:00
"id" : 1 ,
"links" : [
{
"asDropdown" : false ,
"icon" : "external link" ,
"includeVars" : false ,
"keepTime" : false ,
"tags" : [ ] ,
"targetBlank" : true ,
"title" : "Other Dashboards" ,
"tooltip" : "" ,
"type" : "dashboards" ,
"url" : ""
}
] ,
2024-01-03 08:48:16 +00:00
"liveNow" : false ,
"panels" : [
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 2 ,
"panels" : [ ] ,
2024-01-04 07:44:44 +00:00
"title" : "Global Server Stats" ,
2024-01-03 08:48:16 +00:00
"type" : "row"
} ,
{
"datasource" : {
"type" : "influxdb" ,
2024-02-08 01:08:01 +00:00
"uid" : "face5ed9-19c5-419c-ac67-e80ed8945e49"
2024-01-03 08:48:16 +00:00
} ,
"gridPos" : {
2024-02-08 01:08:01 +00:00
"h" : 10 ,
2024-01-03 08:48:16 +00:00
"w" : 4 ,
"x" : 0 ,
"y" : 1
} ,
2024-02-08 01:08:01 +00:00
"id" : 17 ,
2024-01-03 08:48:16 +00:00
"options" : {
2024-02-08 01:08:01 +00:00
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
2024-01-03 08:48:16 +00:00
} ,
2024-02-08 01:08:01 +00:00
"content" : "I created this tool to track the history of Minecraft servers, inspired by [Minetrack](https://github.com/Cryptkeeper/Minetrack). If you encounter any issues, please reach out to me on Discord using the username `fascinated7`.\n\nWant to add a server? You can do so by opening a pull request [here](https://git.fascinated.cc/Fascinated/mc-tracker/pulls) or messaging me on Discord.\n\nExplore additional metrics for the servers [here](https://mc-tracker.fascinated.cc/dashboards).\n\nIf you notice gaps in the metrics for a specific server, it means the server was offline during that time.\n" ,
"mode" : "markdown"
2024-01-03 08:48:16 +00:00
} ,
2024-01-04 07:44:44 +00:00
"pluginVersion" : "10.2.3" ,
2024-02-08 01:08:01 +00:00
"title" : "Information" ,
"type" : "text"
2024-01-03 08:48:16 +00:00
} ,
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 08:48:16 +00:00
} ,
2024-02-08 01:08:01 +00:00
"description" : "When servers are offline (or don't respond) it can make the global count drop suddenly." ,
2024-01-03 08:48:16 +00:00
"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 ,
2024-02-08 01:08:01 +00:00
"lineInterpolation" : "smooth" ,
"lineWidth" : 2 ,
2024-01-04 07:44:44 +00:00
"pointSize" : 1 ,
2024-01-03 08:48:16 +00:00
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
2024-01-04 07:44:44 +00:00
"spanNulls" : true ,
2024-01-03 08:48:16 +00:00
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"displayName" : "${__field.labels.name}" ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "locale"
} ,
2024-01-04 07:44:44 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "totalPlayerCombind"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Total players across all servers"
} ,
{
"id" : "mappings" ,
"value" : [ ]
} ,
{
"id" : "color" ,
"value" : {
"fixedColor" : "#ffffff" ,
"mode" : "fixed"
}
}
]
}
]
2024-01-03 08:48:16 +00:00
} ,
"gridPos" : {
"h" : 10 ,
2024-02-08 01:08:01 +00:00
"w" : 14 ,
2024-01-03 08:48:16 +00:00
"x" : 4 ,
"y" : 1
} ,
"id" : 1 ,
"options" : {
"legend" : {
2024-02-08 01:08:01 +00:00
"calcs" : [
"max" ,
"mean" ,
"last"
] ,
2024-01-03 08:48:16 +00:00
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true ,
2024-01-03 10:39:14 +00:00
"sortBy" : "Last" ,
2024-01-03 08:48:16 +00:00
"sortDesc" : true
} ,
"tooltip" : {
2024-01-03 10:39:14 +00:00
"mode" : "multi" ,
2024-01-04 07:44:44 +00:00
"sort" : "desc"
2024-01-03 08:48:16 +00:00
}
} ,
"targets" : [
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 08:48:16 +00:00
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> aggregateWindow(every: ${global_interval}, fn: mean, createEmpty: false)\r\n |> yield(name: \"mean\")" ,
2024-01-03 08:48:16 +00:00
"refId" : "A"
2024-01-04 07:44:44 +00:00
} ,
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
"hide" : false ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> aggregateWindow(every: ${global_interval}, fn: mean, createEmpty: false)\r\n |> group(columns: [\"_measurement\"]) // Group by measurement to get a single result per measurement\r\n |> aggregateWindow(every: ${global_interval}, fn: sum, createEmpty: false)\r\n |> map(fn: (r) => ({ _time: r._time, totalPlayerCombind: r._value })) // Retain time and rename the column\r\n |> yield(name: \"totalPlayerCombind\")\r\n" ,
2024-01-04 07:44:44 +00:00
"refId" : "B"
2024-01-03 08:48:16 +00:00
}
] ,
2024-02-08 01:08:01 +00:00
"title" : "Global Server Player Count (${global_interval} avg)" ,
2024-01-03 08:48:16 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "influxdb" ,
2024-02-08 01:08:01 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "semi-dark-blue" ,
"mode" : "fixed"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "locale"
} ,
"overrides" : [ ]
2024-01-03 08:48:16 +00:00
} ,
"gridPos" : {
2024-02-08 01:08:01 +00:00
"h" : 4 ,
"w" : 6 ,
"x" : 18 ,
2024-01-03 08:48:16 +00:00
"y" : 1
} ,
2024-02-08 01:08:01 +00:00
"id" : 5 ,
2024-01-03 08:48:16 +00:00
"options" : {
2024-02-08 01:08:01 +00:00
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2024-01-03 08:48:16 +00:00
} ,
2024-02-08 01:08:01 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2024-01-03 08:48:16 +00:00
} ,
2024-01-04 07:44:44 +00:00
"pluginVersion" : "10.2.3" ,
2024-02-08 01:08:01 +00:00
"targets" : [
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: -1h)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> last()\r\n |> map(fn: (r) => ({_value: r._value}))\r\n |> group(columns: [])\r\n |> sum()\r\n" ,
2024-02-08 01:08:01 +00:00
"refId" : "A"
}
] ,
"title" : "Total Players Online (now)" ,
"type" : "stat"
2024-01-03 08:48:16 +00:00
} ,
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 08:48:16 +00:00
} ,
2024-02-09 10:08:45 +00:00
"description" : "The total count of tracked servers in the last month" ,
2024-01-03 08:48:16 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
2024-02-08 01:08:01 +00:00
"fixedColor" : "semi-dark-blue" ,
"mode" : "fixed"
2024-01-03 08:48:16 +00:00
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "locale"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2024-01-04 07:44:44 +00:00
"h" : 3 ,
2024-02-08 01:08:01 +00:00
"w" : 3 ,
"x" : 18 ,
2024-01-04 07:44:44 +00:00
"y" : 5
2024-01-03 08:48:16 +00:00
} ,
"id" : 6 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
2024-02-08 01:08:01 +00:00
"calcs" : [
"lastNotNull"
] ,
2024-01-03 08:48:16 +00:00
"fields" : "" ,
"values" : false
} ,
2024-01-04 07:44:44 +00:00
"textMode" : "auto" ,
"wideLayout" : true
2024-01-03 08:48:16 +00:00
} ,
2024-01-04 07:44:44 +00:00
"pluginVersion" : "10.2.3" ,
2024-01-03 08:48:16 +00:00
"targets" : [
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 08:48:16 +00:00
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: -1mo)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> distinct(column: \"ip\")\r\n |> group()\r\n |> count()" ,
2024-01-03 08:48:16 +00:00
"refId" : "A"
}
] ,
"title" : "Total Tracked Servers" ,
"type" : "stat"
} ,
2024-01-04 07:44:44 +00:00
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
2024-02-09 10:08:45 +00:00
"description" : "The total amount of times servers were pinged for their status" ,
2024-01-04 07:44:44 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
2024-02-08 01:08:01 +00:00
"fixedColor" : "semi-dark-blue" ,
"mode" : "fixed"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "locale"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
"w" : 3 ,
"x" : 21 ,
"y" : 5
} ,
"id" : 312 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.2.3" ,
"targets" : [
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: 0)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> group(columns:[\"_measurement\"])\r\n |> count()\r\n" ,
2024-02-08 01:08:01 +00:00
"refId" : "A"
}
] ,
"title" : "Total Pings" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "blue" ,
"mode" : "fixed"
2024-01-04 07:44:44 +00:00
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
2024-02-08 01:08:01 +00:00
"w" : 6 ,
"x" : 18 ,
2024-01-04 07:44:44 +00:00
"y" : 8
} ,
"id" : 40 ,
"interval" : "1d" ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
2024-02-08 01:08:01 +00:00
"calcs" : [
"lastNotNull"
] ,
2024-01-04 07:44:44 +00:00
"fields" : "/^_time$/" ,
"values" : false
} ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.2.3" ,
"targets" : [
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> group(columns: [\"_measurement\"]) // Group by server\r\n |> last(column: \"_time\") // Get the latest timestamp for each server\r\n |> group(columns: [\"_measurement\"]) // Group again to get each series\r\n |> last() // Get the last value with that timestamp for each server\r\n" ,
2024-01-04 07:44:44 +00:00
"refId" : "A"
}
] ,
"title" : "Last Server Ping" ,
"type" : "stat"
} ,
2024-01-03 08:48:16 +00:00
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 11
} ,
2024-01-04 07:44:44 +00:00
"id" : 59 ,
"panels" : [ ] ,
2024-02-08 01:08:01 +00:00
"title" : "Players Online Now" ,
2024-01-04 07:44:44 +00:00
"type" : "row"
} ,
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2024-02-08 01:08:01 +00:00
"fixedColor" : "semi-dark-blue" ,
"mode" : "fixed"
2024-01-04 07:44:44 +00:00
} ,
"decimals" : 0 ,
"fieldMinMax" : false ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
}
]
} ,
"unit" : "locale"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 4 ,
2024-02-08 01:08:01 +00:00
"w" : 3 ,
2024-01-04 07:44:44 +00:00
"x" : 0 ,
"y" : 12
} ,
"id" : 58 ,
2024-02-08 01:08:01 +00:00
"maxPerRow" : 8 ,
2024-01-04 07:44:44 +00:00
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
2024-02-08 01:08:01 +00:00
"calcs" : [
"lastNotNull"
] ,
2024-01-04 07:44:44 +00:00
"fields" : "" ,
"limit" : 1 ,
"values" : false
} ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "10.2.3" ,
"repeat" : "server" ,
"repeatDirection" : "h" ,
"targets" : [
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: -6h)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"name\"] == \"${server}\")\r\n |> last()\r\n" ,
2024-01-04 07:44:44 +00:00
"refId" : "Player Count"
}
] ,
2024-02-08 01:08:01 +00:00
"title" : "${server}" ,
2024-01-04 07:44:44 +00:00
"type" : "stat"
} ,
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 24
} ,
2024-01-03 08:48:16 +00:00
"id" : 3 ,
"panels" : [ ] ,
2024-02-08 01:08:01 +00:00
"title" : "Server Stats" ,
2024-01-03 08:48:16 +00:00
"type" : "row"
} ,
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 08:48:16 +00:00
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2024-02-08 01:08:01 +00:00
"fixedColor" : "semi-dark-blue" ,
"mode" : "fixed"
2024-01-03 08:48:16 +00:00
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
2024-01-03 10:39:14 +00:00
"fillOpacity" : 15 ,
2024-02-08 01:08:01 +00:00
"gradientMode" : "hue" ,
2024-01-03 08:48:16 +00:00
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
2024-01-03 10:39:14 +00:00
"lineStyle" : {
"fill" : "solid"
} ,
2024-02-08 01:08:01 +00:00
"lineWidth" : 2 ,
2024-01-03 08:48:16 +00:00
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
2024-01-04 07:44:44 +00:00
"showPoints" : "never" ,
"spanNulls" : 300000 ,
2024-01-03 08:48:16 +00:00
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
2024-01-04 07:44:44 +00:00
"fieldMinMax" : false ,
2024-01-03 08:48:16 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2024-02-08 01:08:01 +00:00
"color" : "blue" ,
2024-01-03 08:48:16 +00:00
"value" : null
}
]
} ,
"unit" : "locale"
} ,
2024-01-03 10:39:14 +00:00
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
2024-02-08 01:08:01 +00:00
"options" : "1dayAvg"
2024-01-03 10:39:14 +00:00
} ,
"properties" : [
{
"id" : "displayName" ,
2024-02-09 10:08:45 +00:00
"value" : "Players Online (${server_player_count_avg_interval} Avg)"
2024-01-03 10:39:14 +00:00
} ,
{
"id" : "custom.pointSize" ,
"value" : 10
} ,
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : true ,
"tooltip" : false ,
"viz" : false
}
} ,
{
"id" : "custom.showPoints" ,
"value" : "always"
2024-02-08 01:08:01 +00:00
} ,
{
"id" : "color" ,
"value" : {
"fixedColor" : "dark-purple" ,
"mode" : "fixed"
}
2024-01-03 10:39:14 +00:00
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
2024-02-08 01:08:01 +00:00
"options" : "playerCount"
2024-01-03 10:39:14 +00:00
} ,
"properties" : [
{
"id" : "displayName" ,
2024-02-08 01:08:01 +00:00
"value" : "Players Online"
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "highestPlayerCount"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Peak Player Count (All Time)"
} ,
{
"id" : "custom.pointSize" ,
"value" : 10
} ,
{
"id" : "custom.showPoints" ,
"value" : "always"
2024-01-03 10:39:14 +00:00
} ,
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : true ,
"tooltip" : false ,
"viz" : false
}
} ,
2024-02-08 01:08:01 +00:00
{
"id" : "color" ,
"value" : {
"fixedColor" : "light-blue" ,
"mode" : "fixed"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 8 ,
"x" : 0 ,
"y" : 25
} ,
"id" : 4 ,
"maxPerRow" : 3 ,
"options" : {
"legend" : {
"calcs" : [
"max" ,
"min" ,
"mean"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"repeat" : "server" ,
"repeatDirection" : "h" ,
"targets" : [
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"name\"] == \"${server}\")\r\n |> aggregateWindow(every: ${server_interval}, fn: mean, createEmpty: true)\r\n |> yield(name: \"mean\")" ,
2024-02-08 01:08:01 +00:00
"refId" : "Player Count"
} ,
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
"hide" : false ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"name\"] == \"${server}\")\r\n |> aggregateWindow(every: ${server_player_count_avg_interval}, fn: mean, createEmpty: true)\r\n |> map(fn: (r) => ({_time: r._time, \"1dayAvg\": r._value}))\r\n |> yield(name: \"1dayAvg\")\r\n" ,
"refId" : "Player Count (Interval Avg)"
2024-02-08 01:08:01 +00:00
} ,
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
"hide" : false ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: 0)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"name\"] == \"${server}\")\r\n |> map(fn: (r) => ({r with _value: r._value, _field: \"highestPlayerCount\"}))\r\n |> max()" ,
2024-02-08 01:08:01 +00:00
"refId" : "Player Count Peak (All time)"
}
] ,
"title" : "Player Count (${server}, ${server_interval} avg)" ,
"type" : "timeseries"
} ,
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 97
} ,
"id" : 98 ,
"panels" : [ ] ,
"repeat" : "server" ,
"repeatDirection" : "h" ,
"title" : "Statistics for ${server}" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "semi-dark-blue" ,
"mode" : "fixed"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 15 ,
"gradientMode" : "hue" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineStyle" : {
"fill" : "solid"
} ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : 300000 ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"fieldMinMax" : false ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "blue" ,
"value" : null
}
]
} ,
"unit" : "locale"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "1dayAvg"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Players Online (1 Day Avg)"
} ,
2024-01-03 10:39:14 +00:00
{
"id" : "custom.pointSize" ,
"value" : 10
} ,
2024-02-08 01:08:01 +00:00
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : true ,
"tooltip" : false ,
"viz" : false
}
} ,
2024-01-03 10:39:14 +00:00
{
"id" : "custom.showPoints" ,
"value" : "always"
2024-02-08 01:08:01 +00:00
} ,
{
"id" : "color" ,
"value" : {
"fixedColor" : "dark-purple" ,
"mode" : "fixed"
}
2024-01-03 10:39:14 +00:00
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "playerCount"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Players Online"
}
]
} ,
{
"matcher" : {
"id" : "byName" ,
"options" : "highestPlayerCount"
} ,
"properties" : [
{
"id" : "displayName" ,
"value" : "Peak Player Count (All Time)"
} ,
{
"id" : "custom.pointSize" ,
"value" : 10
} ,
{
"id" : "custom.showPoints" ,
"value" : "always"
} ,
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : true ,
"tooltip" : false ,
"viz" : false
}
2024-02-08 01:08:01 +00:00
} ,
{
"id" : "color" ,
"value" : {
"fixedColor" : "light-blue" ,
"mode" : "fixed"
}
2024-01-03 10:39:14 +00:00
}
]
}
]
2024-01-03 08:48:16 +00:00
} ,
"gridPos" : {
2024-02-08 01:08:01 +00:00
"h" : 9 ,
2024-01-03 08:48:16 +00:00
"w" : 8 ,
"x" : 0 ,
2024-02-08 01:08:01 +00:00
"y" : 98
2024-01-03 08:48:16 +00:00
} ,
2024-02-08 01:08:01 +00:00
"id" : 138 ,
2024-01-03 08:48:16 +00:00
"options" : {
"legend" : {
2024-02-08 01:08:01 +00:00
"calcs" : [
"max" ,
"min" ,
"mean"
] ,
2024-01-03 08:48:16 +00:00
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
2024-01-03 10:39:14 +00:00
"mode" : "multi" ,
2024-01-04 07:44:44 +00:00
"sort" : "desc"
2024-01-03 08:48:16 +00:00
}
} ,
"targets" : [
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 08:48:16 +00:00
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"name\"] == \"${server}\")\r\n |> aggregateWindow(every: ${server_interval}, fn: mean, createEmpty: true)\r\n |> yield(name: \"mean\")" ,
2024-01-04 07:44:44 +00:00
"refId" : "Player Count"
2024-01-03 10:39:14 +00:00
} ,
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 10:39:14 +00:00
} ,
2024-02-08 01:08:01 +00:00
"hide" : false ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"name\"] == \"${server}\")\r\n |> aggregateWindow(every: 1d, fn: mean, createEmpty: true)\r\n |> map(fn: (r) => ({_time: r._time, \"1dayAvg\": r._value}))\r\n |> yield(name: \"1dayAvg\")\r\n" ,
2024-02-08 01:08:01 +00:00
"refId" : "Player Count (1 Day Avg)"
2024-01-03 10:39:14 +00:00
} ,
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 10:39:14 +00:00
} ,
2024-02-08 01:08:01 +00:00
"hide" : false ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: 0)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"name\"] == \"${server}\")\r\n |> map(fn: (r) => ({r with _value: r._value, _field: \"highestPlayerCount\"}))\r\n |> max()" ,
2024-02-08 01:08:01 +00:00
"refId" : "Player Count Peak (All time)"
}
] ,
"title" : "Player Count (${server_interval} avg)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "influxdb" ,
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "semi-dark-blue" ,
"mode" : "fixed"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 15 ,
"gradientMode" : "hue" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineStyle" : {
"fill" : "solid"
} ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : 300000 ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"decimals" : 0 ,
"displayName" : "Latency" ,
"fieldMinMax" : false ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "blue" ,
"value" : null
}
]
} ,
"unit" : "ms"
2024-01-03 10:39:14 +00:00
} ,
2024-02-08 01:08:01 +00:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 8 ,
"x" : 8 ,
"y" : 98
} ,
"id" : 196 ,
"options" : {
"legend" : {
"calcs" : [
"max" ,
"min" ,
"mean"
] ,
"displayMode" : "table" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "desc"
}
} ,
"targets" : [
2024-01-03 10:39:14 +00:00
{
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 10:39:14 +00:00
} ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"latency\")\r\n |> filter(fn: (r) => r[\"name\"] == \"${server}\")\r\n |> aggregateWindow(every: ${server_interval}, fn: mean, createEmpty: true)\r\n |> yield(name: \"mean\")" ,
2024-02-08 01:08:01 +00:00
"refId" : "Player Count"
2024-01-03 08:48:16 +00:00
}
] ,
2024-02-08 01:08:01 +00:00
"title" : "Latency/Ping (${server_interval} avg)" ,
2024-01-03 08:48:16 +00:00
"type" : "timeseries"
}
] ,
2024-02-08 01:08:01 +00:00
"refresh" : "1m" ,
2024-01-04 07:44:44 +00:00
"schemaVersion" : 39 ,
2024-01-03 08:48:16 +00:00
"tags" : [ ] ,
"templating" : {
"list" : [
2024-02-09 10:08:45 +00:00
{
"current" : {
"selected" : false ,
"text" : "mc-tracker" ,
"value" : "mc-tracker"
} ,
"hide" : 2 ,
"label" : "Influx Bucket" ,
"name" : "influx_bucket" ,
"options" : [
{
"selected" : true ,
"text" : "mc-tracker" ,
"value" : "mc-tracker"
}
] ,
"query" : "mc-tracker" ,
"skipUrlSync" : false ,
"type" : "textbox"
} ,
2024-01-03 08:48:16 +00:00
{
"current" : {
"selected" : true ,
2024-02-08 01:08:01 +00:00
"text" : [
"All"
] ,
"value" : [
"$__all"
]
2024-01-03 08:48:16 +00:00
} ,
"datasource" : {
"type" : "influxdb" ,
2024-01-04 07:44:44 +00:00
"uid" : "a123f480-c065-4aa4-841e-6d00b4c98e2a"
2024-01-03 08:48:16 +00:00
} ,
2024-02-09 10:08:45 +00:00
"definition" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> group()\r\n |> distinct(column: \"name\")\r\n" ,
2024-02-08 01:08:01 +00:00
"hide" : 0 ,
2024-01-03 08:48:16 +00:00
"includeAll" : true ,
2024-02-08 01:08:01 +00:00
"label" : "Server" ,
2024-01-03 08:48:16 +00:00
"multi" : true ,
"name" : "server" ,
"options" : [ ] ,
2024-02-09 10:08:45 +00:00
"query" : "from(bucket: \"${influx_bucket}\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"playerCount\")\r\n |> group()\r\n |> distinct(column: \"name\")\r\n" ,
2024-02-08 01:08:01 +00:00
"refresh" : 2 ,
2024-01-03 08:48:16 +00:00
"regex" : "" ,
"skipUrlSync" : false ,
2024-02-08 01:08:01 +00:00
"sort" : 1 ,
2024-01-03 08:48:16 +00:00
"type" : "query"
2024-02-08 01:08:01 +00:00
} ,
{
"auto" : true ,
"auto_count" : 500 ,
"auto_min" : "1h" ,
"current" : {
"selected" : false ,
"text" : "auto" ,
"value" : "$__auto_interval_global_interval"
} ,
"hide" : 0 ,
"label" : "Global Interval" ,
"name" : "global_interval" ,
"options" : [
{
"selected" : true ,
"text" : "auto" ,
"value" : "$__auto_interval_global_interval"
} ,
{
"selected" : false ,
"text" : "1h" ,
"value" : "1h"
} ,
{
"selected" : false ,
"text" : "6h" ,
"value" : "6h"
} ,
{
"selected" : false ,
"text" : "1d" ,
"value" : "1d"
} ,
{
"selected" : false ,
"text" : "7d" ,
"value" : "7d"
}
] ,
"query" : "1h,6h,1d,7d" ,
"queryValue" : "" ,
"refresh" : 2 ,
"skipUrlSync" : false ,
"type" : "interval"
} ,
{
"auto" : true ,
"auto_count" : 500 ,
"auto_min" : "1m" ,
"current" : {
"selected" : false ,
"text" : "auto" ,
"value" : "$__auto_interval_server_interval"
} ,
"hide" : 0 ,
"label" : "Server Interval" ,
"name" : "server_interval" ,
"options" : [
{
"selected" : true ,
"text" : "auto" ,
"value" : "$__auto_interval_server_interval"
} ,
{
"selected" : false ,
"text" : "1m" ,
"value" : "1m"
} ,
{
"selected" : false ,
"text" : "5m" ,
"value" : "5m"
} ,
{
"selected" : false ,
"text" : "10m" ,
"value" : "10m"
} ,
{
"selected" : false ,
"text" : "30m" ,
"value" : "30m"
} ,
{
"selected" : false ,
"text" : "1h" ,
"value" : "1h"
} ,
{
"selected" : false ,
"text" : "1d" ,
"value" : "1d"
} ,
{
"selected" : false ,
"text" : "7d" ,
"value" : "7d"
}
] ,
"query" : "1m,5m,10m,30m,1h,1d,7d" ,
"queryValue" : "" ,
"refresh" : 2 ,
"skipUrlSync" : false ,
"type" : "interval"
2024-02-09 10:08:45 +00:00
} ,
{
"auto" : false ,
"auto_count" : 30 ,
"auto_min" : "10s" ,
"current" : {
"selected" : false ,
"text" : "1d" ,
"value" : "1d"
} ,
"description" : "The interval that is used in per server metrics for the average player count" ,
"hide" : 0 ,
"label" : "Player Count Avg Interval" ,
"name" : "server_player_count_avg_interval" ,
"options" : [
{
"selected" : true ,
"text" : "1d" ,
"value" : "1d"
} ,
{
"selected" : false ,
"text" : "7d" ,
"value" : "7d"
}
] ,
"query" : "1d,7d" ,
"queryValue" : "" ,
"refresh" : 2 ,
"skipUrlSync" : false ,
"type" : "interval"
2024-01-03 08:48:16 +00:00
}
]
} ,
"time" : {
2024-02-08 01:08:01 +00:00
"from" : "now-30d" ,
2024-01-03 08:48:16 +00:00
"to" : "now"
} ,
2024-02-09 10:08:45 +00:00
"timepicker" : {
"refresh_intervals" : [
"5s" ,
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m"
]
} ,
2024-01-03 08:48:16 +00:00
"timezone" : "" ,
2024-01-04 07:44:44 +00:00
"title" : "Server Tracker" ,
"uid" : "c4d923ad" ,
2024-02-09 10:08:45 +00:00
"version" : 111 ,
2024-01-03 08:48:16 +00:00
"weekStart" : ""
2024-02-08 01:08:01 +00:00
}