Skip to content

Instantly share code, notes, and snippets.

@dmah42
Created December 5, 2022 12:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmah42/f2edb5d46fd4cb9127daa129f3e6de92 to your computer and use it in GitHub Desktop.
Save dmah42/f2edb5d46fd4cb9127daa129f3e6de92 to your computer and use it in GitHub Desktop.
mastodon grafana dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"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"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 2,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 38,
"panels": [],
"title": "sidekiq",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 40,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.2.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_default_enqueued{instance=\"$node\"}",
"legendFormat": "default",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_pull_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "pull",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_push_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "push",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_scheduler_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "scheduler",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_mailers_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "mailers",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_ingress_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "ingress",
"range": true,
"refId": "F"
}
],
"title": "sidekiq enqueued",
"type": "bargauge"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "dashed"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 2000
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 1
},
"id": 48,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_default_enqueued{instance=\"$node\"}",
"legendFormat": "default",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_pull_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "pull",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_push_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "push",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_scheduler_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "scheduler",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_mailers_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "mailers",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_ingress_enqueued{instance=\"$node\"}",
"hide": false,
"legendFormat": "ingress",
"range": true,
"refId": "F"
}
],
"title": "sidekiq enqueued",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 9
},
"id": 42,
"interval": "1m",
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.2.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_default_latency{instance=\"$node\"}",
"legendFormat": "default",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_pull_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "pull",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_push_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "push",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_scheduler_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "scheduler",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_mailers_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "mailers",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_ingress_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "ingress",
"range": true,
"refId": "F"
}
],
"title": "sidekiq queue latencies",
"type": "bargauge"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "dashed"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 10
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 9
},
"id": 47,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_default_latency{instance=\"$node\"}",
"legendFormat": "default",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_pull_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "pull",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_push_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "push",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_scheduler_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "scheduler",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_mailers_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "mailers",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_queues_ingress_latency{instance=\"$node\"}",
"hide": false,
"legendFormat": "ingress",
"range": true,
"refId": "F"
}
],
"title": "sidekiq queue latencies",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 17
},
"id": 61,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "(Mastodon_production_sidekiq_dead_size{instance=\"$node\"})",
"legendFormat": "dead",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "(Mastodon_production_sidekiq_processes_size{instance=\"$node\"})",
"hide": false,
"legendFormat": "processes",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "(Mastodon_production_sidekiq_retry_size{instance=\"$node\"})",
"hide": false,
"legendFormat": "retry",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "(Mastodon_production_sidekiq_scheduled_size{instance=\"$node\"})",
"hide": false,
"legendFormat": "scheduled",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "(Mastodon_production_sidekiq_workers_size{instance=\"$node\"})",
"hide": false,
"legendFormat": "workers",
"range": true,
"refId": "E"
}
],
"title": "sidekiq worker states",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"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
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 17
},
"id": 41,
"interval": "2m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "deriv(Mastodon_production_sidekiq_queues_default_enqueued{instance=\"$node\"}[$__rate_interval])*60",
"legendFormat": "default",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "deriv(Mastodon_production_sidekiq_queues_pull_enqueued{instance=\"$node\"}[$__rate_interval])*60",
"hide": false,
"legendFormat": "pull",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "deriv(Mastodon_production_sidekiq_queues_push_enqueued{instance=\"$node\"}[$__rate_interval])*60",
"hide": false,
"legendFormat": "push",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "deriv(Mastodon_production_sidekiq_queues_scheduler_enqueued{instance=\"$node\"}[$__rate_interval])*60",
"hide": false,
"legendFormat": "scheduler",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "deriv(Mastodon_production_sidekiq_queues_mailers_enqueued{instance=\"$node\"}[$__rate_interval])*60",
"hide": false,
"legendFormat": "mailers",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "deriv(Mastodon_production_sidekiq_queues_ingress_enqueued{instance=\"$node\"}[$__rate_interval])*60",
"hide": false,
"legendFormat": "ingress",
"range": true,
"refId": "F"
}
],
"title": "sidekiq enqueued consumption",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 25
},
"id": 44,
"interval": "2m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_enqueued{instance=\"$node\"}[$__rate_interval])",
"legendFormat": "enqueued",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_failed{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failed",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_processed{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "processed",
"range": true,
"refId": "C"
}
],
"title": "sidekiq result rates",
"type": "timeseries"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 33
},
"id": 50,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 34
},
"id": 51,
"interval": "2m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_AccountMergingWorker_success{instance=\"$node\"}[$__rate_interval])",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_AccountMergingWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "AccountMergingWorker success/failure",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 34
},
"id": 52,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_AccountMergingWorker_processing_time{instance=\"$node\"}",
"legendFormat": "{{quantile}} %ile",
"range": true,
"refId": "A"
}
],
"title": "AccountMergingWorker latency",
"type": "timeseries"
}
],
"title": "AccountMergingWorker",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 34
},
"id": 54,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 35
},
"id": 55,
"interval": "2m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_Admin__AccountDeletionWorker_success{instance=\"$node\"}[$__rate_interval])",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_Admin__AccountDeletionWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "AccountDeletionWorker success/failure",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 35
},
"id": 56,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_Admin__AccountMergingWorker_processing_time{instance=\"$node\"}",
"legendFormat": "{{quantile}} %ile",
"range": true,
"refId": "A"
}
],
"title": "AccountMergingWorker latency",
"type": "timeseries"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 43
},
"id": 57,
"interval": "2m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_Admin__SuspensionWorker_success{instance=\"$node\"}[$__rate_interval])",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_Admin__SuspensionWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "SuspensionWorker success/failure",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 43
},
"id": 58,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_Admin__SuspensionWorker_processing_time{instance=\"$node\"}",
"legendFormat": "{{quantile}} %ile",
"range": true,
"refId": "A"
}
],
"title": "SuspensionWorker latency",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 51
},
"id": 59,
"interval": "2m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_Admin__UnsuspensionWorker_success{instance=\"$node\"}[$__rate_interval])",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_Admin__UnsuspensionWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "UnsuspensionWorker success/failure",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 51
},
"id": 60,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_Admin__UnsuspensionWorker_processing_time{instance=\"$node\"}",
"legendFormat": "{{quantile}} %ile",
"range": true,
"refId": "A"
}
],
"title": "UnsuspensionWorker latency",
"type": "timeseries"
}
],
"title": "Admin",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 35
},
"id": 32,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 36
},
"id": 34,
"interval": "2m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_PostProcessMediaWorker_success{instance=\"$node\"}[$__rate_interval])",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_PostProcessMediaWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "PostProcessMediaWorker success/failure",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 36
},
"id": 36,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_sidekiq_PostProcessMediaWorker_processing_time{instance=\"$node\"}",
"legendFormat": "{{quantile}} %ile",
"range": true,
"refId": "A"
}
],
"title": "PostProcessMediaWorker latency",
"type": "timeseries"
}
],
"title": "PostProcessMediaWorker",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 36
},
"id": 23,
"panels": [
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 53
},
"id": 25,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__DeliveryWorker_success{instance=\"$node\"}[$__rate_interval])",
"interval": "",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__DeliveryWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "DeliveryWorker success/failure",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 53
},
"id": 26,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__DistributePollUpdateWorker_success{instance=\"$node\"}[$__rate_interval])",
"interval": "",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__DistributePollUpdateWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "DistributePollUpdateWorker success/failure",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 61
},
"id": 28,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__DistributionWorker_success{instance=\"$node\"}[$__rate_interval])",
"interval": "",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__DistributionWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "DistributionWorker success/failure",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 61
},
"id": 27,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__ProcessingWorker_success{instance=\"$node\"}[$__rate_interval])",
"interval": "",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__ProcessingWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "ProcessingWorker success/failure",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 69
},
"id": 29,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__RawDistributionWorker_success{instance=\"$node\"}[$__rate_interval])",
"interval": "",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__RawDistributionWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "RawDistributionWorker success/failure",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 69
},
"id": 30,
"interval": "1m",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__SynchronizeFeaturedCollectionWorker_success{instance=\"$node\"}[$__rate_interval])",
"interval": "",
"legendFormat": "success",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "rate(Mastodon_production_sidekiq_ActivityPub__SynchronizeFeaturedCollectionWorker_failure{instance=\"$node\"}[$__rate_interval])",
"hide": false,
"legendFormat": "failure",
"range": true,
"refId": "B"
}
],
"title": "SynchronizeFEaturedCollectionWorker success/failure",
"type": "timeseries"
}
],
"title": "ActivityPub",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 37
},
"id": 17,
"panels": [
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 38
},
"id": 19,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_db_tables_notifications_queries_select_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Select duration",
"type": "timeseries"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 46
},
"id": 21,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_db_tables_notifications_queries_insert_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Insert duration",
"type": "timeseries"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 46
},
"id": 20,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_db_tables_notifications_queries_delete_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Delete duration",
"type": "timeseries"
}
],
"title": "Notifications",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 38
},
"id": 11,
"panels": [
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 39
},
"id": 13,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_db_tables_follow_requests_queries_select_duration{instance=\"$node\"}",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Select duration",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 47
},
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_db_tables_follow_requests_queries_insert_duration{instance=\"$node\"}",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Insert duration",
"type": "timeseries"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 47
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_db_tables_follow_requests_queries_delete_duration{instance=\"$node\"}",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Delete duration",
"type": "timeseries"
}
],
"title": "Follow requests",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 39
},
"id": 2,
"panels": [
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 40
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_cache_fetch_hit_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Fetch Hit duration",
"type": "timeseries"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 40
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_cache_write_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Write duration",
"type": "timeseries"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 48
},
"id": 7,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_cache_read_hit_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Read hit duration",
"type": "timeseries"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 48
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_cache_read_miss_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Read miss duration",
"type": "timeseries"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 56
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_cache_read_multi_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Read multi duration",
"type": "timeseries"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 56
},
"id": 5,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "3usWRWmVz"
},
"editorMode": "code",
"expr": "Mastodon_production_cache_delete_duration{instance=\"$node\"}",
"interval": "",
"legendFormat": "{{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "Delete duration",
"type": "timeseries"
}
],
"title": "Caching",
"type": "row"
}
],
"refresh": "1m",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "franz:9102",
"value": "franz:9102"
},
"datasource": {
"type": "prometheus",
"uid": "NSr2-MK4k"
},
"definition": "label_values(statsd_exporter_build_info, instance)",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"name": "node",
"options": [],
"query": {
"query": "label_values(statsd_exporter_build_info, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Mastodon",
"uid": "dEovIID4z",
"version": 11,
"weekStart": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment