-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1972 from alphagov/add-content-data-csv-export-da…
…shboard Add Content Data CSV metrics Grafana dashboard
- Loading branch information
Showing
1 changed file
with
270 additions
and
0 deletions.
There are no files selected for viewing
270 changes: 270 additions & 0 deletions
270
charts/monitoring-config/dashboards/content-data-csv-metrics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,270 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": 3697, | ||
"links": [], | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"description": "", | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
}, | ||
"unit": "none" | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 12, | ||
"w": 23, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 3, | ||
"options": { | ||
"displayMode": "gradient", | ||
"maxVizHeight": 300, | ||
"minVizHeight": 16, | ||
"minVizWidth": 8, | ||
"namePlacement": "auto", | ||
"orientation": "auto", | ||
"reduceOptions": { | ||
"calcs": [ | ||
"delta" | ||
], | ||
"fields": "", | ||
"values": false | ||
}, | ||
"showUnfilled": true, | ||
"sizing": "auto", | ||
"valueMode": "color" | ||
}, | ||
"pluginVersion": "10.4.1", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "builder", | ||
"expr": "sum by(le) (content_data_admin_histogram_v1_bucket)", | ||
"format": "heatmap", | ||
"fullMetaSearch": false, | ||
"includeNullMetadata": true, | ||
"instant": false, | ||
"legendFormat": "{{le}}", | ||
"range": true, | ||
"refId": "A", | ||
"useBackend": false | ||
} | ||
], | ||
"title": "The number of csv exports grouped by duration (minutes)", | ||
"transformations": [ | ||
{ | ||
"id": "organize", | ||
"options": { | ||
"excludeByName": { | ||
"+Inf": false, | ||
"Time": false | ||
}, | ||
"includeByName": {}, | ||
"indexByName": {}, | ||
"renameByName": { | ||
"300": "5 min", | ||
"600": "10 min", | ||
"900": "15 min", | ||
"1800": "30 min", | ||
"2700": "45 min", | ||
"3600": "60 min", | ||
"+Inf": "> 60 min", | ||
"Time": "" | ||
} | ||
} | ||
} | ||
], | ||
"type": "bargauge" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"description": "", | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "palette-classic" | ||
}, | ||
"custom": { | ||
"axisBorderShow": false, | ||
"axisCenteredZero": false, | ||
"axisColorMode": "text", | ||
"axisLabel": "", | ||
"axisPlacement": "auto", | ||
"barAlignment": 0, | ||
"drawStyle": "line", | ||
"fillOpacity": 0, | ||
"gradientMode": "none", | ||
"hideFrom": { | ||
"legend": false, | ||
"tooltip": false, | ||
"viz": false | ||
}, | ||
"insertNulls": 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": 12, | ||
"w": 23, | ||
"x": 0, | ||
"y": 12 | ||
}, | ||
"id": 4, | ||
"options": { | ||
"legend": { | ||
"calcs": [], | ||
"displayMode": "list", | ||
"placement": "bottom", | ||
"showLegend": true | ||
}, | ||
"tooltip": { | ||
"mode": "single", | ||
"sort": "none" | ||
} | ||
}, | ||
"pluginVersion": "10.4.1", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "builder", | ||
"expr": "sum by(le) (content_data_admin_histogram_v1_bucket)", | ||
"format": "heatmap", | ||
"fullMetaSearch": false, | ||
"includeNullMetadata": false, | ||
"instant": false, | ||
"legendFormat": "{{le}}", | ||
"range": true, | ||
"refId": "A", | ||
"useBackend": false | ||
} | ||
], | ||
"title": "The number of csv exports reported in each histogram bucket over time", | ||
"transformations": [ | ||
{ | ||
"id": "organize", | ||
"options": { | ||
"excludeByName": { | ||
"300": false, | ||
"600": false, | ||
"900": false, | ||
"1800": false, | ||
"3600": false, | ||
"+Inf": false | ||
}, | ||
"includeByName": {}, | ||
"indexByName": {}, | ||
"renameByName": { | ||
"300": "5 min", | ||
"600": "10 min", | ||
"900": "15 min", | ||
"1800": "30 min", | ||
"2700": "45 min", | ||
"3600": "60 min", | ||
"+Inf": "> 60 min", | ||
"Time": "" | ||
} | ||
} | ||
} | ||
], | ||
"type": "timeseries" | ||
} | ||
], | ||
"refresh": "1m", | ||
"schemaVersion": 39, | ||
"tags": [], | ||
"templating": { | ||
"list": [] | ||
}, | ||
"time": { | ||
"from": "now-5d", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "browser", | ||
"title": "Content Data CSV export metrics", | ||
"uid": "ddjlzbcgqsni8b", | ||
"version": 28, | ||
"weekStart": "" | ||
} |