matrix-docker-ansible-deploy/roles/custom/matrix-media-repo/templates/grafana/media-repo.json

1303 lines
31 KiB
JSON
Raw Normal View History

2023-07-12 08:09:27 +02:00
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
2024-07-23 00:38:34 +02:00
"type": "grafana",
"uid": "${DS_PROMETHEUS}"
2023-07-12 08:09:27 +02:00
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
2024-01-17 00:43:02 +01:00
"id": null,
2023-07-12 08:09:27 +02:00
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2024-01-17 00:43:02 +01:00
"insertNulls": false,
2023-07-12 08:09:27 +02:00
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2024-01-17 00:43:02 +01:00
"color": "green",
"value": null
2023-07-12 08:09:27 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "hertz"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 0
},
"id": 2,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2024-01-17 00:43:02 +01:00
"pluginVersion": "10.1.0",
2023-07-12 08:09:27 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"editorMode": "code",
2024-07-23 00:38:34 +02:00
"expr": "rate(media_http_requests_total{host=\"$host\"}[2m])",
2023-07-12 08:09:27 +02:00
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ '{{host}}: {{method}} {{action}}' }}",
2024-01-17 00:43:02 +01:00
"range": true,
2023-07-12 08:09:27 +02:00
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"editorMode": "code",
2024-07-23 00:38:34 +02:00
"expr": "rate(media_invalid_http_requests_total{host=\"$host\"}[2m])",
2023-07-12 08:09:27 +02:00
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ 'Invalid Host: {{method}} {{action}}' }}",
2024-01-17 00:43:02 +01:00
"range": true,
2023-07-12 08:09:27 +02:00
"refId": "B"
}
],
"title": "HTTP Requsts",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2024-01-17 00:43:02 +01:00
"insertNulls": false,
2023-07-12 08:09:27 +02:00
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2024-01-17 00:43:02 +01:00
"color": "green",
"value": null
2023-07-12 08:09:27 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "hertz"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 0
},
"id": 3,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2024-01-17 00:43:02 +01:00
"pluginVersion": "10.1.0",
2023-07-12 08:09:27 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"editorMode": "code",
2024-07-23 00:38:34 +02:00
"expr": "rate(media_http_responses_total{host=\"$host\"}[2m])",
2023-07-12 08:09:27 +02:00
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ '{{host}}: {{method}} {{action}} {{statusCode}}' }}",
2024-01-17 00:43:02 +01:00
"range": true,
2023-07-12 08:09:27 +02:00
"refId": "A"
2024-01-17 00:43:02 +01:00
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
2024-07-23 00:38:34 +02:00
"expr": "rate(media_invalid_http_requests_total{host=\"$host\"}[2m])",
2024-01-17 00:43:02 +01:00
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{ 'Invalid Host: {{method}} {{action}} {{statusCode}}' }}",
"range": true,
"refId": "B"
2023-07-12 08:09:27 +02:00
}
],
"title": "HTTP Responses",
"type": "timeseries"
},
2024-01-17 00:43:02 +01:00
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 9
},
"id": 11,
"maxDataPoints": 5000,
"options": {
"calculate": false,
"calculation": {
"xBuckets": {
"mode": "size",
"value": ""
}
},
"cellGap": 1,
"color": {
"exponent": 0.5,
"fill": "dark-orange",
"mode": "scheme",
"reverse": false,
"scale": "exponential",
"scheme": "Spectral",
"steps": 64
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"show": true,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "left",
"decimals": 0,
"reverse": false,
"unit": "s"
}
},
"pluginVersion": "10.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
2024-07-23 00:38:34 +02:00
"expr": "sum(rate(media_http_response_time_seconds_bucket{action=~\"download|thumbnail\", host=\"$host\"}[2m])) by (le)",
2024-01-17 00:43:02 +01:00
"format": "heatmap",
"instant": false,
"interval": "",
"legendFormat": "{{ '{{method}} {{action}} - {{le}}' }}",
"range": true,
"refId": "A"
}
],
"title": "Downloads and Thumbnails - Response Time",
"type": "heatmap"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 9
},
"id": 12,
"maxDataPoints": 5000,
"options": {
"calculate": false,
"calculation": {
"xBuckets": {
"mode": "size",
"value": ""
}
},
"cellGap": 1,
"color": {
"exponent": 0.5,
"fill": "dark-orange",
"mode": "scheme",
"reverse": false,
"scale": "exponential",
"scheme": "Spectral",
"steps": 64
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"show": true,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "left",
"decimals": 0,
"reverse": false,
"unit": "s"
}
},
"pluginVersion": "10.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
2024-07-23 00:38:34 +02:00
"expr": "sum(rate(media_http_response_time_seconds_bucket{action=\"upload\", host=\"$host\"}[2m])) by (le)",
2024-01-17 00:43:02 +01:00
"format": "heatmap",
"instant": false,
"legendFormat": "{{ '{{method}} {{action}} - {{le}}' }}",
"range": true,
"refId": "A"
}
],
"title": "Uploads - Response Time",
"type": "heatmap"
},
2023-07-12 08:09:27 +02:00
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2024-01-17 00:43:02 +01:00
"insertNulls": false,
2023-07-12 08:09:27 +02:00
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2024-01-17 00:43:02 +01:00
"color": "green",
"value": null
2023-07-12 08:09:27 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
2024-01-17 00:43:02 +01:00
"y": 18
2023-07-12 08:09:27 +02:00
},
"id": 8,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2024-01-17 00:43:02 +01:00
"pluginVersion": "10.1.0",
2023-07-12 08:09:27 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"editorMode": "code",
"exemplar": true,
2024-07-23 00:38:34 +02:00
"expr": "go_memstats_alloc_bytes",
2023-07-12 08:09:27 +02:00
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "memory usage (alloc)",
2024-01-17 00:43:02 +01:00
"range": true,
2023-07-12 08:09:27 +02:00
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"exemplar": true,
2024-07-23 00:38:34 +02:00
"expr": "go_memstats_sys_bytes",
2023-07-12 08:09:27 +02:00
"interval": "",
"legendFormat": "memory usage (sys)",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"exemplar": true,
2024-07-23 00:38:34 +02:00
"expr": "go_memstats_heap_alloc_bytes",
2023-07-12 08:09:27 +02:00
"interval": "",
"legendFormat": "heap usage (alloc)",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"exemplar": true,
2024-07-23 00:38:34 +02:00
"expr": "go_memstats_heap_idle_bytes",
2023-07-12 08:09:27 +02:00
"interval": "",
"legendFormat": "heap usage (idle)",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"exemplar": true,
2024-07-23 00:38:34 +02:00
"expr": "go_memstats_heap_inuse_bytes",
2023-07-12 08:09:27 +02:00
"interval": "",
"legendFormat": "heap usage (used)",
"refId": "E"
2024-01-17 00:43:02 +01:00
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
2024-07-23 00:38:34 +02:00
"expr": "go_memstats_heap_released_bytes",
2024-01-17 00:43:02 +01:00
"hide": false,
"legendFormat": "heap usage (released)",
"range": true,
"refId": "F"
2023-07-12 08:09:27 +02:00
}
],
"title": "Memory Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2024-01-17 00:43:02 +01:00
"insertNulls": false,
2023-07-12 08:09:27 +02:00
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2024-01-17 00:43:02 +01:00
"color": "green",
"value": null
2023-07-12 08:09:27 +02:00
},
{
"color": "red",
"value": 80
}
]
},
2024-01-17 00:43:02 +01:00
"unit": "none"
2023-07-12 08:09:27 +02:00
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
2024-01-17 00:43:02 +01:00
"y": 18
2023-07-12 08:09:27 +02:00
},
2024-01-17 00:43:02 +01:00
"id": 10,
2023-07-12 08:09:27 +02:00
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2024-01-17 00:43:02 +01:00
"pluginVersion": "10.1.0",
2023-07-12 08:09:27 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"editorMode": "code",
"exemplar": true,
2024-07-23 00:38:34 +02:00
"expr": "go_goroutines",
2023-07-12 08:09:27 +02:00
"format": "time_series",
"interval": "",
"intervalFactor": 1,
2024-01-17 00:43:02 +01:00
"legendFormat": "goroutines",
"range": true,
2023-07-12 08:09:27 +02:00
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"editorMode": "code",
"exemplar": true,
2024-07-23 00:38:34 +02:00
"expr": "go_threads",
2024-01-17 00:43:02 +01:00
"format": "time_series",
"hide": false,
2023-07-12 08:09:27 +02:00
"interval": "",
2024-01-17 00:43:02 +01:00
"intervalFactor": 1,
"legendFormat": "threads",
"range": true,
"refId": "A"
2023-07-12 08:09:27 +02:00
}
],
2024-01-17 00:43:02 +01:00
"title": "Process Composition",
2023-07-12 08:09:27 +02:00
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2024-01-17 00:43:02 +01:00
"insertNulls": false,
2023-07-12 08:09:27 +02:00
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2024-01-17 00:43:02 +01:00
"color": "green",
"value": null
2023-07-12 08:09:27 +02:00
},
{
"color": "red",
"value": 80
}
]
},
2024-01-17 00:43:02 +01:00
"unit": "hertz"
2023-07-12 08:09:27 +02:00
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
2024-01-17 00:43:02 +01:00
"y": 27
2023-07-12 08:09:27 +02:00
},
"id": 9,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
2024-01-17 00:43:02 +01:00
"sort": "desc"
2023-07-12 08:09:27 +02:00
}
},
2024-01-17 00:43:02 +01:00
"pluginVersion": "10.1.0",
2023-07-12 08:09:27 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-01-17 00:43:02 +01:00
"editorMode": "code",
"expr": "rate(media_s3_operations_total[2m])",
2023-07-12 08:09:27 +02:00
"format": "time_series",
"intervalFactor": 1,
2024-01-17 00:43:02 +01:00
"legendFormat": "{{ '{{operation}}' }}",
"range": true,
"refId": "A"
2023-07-12 08:09:27 +02:00
}
],
2024-01-17 00:43:02 +01:00
"title": "S3 Operations",
2023-07-12 08:09:27 +02:00
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2024-01-17 00:43:02 +01:00
"insertNulls": false,
2023-07-12 08:09:27 +02:00
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2024-01-17 00:43:02 +01:00
"color": "green",
"value": null
2023-07-12 08:09:27 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "hertz"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
2024-01-17 00:43:02 +01:00
"y": 27
2023-07-12 08:09:27 +02:00
},
"id": 5,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2024-01-17 00:43:02 +01:00
"pluginVersion": "10.1.0",
2023-07-12 08:09:27 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(media_cache_hits_total[2m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ 'hits in {{cache}}' }}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(media_cache_misses_total[2m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ 'misses in {{cache}}' }}",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(media_cache_evictions_total[2m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ 'evictions due to {{reason}} in {{cache}}' }}",
"refId": "C"
}
],
"title": "Cache Operations",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2024-01-17 00:43:02 +01:00
"insertNulls": false,
2023-07-12 08:09:27 +02:00
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2024-01-17 00:43:02 +01:00
"color": "green",
"value": null
2023-07-12 08:09:27 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "hertz"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
2024-01-17 00:43:02 +01:00
"y": 36
2023-07-12 08:09:27 +02:00
},
"id": 6,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
2024-01-17 00:43:02 +01:00
"sort": "desc"
2023-07-12 08:09:27 +02:00
}
},
2024-01-17 00:43:02 +01:00
"pluginVersion": "10.1.0",
2023-07-12 08:09:27 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(media_thumbnails_generated_total[2m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ '{{origin}} {{width}}x{{height}} {{method}} animated={{animated}}' }}",
"refId": "A"
}
],
"title": "Thumbnail Generation",
"type": "timeseries"
},
2024-01-17 00:43:02 +01:00
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 36
},
"id": 13,
"maxDataPoints": 5000,
"options": {
"calculate": false,
"calculation": {
"xBuckets": {
"mode": "size",
"value": ""
}
},
"cellGap": 1,
"color": {
"exponent": 0.5,
"fill": "dark-orange",
"mode": "scheme",
"reverse": false,
"scale": "exponential",
"scheme": "Spectral",
"steps": 64
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"show": true,
"yHistogram": false
},
"yAxis": {
"axisPlacement": "left",
"decimals": 0,
"reverse": false,
"unit": "s"
}
},
"pluginVersion": "10.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(rate(media_age_accessed_media_seconds_bucket[2m])) by (le)",
"format": "heatmap",
"instant": false,
"legendFormat": "{{ '{{method}} {{action}} - {{le}}' }}",
"range": true,
"refId": "A"
}
],
"title": "Age of Downloaded Media",
"type": "heatmap"
},
2023-07-12 08:09:27 +02:00
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2024-01-17 00:43:02 +01:00
"insertNulls": false,
2023-07-12 08:09:27 +02:00
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2024-01-17 00:43:02 +01:00
"color": "green",
"value": null
2023-07-12 08:09:27 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "hertz"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
2024-01-17 00:43:02 +01:00
"x": 0,
"y": 45
2023-07-12 08:09:27 +02:00
},
"id": 7,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
2024-01-17 00:43:02 +01:00
"sort": "desc"
2023-07-12 08:09:27 +02:00
}
},
2024-01-17 00:43:02 +01:00
"pluginVersion": "10.1.0",
2023-07-12 08:09:27 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(media_downloaded_total[2m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ 'downloads from {{origin}}' }}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(media_url_previews_generated_total[2m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ 'preview with engine: {{type}}' }}",
"refId": "B"
}
],
"title": "Resource Handling",
"type": "timeseries"
}
],
"refresh": "1m",
"schemaVersion": 38,
"style": "dark",
2024-07-23 00:38:34 +02:00
"tags": [
"matrix"
],
2023-07-12 08:09:27 +02:00
"templating": {
2024-07-23 00:38:34 +02:00
"list": [
{
"current": {},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(media_http_response_time_seconds_bucket,host)",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"name": "host",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(media_http_response_time_seconds_bucket,host)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
2023-07-12 08:09:27 +02:00
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Media Repo Dashboard",
"uid": "xJUZ3xfmk",
2024-01-17 00:43:02 +01:00
"version": 15,
2023-07-12 08:09:27 +02:00
"weekStart": ""
}