mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 06:22:51 +01:00
2746 lines
71 KiB
JSON
2746 lines
71 KiB
JSON
|
{
|
||
|
"annotations": {
|
||
|
"list": [
|
||
|
{
|
||
|
"builtIn": 1,
|
||
|
"datasource": {
|
||
|
"type": "grafana",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"enable": true,
|
||
|
"hide": true,
|
||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||
|
"name": "Annotations & Alerts",
|
||
|
"type": "dashboard"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"editable": true,
|
||
|
"fiscalYearStartMonth": 0,
|
||
|
"graphTooltip": 0,
|
||
|
"id": 4,
|
||
|
"links": [],
|
||
|
"liveNow": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"collapsed": false,
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 11,
|
||
|
"panels": [],
|
||
|
"title": "General",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The memory usage of the process (in kilobytes on Unix-based systems, bytes on MacOS)",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineStyle": {
|
||
|
"fill": "solid"
|
||
|
},
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "deckbytes"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 1
|
||
|
},
|
||
|
"id": 8,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_memory_rss{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Memory Usage",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "CPU time in % of a single core (not % of all cores)",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "percent"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 1
|
||
|
},
|
||
|
"id": 12,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_cpu_average{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "CPU Average Utilization (Single Core)",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The current time, represented as the number of seconds since the epoch",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 9
|
||
|
},
|
||
|
"id": 13,
|
||
|
"options": {
|
||
|
"colorMode": "value",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showPercentChange": false,
|
||
|
"textMode": "auto",
|
||
|
"wideLayout": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.1",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_timestamp{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Time Since Epoch ",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of seconds since the homeserver was last started",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "s"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 9
|
||
|
},
|
||
|
"id": 14,
|
||
|
"options": {
|
||
|
"colorMode": "value",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showPercentChange": false,
|
||
|
"textMode": "auto",
|
||
|
"wideLayout": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.1",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_uptime_seconds{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Uptime",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of registered users on the homeserver",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 17
|
||
|
},
|
||
|
"id": 17,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"pluginVersion": "10.4.1",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_total_users{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_total_users{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Total Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of users, excluding those created by an Application Service",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 17
|
||
|
},
|
||
|
"id": 18,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_total_nonbridged_users{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_total_nonbridged_users{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Total Non-bridged Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The total number of rooms present on the homeserver",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 25
|
||
|
},
|
||
|
"id": 19,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_total_room_count{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_total_room_count{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Total Rooms",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The configured global factor value for caching",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 25
|
||
|
},
|
||
|
"id": 15,
|
||
|
"options": {
|
||
|
"colorMode": "value",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showPercentChange": false,
|
||
|
"textMode": "auto",
|
||
|
"wideLayout": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.1",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_cache_factor{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Cache Factor",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The configured event_cache_size value for caching",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "bytes"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 33
|
||
|
},
|
||
|
"id": 16,
|
||
|
"options": {
|
||
|
"colorMode": "value",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showPercentChange": false,
|
||
|
"textMode": "auto",
|
||
|
"wideLayout": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.1",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_event_cache_size{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Event Cache Size",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"collapsed": false,
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 41
|
||
|
},
|
||
|
"id": 10,
|
||
|
"panels": [],
|
||
|
"title": "Daily",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of native users created in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 42
|
||
|
},
|
||
|
"id": 20,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_user_type_native{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_user_type_native{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Registered Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of guest users created in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 42
|
||
|
},
|
||
|
"id": 21,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_user_type_guest{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_user_type_guest{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Registered Guest Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of users created by Application Services in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 50
|
||
|
},
|
||
|
"id": 22,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_user_type_bridged{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_user_type_bridged{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Registered Bridged Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of unique users that have used the homeserver in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 50
|
||
|
},
|
||
|
"id": 23,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_active_users{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_active_users{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Active Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of rooms that have had a (state) event with the type m.room.message sent in them in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 58
|
||
|
},
|
||
|
"id": 25,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_active_rooms{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_active_rooms{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Active Rooms",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of rooms that have had a (state) event with the type m.room.encrypted sent in them in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 58
|
||
|
},
|
||
|
"id": 26,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_active_e2ee_rooms{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_active_e2ee_rooms{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Active E2EE Rooms",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of (state) events with the type m.room.message seen in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 66
|
||
|
},
|
||
|
"id": 27,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_messages{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_messages{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Messages",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of (state) events sent by a local user with the type m.room.encrypted seen in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 66
|
||
|
},
|
||
|
"id": 28,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_e2ee_messages{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_e2ee_messages{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily E2EE Messages",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of (state) events sent by a local user with the type m.room.message seen in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 74
|
||
|
},
|
||
|
"id": 29,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_sent_messages{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_sent_messages{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Sent Messages",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of (state) events sent by a local user with the type m.room.encrypted seen in the last 24 hours",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 74
|
||
|
},
|
||
|
"id": 30,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_daily_sent_e2ee_messages{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_daily_sent_e2ee_messages{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Daily Sent E2EE Messages",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 82
|
||
|
},
|
||
|
"id": 9,
|
||
|
"title": "Monthly",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of unique users that have used the homeserver in the last 30 days",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 83
|
||
|
},
|
||
|
"id": 24,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_monthly_active_users{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_monthly_active_users{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Monthly Active Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of 30 day retained users, with a revised algorithm. Defined as users that appear more than once in the past 60 days, and have more than 30 days between the most and least recent appearances in the past 60 days. Includes clients that do not fit into the below r30 client types",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 83
|
||
|
},
|
||
|
"id": 31,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_r30v2_users_all{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_r30v2_users_all{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Monthly Retained Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of 30 day retained users, as defined above. Filtered only to clients with (\"riot\" or \"element\") and \"android\" (case-insensitive) in the user agent string",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 91
|
||
|
},
|
||
|
"id": 32,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_r30v2_users_android{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_r30v2_users_android{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Monthly Retained Android Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of 30 day retained users, as defined above. Filtered only to clients with (\"riot\" or \"element\") and \"ios\" (case-insensitive) in the user agent string",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 91
|
||
|
},
|
||
|
"id": 33,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_r30v2_users_ios{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_r30v2_users_ios{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Monthly Retained iOS Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of 30 day retained users, as defined above. Filtered only to clients with (\"riot\" or \"element\") and \"electron\" (case-insensitive) in the user agent string",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 99
|
||
|
},
|
||
|
"id": 34,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_r30v2_users_electron{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_r30v2_users_electron{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Monthly Retained Electron Users",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "The number of 30 day retained users, as defined above. Filtered only to clients with \"mozilla\" or \"gecko\" (case-insensitive) in the user agent string",
|
||
|
"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": 21600000,
|
||
|
"lineInterpolation": "linear",
|
||
|
"lineWidth": 1,
|
||
|
"pointSize": 5,
|
||
|
"scaleDistribution": {
|
||
|
"type": "linear"
|
||
|
},
|
||
|
"showPoints": "auto",
|
||
|
"spanNulls": false,
|
||
|
"stacking": {
|
||
|
"group": "A",
|
||
|
"mode": "none"
|
||
|
},
|
||
|
"thresholdsStyle": {
|
||
|
"mode": "off"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 99
|
||
|
},
|
||
|
"id": 35,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "single",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "synapse_usage_r30v2_users_web{homeserver=~\"$homeserver\"}",
|
||
|
"fullMetaSearch": false,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "{{homeserver}}",
|
||
|
"range": true,
|
||
|
"refId": "A",
|
||
|
"useBackend": false
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"disableTextWrap": false,
|
||
|
"editorMode": "builder",
|
||
|
"expr": "sum(synapse_usage_r30v2_users_web{homeserver=~\"$homeserver\"})",
|
||
|
"fullMetaSearch": false,
|
||
|
"hide": true,
|
||
|
"includeNullMetadata": true,
|
||
|
"instant": false,
|
||
|
"legendFormat": "Total",
|
||
|
"range": true,
|
||
|
"refId": "B",
|
||
|
"useBackend": false
|
||
|
}
|
||
|
],
|
||
|
"title": "Monthly Retained Web Users",
|
||
|
"type": "timeseries"
|
||
|
}
|
||
|
],
|
||
|
"refresh": "1d",
|
||
|
"schemaVersion": 39,
|
||
|
"tags": [
|
||
|
"matrix"
|
||
|
],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"current": {},
|
||
|
"hide": 0,
|
||
|
"includeAll": false,
|
||
|
"label": "Datasource",
|
||
|
"multi": false,
|
||
|
"name": "DS_PROMETHEUS",
|
||
|
"options": [],
|
||
|
"query": "prometheus",
|
||
|
"queryValue": "",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"skipUrlSync": false,
|
||
|
"type": "datasource"
|
||
|
},
|
||
|
{
|
||
|
"allFormat": "regex wildcard",
|
||
|
"allValue": "",
|
||
|
"current": {},
|
||
|
"datasource": {
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"definition": "",
|
||
|
"hide": 0,
|
||
|
"includeAll": false,
|
||
|
"label": "Homeserver",
|
||
|
"multi": true,
|
||
|
"multiFormat": "regex values",
|
||
|
"name": "homeserver",
|
||
|
"options": [],
|
||
|
"query": {
|
||
|
"qryType": 1,
|
||
|
"query": "label_values(synapse_usage_timestamp,homeserver)",
|
||
|
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
||
|
},
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 0,
|
||
|
"type": "query"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-24h",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {},
|
||
|
"timezone": "",
|
||
|
"title": "Homeserver Statistics",
|
||
|
"uid": "c84624d7-3935-4470-83c0-c10d1cee35ff",
|
||
|
"version": 2,
|
||
|
"weekStart": ""
|
||
|
}
|