4507 lines
102 KiB
JSON
4507 lines
102 KiB
JSON
|
{% raw %}
|
||
|
{
|
||
|
"__inputs": [
|
||
|
{
|
||
|
"name": "DS_PROMETHEUS",
|
||
|
"label": "Prometheus",
|
||
|
"description": "",
|
||
|
"type": "datasource",
|
||
|
"pluginId": "prometheus",
|
||
|
"pluginName": "Prometheus"
|
||
|
}
|
||
|
],
|
||
|
"__elements": {},
|
||
|
"__requires": [
|
||
|
{
|
||
|
"type": "grafana",
|
||
|
"id": "grafana",
|
||
|
"name": "Grafana",
|
||
|
"version": "10.0.3"
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "graph",
|
||
|
"name": "Graph (old)",
|
||
|
"version": ""
|
||
|
},
|
||
|
{
|
||
|
"type": "datasource",
|
||
|
"id": "prometheus",
|
||
|
"name": "Prometheus",
|
||
|
"version": "1.0.0"
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "stat",
|
||
|
"name": "Stat",
|
||
|
"version": ""
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "table-old",
|
||
|
"name": "Table (old)",
|
||
|
"version": ""
|
||
|
}
|
||
|
],
|
||
|
"annotations": {
|
||
|
"list": [
|
||
|
{
|
||
|
"builtIn": 1,
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"enable": true,
|
||
|
"hide": true,
|
||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||
|
"name": "Annotations & Alerts",
|
||
|
"target": {
|
||
|
"limit": 100,
|
||
|
"matchAny": false,
|
||
|
"tags": [],
|
||
|
"type": "dashboard"
|
||
|
},
|
||
|
"type": "dashboard"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"description": "Monitor metrics for node.js and express router status.",
|
||
|
"editable": true,
|
||
|
"fiscalYearStartMonth": 0,
|
||
|
"gnetId": 12230,
|
||
|
"graphTooltip": 0,
|
||
|
"id": null,
|
||
|
"links": [],
|
||
|
"liveNow": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "#C4162A",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "rgba(237, 129, 40, 0.89)",
|
||
|
"value": 70
|
||
|
},
|
||
|
{
|
||
|
"color": "#299c46",
|
||
|
"value": 90
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 6,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 51,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "background",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "(\n ( \n sum(http_request_duration_seconds_bucket{instance=~\"$instance\",le=\"$target\",code=~\"^2..$\"})\n + (\n sum(http_request_duration_seconds_bucket{instance=~\"$instance\",le=\"$tolerated\",code=~\"^2..$\"})\n - sum(http_request_duration_seconds_bucket{instance=~\"$instance\",le=\"$target\",code=~\"^2..$\"})\n ) / 2\n ) / sum(http_request_duration_seconds_count{instance=~\"$instance\",code=~\"^2..$\"})\n) * 100",
|
||
|
"legendFormat": "score",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Apdex Score: target $target s, tolerated $tolerated s",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "#299c46",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "rgba(237, 129, 40, 0.89)",
|
||
|
"value": 100
|
||
|
},
|
||
|
{
|
||
|
"color": "#C4162A",
|
||
|
"value": 200
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "short"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 2,
|
||
|
"x": 6,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 57,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "value",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(rate(http_request_duration_seconds_count{instance=~\"$instance\"}[$interval]))",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "QPS",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"fixedColor": "rgb(31, 120, 193)",
|
||
|
"mode": "fixed"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 4,
|
||
|
"x": 8,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 53,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(http_request_duration_seconds_count{instance=~\"$instance\"})",
|
||
|
"instant": false,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Requests",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "#299c46",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "rgba(237, 129, 40, 0.89)",
|
||
|
"value": 5
|
||
|
},
|
||
|
{
|
||
|
"color": "#C4162A",
|
||
|
"value": 10
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "percent"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 2,
|
||
|
"x": 12,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 63,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "background",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "(\n\tsum(\n\t\thttp_request_duration_seconds_count{instance=~\"$instance\",code=~\"^[45]..$\"} OR on() vector(0)\n\t) / \n\tsum(\n\t\thttp_request_duration_seconds_count{instance=~\"$instance\"}\n\t)\n)*100",
|
||
|
"legendFormat": "error %",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Error",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "bytes"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 4,
|
||
|
"x": 14,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 59,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(http_response_size_bytes_sum{instance=~\"$instance\"}) + sum(http_request_size_bytes_sum{instance=~\"$instance\"})",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Transferred",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"fixedColor": "rgb(31, 120, 193)",
|
||
|
"mode": "fixed"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "bytes"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 3,
|
||
|
"x": 18,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 70,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(rate(http_response_size_bytes_sum{instance=~\"$instance\"}[$interval])) + sum(rate(http_request_size_bytes_sum{instance=~\"$instance\"}[$interval]))",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Transfer Rate",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "#299c46",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "rgba(237, 129, 40, 0.89)",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"color": "#C4162A",
|
||
|
"value": 2
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 3,
|
||
|
"x": 21,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 61,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "background",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(changes(process_start_time_seconds{instance=~\"$instance\"}[$restarts_interval]))",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Restarts in $restarts_interval",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 3,
|
||
|
"x": 0,
|
||
|
"y": 2
|
||
|
},
|
||
|
"id": 115,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_notes{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Notes",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 3,
|
||
|
"x": 3,
|
||
|
"y": 2
|
||
|
},
|
||
|
"id": 117,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_registered_users{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Registered Users",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"fixedColor": "rgb(31, 120, 193)",
|
||
|
"mode": "fixed"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 3,
|
||
|
"x": 6,
|
||
|
"y": 2
|
||
|
},
|
||
|
"id": 119,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_online_notes{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Online Notes",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"fixedColor": "rgb(31, 120, 193)",
|
||
|
"mode": "fixed"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 3,
|
||
|
"x": 9,
|
||
|
"y": 2
|
||
|
},
|
||
|
"id": 121,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_online_users{instance=~\"$instance\",type=\"all\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Online Users",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"fixedColor": "rgb(31, 120, 193)",
|
||
|
"mode": "fixed"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 3,
|
||
|
"x": 12,
|
||
|
"y": 2
|
||
|
},
|
||
|
"id": 123,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "area",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "expressjs_number_of_open_connections{instance=~\"$instance\"}",
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Open Connections",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
},
|
||
|
{
|
||
|
"options": {
|
||
|
"from": 0,
|
||
|
"result": {
|
||
|
"text": "idle"
|
||
|
},
|
||
|
"to": 0
|
||
|
},
|
||
|
"type": "range"
|
||
|
},
|
||
|
{
|
||
|
"options": {
|
||
|
"from": 1,
|
||
|
"result": {
|
||
|
"text": "busy"
|
||
|
},
|
||
|
"to": 100
|
||
|
},
|
||
|
"type": "range"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "#299c46",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "#C4162A",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"color": "#C4162A",
|
||
|
"value": 2
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "none"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 3,
|
||
|
"x": 15,
|
||
|
"y": 2
|
||
|
},
|
||
|
"id": 125,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "background",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_connection_busy{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "busy",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Queue Lock",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "s"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 3,
|
||
|
"x": 18,
|
||
|
"y": 2
|
||
|
},
|
||
|
"id": 127,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "process_cpu_seconds_total{instance=~\"$instance\"}",
|
||
|
"legendFormat": "CPU",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "CPU Time",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [
|
||
|
{
|
||
|
"options": {
|
||
|
"match": "null",
|
||
|
"result": {
|
||
|
"text": "N/A"
|
||
|
}
|
||
|
},
|
||
|
"type": "special"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "s"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 3,
|
||
|
"x": 21,
|
||
|
"y": 2
|
||
|
},
|
||
|
"id": 129,
|
||
|
"links": [],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"textMode": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "sum(nodejs_gc_duration_seconds_sum{instance=~\"$instance\"})",
|
||
|
"interval": "",
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "GC Duration",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"collapsed": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PA49478280AD5D105"
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 5
|
||
|
},
|
||
|
"id": 87,
|
||
|
"panels": [],
|
||
|
"title": "Node.js Process",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 6
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 21,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_eventloop_lag_seconds{instance=~\"$instance\"}",
|
||
|
"hide": false,
|
||
|
"instant": false,
|
||
|
"legendFormat": "last",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_eventloop_lag_p99_seconds{instance=~\"$instance\"}",
|
||
|
"legendFormat": "p99",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_eventloop_lag_p50_seconds{instance=~\"$instance\"}",
|
||
|
"legendFormat": "p50",
|
||
|
"refId": "C"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Eventloop Latency",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 8,
|
||
|
"y": 6
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 42,
|
||
|
"legend": {
|
||
|
"avg": true,
|
||
|
"current": false,
|
||
|
"max": true,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "rate(process_cpu_seconds_total{instance=~\"$instance\"}[$interval])",
|
||
|
"legendFormat": "cpu",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Rate of CPU Time Spent",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 16,
|
||
|
"y": 6
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 82,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": true,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "process_virtual_memory_bytes{instance=~\"$instance\"}",
|
||
|
"legendFormat": "virtual memory",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "process_heap_bytes{instance=~\"$instance\"}",
|
||
|
"legendFormat": "heap memory",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Process Memory",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 11
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 77,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": true,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "expressjs_number_of_open_connections{instance=~\"$instance\"}",
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Number of Open Connections",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 8,
|
||
|
"y": 11
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 79,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "( process_open_fds{instance=~\"$instance\"} / process_max_fds{instance=~\"$instance\"})",
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Used File Descriptors",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "percentunit",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 16,
|
||
|
"y": 11
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 66,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": true,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_active_handles_total{instance=~\"$instance\"}",
|
||
|
"legendFormat": "Active Handler",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_active_requests_total{instance=~\"$instance\"}",
|
||
|
"legendFormat": "Active Request",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Active Handlers/Requests",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"collapsed": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PA49478280AD5D105"
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 16
|
||
|
},
|
||
|
"id": 40,
|
||
|
"panels": [],
|
||
|
"title": "Node.js Garbage Collection",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 17
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 43,
|
||
|
"legend": {
|
||
|
"avg": true,
|
||
|
"current": false,
|
||
|
"max": true,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "rate(nodejs_gc_duration_seconds_sum{instance=~\"$instance\"}[$interval])",
|
||
|
"legendFormat": "{{kind}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Rate of Garbage Collection Duration",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": "",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 17
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 38,
|
||
|
"legend": {
|
||
|
"avg": true,
|
||
|
"current": false,
|
||
|
"max": true,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "rate(nodejs_gc_duration_seconds_count{instance=~\"$instance\"}[$interval])",
|
||
|
"legendFormat": "{{kind}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Rate of Garbage Collection",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": "",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 22
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 46,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_gc_duration_seconds_sum{instance=~\"$instance\"}",
|
||
|
"legendFormat": "{{kind}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Garbage Collection Duration",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": "",
|
||
|
"logBase": 2,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 22
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 45,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_gc_duration_seconds_count{instance=~\"$instance\"}",
|
||
|
"legendFormat": "{{kind}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Garbage Collection Count",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": "",
|
||
|
"logBase": 2,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 27
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 34,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_heap_size_total_bytes{instance=~\"$instance\"}",
|
||
|
"legendFormat": "total",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_heap_size_used_bytes{instance=~\"$instance\"}",
|
||
|
"legendFormat": "used",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "process_resident_memory_bytes{instance=~\"$instance\"}",
|
||
|
"legendFormat": "resident",
|
||
|
"refId": "C"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_external_memory_bytes{instance=~\"$instance\"}",
|
||
|
"legendFormat": "external",
|
||
|
"refId": "D"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Heap Memory Usage",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 27
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 36,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": true,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "nodejs_heap_space_size_used_bytes{instance=~\"$instance\"}",
|
||
|
"legendFormat": "{{space}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Heap Space Used",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"collapsed": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PA49478280AD5D105"
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 32
|
||
|
},
|
||
|
"id": 26,
|
||
|
"panels": [],
|
||
|
"title": "Express Route",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 33
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 73,
|
||
|
"legend": {
|
||
|
"avg": true,
|
||
|
"current": true,
|
||
|
"max": true,
|
||
|
"min": true,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "(\n ( \n sum(http_request_duration_seconds_bucket{instance=~\"$instance\",le=\"$target\",code=~\"^2..$\"})\n + (\n sum(http_request_duration_seconds_bucket{instance=~\"$instance\",le=\"$tolerated\",code=~\"^2..$\"})\n - sum(http_request_duration_seconds_bucket{instance=~\"$instance\",le=\"$target\",code=~\"^2..$\"})\n ) / 2\n ) / sum(http_request_duration_seconds_count{instance=~\"$instance\",code=~\"^2..$\"})\n) * 100",
|
||
|
"legendFormat": "score",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Apdex Score: target $target s, tolerated $tolerated s",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 9,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 33
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 18,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"hideEmpty": true,
|
||
|
"hideZero": true,
|
||
|
"max": true,
|
||
|
"min": false,
|
||
|
"rightSide": true,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "connected",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "10.0.3",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{instance=~\"$instance\"}[$interval])) by (code,le))",
|
||
|
"legendFormat": "{{code}}(95%)",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "histogram_quantile(1, sum(rate(http_request_duration_seconds_bucket{instance=~\"$instance\"}[$interval])) by (code,le))",
|
||
|
"legendFormat": "{{code}}(100%)",
|
||
|
"refId": "E"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Response Latency",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 38
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 32,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": true,
|
||
|
"min": false,
|
||
|
"rightSide": true,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.5.13",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": true,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(rate(http_request_duration_seconds_count{instance=~\"$instance\"}[$interval])) by (code)",
|
||
|
"legendFormat": "{{code}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Requests Per Seconds",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 12,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 42
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 30,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": true,
|
||
|
"show": true,
|
||
|
"sort": "current",
|
||
|
"sortDesc": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.5.13",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(http_response_size_bytes_sum{instance=~\"$instance\"}) by (route)",
|
||
|
"legendFormat": "{{route}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Response Size",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"logBase": 2,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 43
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 44,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": true,
|
||
|
"show": true,
|
||
|
"sort": "current",
|
||
|
"sortDesc": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.5.13",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": true,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(http_request_duration_seconds_count{instance=~\"$instance\"}) by (code)",
|
||
|
"legendFormat": "{{code}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Code Count",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 48
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 64,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": false,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": true,
|
||
|
"show": true,
|
||
|
"sort": "current",
|
||
|
"sortDesc": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.5.13",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": true,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"expr": "sum(http_request_duration_seconds_count{instance=~\"$instance\"}) by (route)",
|
||
|
"legendFormat": "{{route}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Request Count",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"columns": [
|
||
|
{
|
||
|
"text": "Current",
|
||
|
"value": "current"
|
||
|
}
|
||
|
],
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"fontSize": "100%",
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 4,
|
||
|
"x": 0,
|
||
|
"y": 54
|
||
|
},
|
||
|
"id": 95,
|
||
|
"scroll": true,
|
||
|
"showHeader": true,
|
||
|
"sort": {
|
||
|
"col": 1,
|
||
|
"desc": true
|
||
|
},
|
||
|
"styles": [
|
||
|
{
|
||
|
"alias": "Time",
|
||
|
"align": "auto",
|
||
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||
|
"pattern": "Time",
|
||
|
"type": "date"
|
||
|
},
|
||
|
{
|
||
|
"alias": "",
|
||
|
"align": "auto",
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"pattern": "/.*/",
|
||
|
"thresholds": [],
|
||
|
"type": "number",
|
||
|
"unit": "s"
|
||
|
}
|
||
|
],
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"expr": "topk(5, sum by (route)(http_request_duration_seconds_sum{instance=~\"$instance\"}))",
|
||
|
"instant": true,
|
||
|
"legendFormat": "{{route}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Top 5 Request Duration",
|
||
|
"transform": "timeseries_aggregations",
|
||
|
"type": "table-old"
|
||
|
},
|
||
|
{
|
||
|
"columns": [
|
||
|
{
|
||
|
"text": "Current",
|
||
|
"value": "current"
|
||
|
}
|
||
|
],
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"fontSize": "100%",
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 4,
|
||
|
"x": 4,
|
||
|
"y": 54
|
||
|
},
|
||
|
"id": 89,
|
||
|
"scroll": true,
|
||
|
"showHeader": true,
|
||
|
"sort": {
|
||
|
"col": 1,
|
||
|
"desc": true
|
||
|
},
|
||
|
"styles": [
|
||
|
{
|
||
|
"alias": "Time",
|
||
|
"align": "auto",
|
||
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||
|
"pattern": "Time",
|
||
|
"type": "date"
|
||
|
},
|
||
|
{
|
||
|
"alias": "",
|
||
|
"align": "auto",
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"pattern": "/.*/",
|
||
|
"thresholds": [],
|
||
|
"type": "number",
|
||
|
"unit": "s"
|
||
|
}
|
||
|
],
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"expr": "topk(5, sum by (route)(http_request_duration_seconds_sum{instance=~\"$instance\",code=~\"^[23]..$\"}))",
|
||
|
"instant": true,
|
||
|
"legendFormat": "{{route}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Top 5 Success Duration",
|
||
|
"transform": "timeseries_aggregations",
|
||
|
"type": "table-old"
|
||
|
},
|
||
|
{
|
||
|
"columns": [
|
||
|
{
|
||
|
"text": "Current",
|
||
|
"value": "current"
|
||
|
}
|
||
|
],
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"fontSize": "100%",
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 4,
|
||
|
"x": 8,
|
||
|
"y": 54
|
||
|
},
|
||
|
"id": 93,
|
||
|
"scroll": true,
|
||
|
"showHeader": true,
|
||
|
"sort": {
|
||
|
"col": 1,
|
||
|
"desc": true
|
||
|
},
|
||
|
"styles": [
|
||
|
{
|
||
|
"alias": "Time",
|
||
|
"align": "auto",
|
||
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||
|
"pattern": "Time",
|
||
|
"type": "date"
|
||
|
},
|
||
|
{
|
||
|
"alias": "",
|
||
|
"align": "auto",
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"pattern": "/.*/",
|
||
|
"thresholds": [],
|
||
|
"type": "number",
|
||
|
"unit": "s"
|
||
|
}
|
||
|
],
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"expr": "topk(5, sum by (route)(http_request_duration_seconds_sum{instance=~\"$instance\",code=~\"^[45]..$\"}))",
|
||
|
"instant": true,
|
||
|
"legendFormat": "{{route}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Top 5 Error Duration",
|
||
|
"transform": "timeseries_aggregations",
|
||
|
"type": "table-old"
|
||
|
},
|
||
|
{
|
||
|
"columns": [
|
||
|
{
|
||
|
"text": "Current",
|
||
|
"value": "current"
|
||
|
}
|
||
|
],
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"fontSize": "100%",
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 4,
|
||
|
"x": 12,
|
||
|
"y": 54
|
||
|
},
|
||
|
"id": 96,
|
||
|
"scroll": true,
|
||
|
"showHeader": true,
|
||
|
"sort": {
|
||
|
"col": 1,
|
||
|
"desc": true
|
||
|
},
|
||
|
"styles": [
|
||
|
{
|
||
|
"alias": "Time",
|
||
|
"align": "auto",
|
||
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||
|
"pattern": "Time",
|
||
|
"type": "date"
|
||
|
},
|
||
|
{
|
||
|
"alias": "",
|
||
|
"align": "auto",
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"pattern": "/.*/",
|
||
|
"thresholds": [],
|
||
|
"type": "number",
|
||
|
"unit": "short"
|
||
|
}
|
||
|
],
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"expr": "topk(5, sum by (route)(http_request_duration_seconds_count{instance=~\"$instance\"}))",
|
||
|
"instant": true,
|
||
|
"legendFormat": "{{route}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Top 5 Request Count",
|
||
|
"transform": "timeseries_aggregations",
|
||
|
"type": "table-old"
|
||
|
},
|
||
|
{
|
||
|
"columns": [
|
||
|
{
|
||
|
"text": "Current",
|
||
|
"value": "current"
|
||
|
}
|
||
|
],
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"fontSize": "100%",
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 4,
|
||
|
"x": 16,
|
||
|
"y": 54
|
||
|
},
|
||
|
"id": 91,
|
||
|
"scroll": true,
|
||
|
"showHeader": true,
|
||
|
"sort": {
|
||
|
"col": 1,
|
||
|
"desc": true
|
||
|
},
|
||
|
"styles": [
|
||
|
{
|
||
|
"alias": "Time",
|
||
|
"align": "auto",
|
||
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||
|
"pattern": "Time",
|
||
|
"type": "date"
|
||
|
},
|
||
|
{
|
||
|
"alias": "",
|
||
|
"align": "auto",
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"pattern": "/.*/",
|
||
|
"thresholds": [],
|
||
|
"type": "number",
|
||
|
"unit": "short"
|
||
|
}
|
||
|
],
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"expr": "topk(5, http_request_duration_seconds_count{instance=~\"$instance\",code=~\"^[23]..$\"})",
|
||
|
"instant": true,
|
||
|
"legendFormat": "({{code}}) {{route}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Top 5 Success Count",
|
||
|
"transform": "timeseries_aggregations",
|
||
|
"type": "table-old"
|
||
|
},
|
||
|
{
|
||
|
"columns": [
|
||
|
{
|
||
|
"text": "Current",
|
||
|
"value": "current"
|
||
|
}
|
||
|
],
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"fontSize": "100%",
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 4,
|
||
|
"x": 20,
|
||
|
"y": 54
|
||
|
},
|
||
|
"id": 92,
|
||
|
"scroll": true,
|
||
|
"showHeader": true,
|
||
|
"sort": {
|
||
|
"col": 1,
|
||
|
"desc": true
|
||
|
},
|
||
|
"styles": [
|
||
|
{
|
||
|
"alias": "Time",
|
||
|
"align": "auto",
|
||
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||
|
"pattern": "Time",
|
||
|
"type": "date"
|
||
|
},
|
||
|
{
|
||
|
"alias": "",
|
||
|
"align": "auto",
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"pattern": "/.*/",
|
||
|
"thresholds": [],
|
||
|
"type": "number",
|
||
|
"unit": "short"
|
||
|
}
|
||
|
],
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"expr": "topk(5, http_request_duration_seconds_count{instance=~\"$instance\",code=~\"^[45]..$\"})",
|
||
|
"instant": true,
|
||
|
"legendFormat": "({{code}}) {{route}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Top 5 Error Count",
|
||
|
"transform": "timeseries_aggregations",
|
||
|
"type": "table-old"
|
||
|
},
|
||
|
{
|
||
|
"collapsed": true,
|
||
|
"datasource": {
|
||
|
"type": "datasource",
|
||
|
"uid": "grafana"
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 60
|
||
|
},
|
||
|
"id": 98,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "Notes in the instance",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 13,
|
||
|
"x": 0,
|
||
|
"y": 9
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 100,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.4.2",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_notes{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_notes",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Notes Count",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"$$hashKey": "object:761",
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"$$hashKey": "object:762",
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "Users that registered in the instance",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 11,
|
||
|
"x": 13,
|
||
|
"y": 9
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 102,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.4.2",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_registered_users{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_registered_users",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Registered Users",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"$$hashKey": "object:822",
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"$$hashKey": "object:823",
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "Distinct users currently editing notes",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 15
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 104,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.4.2",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_online_users{instance=~\"$instance\",type=\"all\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_online_users(all)",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_online_users{instance=~\"$instance\",type=\"signed-in\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_online_users(signed-in)",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Online Users",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"$$hashKey": "object:875",
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"min": "0",
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"$$hashKey": "object:876",
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "Sessions currently editing notes",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 8,
|
||
|
"y": 15
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 106,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.4.2",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_online_sessions{instance=~\"$instance\",type=\"all\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_online_sessions(all)",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_online_sessions{instance=~\"$instance\",type=\"signed-in\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_online_sessions(signed-in)",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Online Sessions",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"$$hashKey": "object:975",
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"$$hashKey": "object:976",
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "Notes currently being edited",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 16,
|
||
|
"y": 15
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 108,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.4.2",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_online_notes{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_online_notes",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Online Notes",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"$$hashKey": "object:1028",
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"$$hashKey": "object:1029",
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "Indicates that realtime currently connecting",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 21
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 110,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.4.2",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_connection_busy{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_connection_busy",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Connection Busy",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"$$hashKey": "object:1081",
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"$$hashKey": "object:1082",
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": false
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "Length of connection socket queue",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 8,
|
||
|
"y": 21
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 112,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.4.2",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "hedgedoc_connection_socket_queue_length{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "hedgedoc_connection_socket_queue_length",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "Socket Queue Length",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"$$hashKey": "object:1228",
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"$$hashKey": "object:1229",
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"description": "Number of open connections to the Express.js server",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 16,
|
||
|
"y": 21
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 113,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"nullPointMode": "null",
|
||
|
"options": {
|
||
|
"alertThreshold": true
|
||
|
},
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "8.4.2",
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"exemplar": true,
|
||
|
"expr": "expressjs_number_of_open_connections{instance=~\"$instance\"}",
|
||
|
"interval": "",
|
||
|
"legendFormat": "expressjs_number_of_open_connections",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeRegions": [],
|
||
|
"title": "ExpressJS Open Connections",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"mode": "time",
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"$$hashKey": "object:1228",
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"$$hashKey": "object:1229",
|
||
|
"format": "short",
|
||
|
"logBase": 1,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"title": "HedgeDoc",
|
||
|
"type": "row"
|
||
|
}
|
||
|
],
|
||
|
"refresh": "10s",
|
||
|
"schemaVersion": 38,
|
||
|
"style": "dark",
|
||
|
"tags": [
|
||
|
"hedgedoc",
|
||
|
"prometheus",
|
||
|
"express",
|
||
|
"node.js"
|
||
|
],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"current": {},
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "${DS_PROMETHEUS}"
|
||
|
},
|
||
|
"definition": "label_values(nodejs_version_info, instance)",
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"label": "instance",
|
||
|
"multi": true,
|
||
|
"name": "instance",
|
||
|
"options": [],
|
||
|
"query": {
|
||
|
"query": "label_values(nodejs_version_info, instance)",
|
||
|
"refId": "prometheus-instance-Variable-Query"
|
||
|
},
|
||
|
"refresh": 2,
|
||
|
"regex": "",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 1,
|
||
|
"tagValuesQuery": "",
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"auto": false,
|
||
|
"auto_count": 30,
|
||
|
"auto_min": "10s",
|
||
|
"current": {
|
||
|
"selected": false,
|
||
|
"text": "1m",
|
||
|
"value": "1m"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"name": "interval",
|
||
|
"options": [
|
||
|
{
|
||
|
"selected": true,
|
||
|
"text": "1m",
|
||
|
"value": "1m"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "10m",
|
||
|
"value": "10m"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "30m",
|
||
|
"value": "30m"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "1h",
|
||
|
"value": "1h"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "6h",
|
||
|
"value": "6h"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "12h",
|
||
|
"value": "12h"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "1d",
|
||
|
"value": "1d"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "7d",
|
||
|
"value": "7d"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "14d",
|
||
|
"value": "14d"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "30d",
|
||
|
"value": "30d"
|
||
|
}
|
||
|
],
|
||
|
"query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
|
||
|
"refresh": 2,
|
||
|
"skipUrlSync": false,
|
||
|
"type": "interval"
|
||
|
},
|
||
|
{
|
||
|
"current": {
|
||
|
"tags": [],
|
||
|
"text": "0.05",
|
||
|
"value": "0.05"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"includeAll": false,
|
||
|
"multi": false,
|
||
|
"name": "target",
|
||
|
"options": [
|
||
|
{
|
||
|
"selected": true,
|
||
|
"text": "0.05",
|
||
|
"value": "0.05"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.1",
|
||
|
"value": "0.1"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.2",
|
||
|
"value": "0.2"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.3",
|
||
|
"value": "0.3"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.4",
|
||
|
"value": "0.4"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.5",
|
||
|
"value": "0.5"
|
||
|
}
|
||
|
],
|
||
|
"query": "0.05,0.1,0.2,0.3,0.4,0.5",
|
||
|
"queryValue": "",
|
||
|
"skipUrlSync": false,
|
||
|
"type": "custom"
|
||
|
},
|
||
|
{
|
||
|
"current": {
|
||
|
"tags": [],
|
||
|
"text": "0.2",
|
||
|
"value": "0.2"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"includeAll": false,
|
||
|
"multi": false,
|
||
|
"name": "tolerated",
|
||
|
"options": [
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.1",
|
||
|
"value": "0.1"
|
||
|
},
|
||
|
{
|
||
|
"selected": true,
|
||
|
"text": "0.2",
|
||
|
"value": "0.2"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.3",
|
||
|
"value": "0.3"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.4",
|
||
|
"value": "0.4"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "0.5",
|
||
|
"value": "0.5"
|
||
|
}
|
||
|
],
|
||
|
"query": "0.1,0.2,0.3,0.4,0.5",
|
||
|
"queryValue": "",
|
||
|
"skipUrlSync": false,
|
||
|
"type": "custom"
|
||
|
},
|
||
|
{
|
||
|
"auto": false,
|
||
|
"auto_count": 30,
|
||
|
"auto_min": "10s",
|
||
|
"current": {
|
||
|
"selected": false,
|
||
|
"text": "1d",
|
||
|
"value": "1d"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"name": "restarts_interval",
|
||
|
"options": [
|
||
|
{
|
||
|
"selected": true,
|
||
|
"text": "1d",
|
||
|
"value": "1d"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "7d",
|
||
|
"value": "7d"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "14d",
|
||
|
"value": "14d"
|
||
|
},
|
||
|
{
|
||
|
"selected": false,
|
||
|
"text": "30d",
|
||
|
"value": "30d"
|
||
|
}
|
||
|
],
|
||
|
"query": "1d,7d,14d,30d",
|
||
|
"refresh": 2,
|
||
|
"skipUrlSync": false,
|
||
|
"type": "interval"
|
||
|
},
|
||
|
{
|
||
|
"current": {
|
||
|
"selected": false,
|
||
|
"text": "Prometheus",
|
||
|
"value": "Prometheus"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"includeAll": false,
|
||
|
"multi": false,
|
||
|
"name": "DS_PROMETHEUS",
|
||
|
"options": [],
|
||
|
"query": "prometheus",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"skipUrlSync": false,
|
||
|
"type": "datasource"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-3h",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {
|
||
|
"refresh_intervals": [
|
||
|
"5s",
|
||
|
"10s",
|
||
|
"30s",
|
||
|
"1m",
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"30m",
|
||
|
"1h",
|
||
|
"2h",
|
||
|
"1d"
|
||
|
]
|
||
|
},
|
||
|
"timezone": "",
|
||
|
"title": "HedgeDoc",
|
||
|
"uid": "NZDHuNu7z",
|
||
|
"version": 2,
|
||
|
"weekStart": ""
|
||
|
}
|
||
|
{% endraw %}
|