Skip to content

Commit f5c4a1c

Browse files
committed
RHINENG-26546: add grafana panel
1 parent 8f15fa6 commit f5c4a1c

1 file changed

Lines changed: 128 additions & 0 deletions

File tree

dashboards/app-sre/grafana-dashboard-insights-patchman-engine-general.configmap.yaml

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5500,6 +5500,134 @@ data:
55005500
"title": "System culling",
55015501
"type": "timeseries"
55025502
},
5503+
{
5504+
"datasource": {
5505+
"uid": "$datasource"
5506+
},
5507+
"description": "Workspace backfill CronJob: rows updated per interval, batches completed, and batch errors (Pushgateway job workspace_backfill).",
5508+
"fieldConfig": {
5509+
"defaults": {
5510+
"color": {
5511+
"mode": "palette-classic"
5512+
},
5513+
"custom": {
5514+
"axisBorderShow": false,
5515+
"axisCenteredZero": false,
5516+
"axisColorMode": "text",
5517+
"axisLabel": "Count",
5518+
"axisPlacement": "auto",
5519+
"barAlignment": 0,
5520+
"barWidthFactor": 0.6,
5521+
"drawStyle": "line",
5522+
"fillOpacity": 10,
5523+
"gradientMode": "none",
5524+
"hideFrom": {
5525+
"legend": false,
5526+
"tooltip": false,
5527+
"viz": false
5528+
},
5529+
"insertNulls": false,
5530+
"lineInterpolation": "linear",
5531+
"lineWidth": 1,
5532+
"pointSize": 5,
5533+
"scaleDistribution": {
5534+
"type": "linear"
5535+
},
5536+
"showPoints": "never",
5537+
"spanNulls": false,
5538+
"stacking": {
5539+
"group": "A",
5540+
"mode": "none"
5541+
},
5542+
"thresholdsStyle": {
5543+
"mode": "off"
5544+
}
5545+
},
5546+
"links": [
5547+
5548+
],
5549+
"mappings": [
5550+
5551+
],
5552+
"thresholds": {
5553+
"mode": "absolute",
5554+
"steps": [
5555+
{
5556+
"color": "green"
5557+
},
5558+
{
5559+
"color": "red",
5560+
"value": 80
5561+
}
5562+
]
5563+
},
5564+
"unit": "none"
5565+
},
5566+
"overrides": [
5567+
5568+
]
5569+
},
5570+
"gridPos": {
5571+
"h": 6,
5572+
"w": 12,
5573+
"x": 12,
5574+
"y": 103
5575+
},
5576+
"id": 77,
5577+
"options": {
5578+
"legend": {
5579+
"calcs": [
5580+
5581+
],
5582+
"displayMode": "list",
5583+
"placement": "bottom",
5584+
"showLegend": true
5585+
},
5586+
"tooltip": {
5587+
"hideZeros": false,
5588+
"mode": "multi",
5589+
"sort": "desc"
5590+
}
5591+
},
5592+
"pluginVersion": "11.6.3",
5593+
"targets": [
5594+
{
5595+
"datasource": {
5596+
"uid": "$datasource"
5597+
},
5598+
"expr": "sum(increase(patchman_engine_workspace_backfill_rows_updated_total{}[$interval]))",
5599+
"format": "time_series",
5600+
"interval": "",
5601+
"intervalFactor": 1,
5602+
"legendFormat": "rows updated",
5603+
"refId": "A"
5604+
},
5605+
{
5606+
"datasource": {
5607+
"uid": "$datasource"
5608+
},
5609+
"expr": "sum(increase(patchman_engine_workspace_backfill_batches_total{}[$interval]))",
5610+
"format": "time_series",
5611+
"interval": "",
5612+
"intervalFactor": 1,
5613+
"legendFormat": "batches",
5614+
"refId": "B"
5615+
},
5616+
{
5617+
"datasource": {
5618+
"uid": "$datasource"
5619+
},
5620+
"expr": "sum(increase(patchman_engine_workspace_backfill_batch_errors_total{}[$interval]))",
5621+
"format": "time_series",
5622+
"interval": "",
5623+
"intervalFactor": 1,
5624+
"legendFormat": "batch errors",
5625+
"refId": "C"
5626+
}
5627+
],
5628+
"title": "Workspace backfill",
5629+
"type": "timeseries"
5630+
},
55035631
{
55045632
"collapsed": false,
55055633
"gridPos": {

0 commit comments

Comments
 (0)