Created
February 7, 2019 13:59
-
-
Save squaremo/d0ca2213561eb8d488e8c135886a3273 to your computer and use it in GitHub Desktop.
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
}, | |
{ | |
"datasource": "Weave Cloud Events", | |
"enable": false, | |
"hide": false, | |
"iconColor": "rgba(255, 96, 96, 1)", | |
"limit": 100, | |
"name": "Weave Cloud Events", | |
"showIn": 0, | |
"type": "alert" | |
} | |
] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"id": 7, | |
"links": [], | |
"panels": [ | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 11, | |
"panels": [], | |
"repeat": null, | |
"title": "Upstream connection", | |
"type": "row" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "Weave Cloud Prometheus", | |
"decimals": null, | |
"description": null, | |
"editable": true, | |
"format": "m", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 1 | |
}, | |
"height": null, | |
"hideTimeOverride": false, | |
"id": 1, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"minSpan": null, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [], | |
"repeat": null, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": "max(flux_fluxd_connection_duration_seconds) / 60", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"metric": "", | |
"refId": "", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": "", | |
"timeFrom": null, | |
"title": "Age of current connection", | |
"transparent": false, | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "Weave Cloud Prometheus", | |
"decimals": null, | |
"description": null, | |
"editable": true, | |
"format": "m", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 1 | |
}, | |
"height": null, | |
"hideTimeOverride": false, | |
"id": 2, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"minSpan": null, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [], | |
"repeat": null, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": "(time() - max(kube_pod_start_time{namespace=\"weave\", pod=~\"weave-flux-agent-.*\"})) / 60", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"metric": "", | |
"refId": "", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": "", | |
"timeFrom": null, | |
"title": "Age of flux agent", | |
"transparent": false, | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [], | |
"valueName": "avg" | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 8 | |
}, | |
"id": 12, | |
"panels": [], | |
"repeat": null, | |
"title": "Sync (with git)", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"error": "#E24D42", | |
"success": "#7EB26D" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Weave Cloud Prometheus", | |
"description": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 9 | |
}, | |
"id": 3, | |
"isNew": true, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"sideWidth": null, | |
"sort": null, | |
"sortDesc": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"minSpan": null, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": "1 / sum(rate(flux_daemon_sync_duration_seconds_count{success=\"true\"}[1h]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "success", | |
"metric": "", | |
"refId": "A", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": "1 / sum(rate(flux_daemon_sync_duration_seconds_count{success=\"false\"}[1h]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "error", | |
"metric": "", | |
"refId": "B", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Period (s) (1h average)", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ops", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Weave Cloud Prometheus", | |
"description": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 9 | |
}, | |
"id": 4, | |
"isNew": true, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"sideWidth": null, | |
"sort": null, | |
"sortDesc": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"minSpan": null, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": ":flux_daemon_sync_duration_seconds:99quantile{monitor=\"\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "99th centile", | |
"metric": "", | |
"refId": "A", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": ":flux_daemon_sync_duration_seconds:50quantile{monitor=\"\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "50th centile", | |
"metric": "", | |
"refId": "B", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": ":flux_daemon_sync_duration_seconds:mean{monitor=\"\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "Mean", | |
"metric": "", | |
"refId": "C", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Latency", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ms", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 16 | |
}, | |
"id": 13, | |
"panels": [], | |
"repeat": null, | |
"title": "Fetch tags (from image registry)", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"error": "#E24D42", | |
"success": "#7EB26D" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Weave Cloud Prometheus", | |
"description": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 17 | |
}, | |
"id": 5, | |
"isNew": true, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"sideWidth": null, | |
"sort": null, | |
"sortDesc": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"minSpan": null, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": "1 / sum(rate(flux_client_fetch_duration_seconds_count{kind=\"tags\",success=\"true\"}[1h]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "success", | |
"metric": "", | |
"refId": "A", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": "1 / sum(rate(flux_client_fetch_duration_seconds_count{kind=\"tags\",success=\"false\"}[1h]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "error", | |
"metric": "", | |
"refId": "B", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Period (s) (1h average)", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ops", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Weave Cloud Prometheus", | |
"description": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 17 | |
}, | |
"id": 6, | |
"isNew": true, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"sideWidth": null, | |
"sort": null, | |
"sortDesc": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"minSpan": null, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": "kind:flux_client_fetch_duration_seconds:99quantile{kind=\"tags\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "99th centile", | |
"metric": "", | |
"refId": "A", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": "kind:flux_client_fetch_duration_seconds:50quantile{kind=\"tags\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "50th centile", | |
"metric": "", | |
"refId": "B", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": "kind:flux_client_fetch_duration_seconds:mean{kind=\"tags\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "Mean", | |
"metric": "", | |
"refId": "C", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Latency", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ms", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 24 | |
}, | |
"id": 14, | |
"panels": [], | |
"repeat": null, | |
"title": "Fetch metadata (from image registry)", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"error": "#E24D42", | |
"success": "#7EB26D" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Weave Cloud Prometheus", | |
"description": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 25 | |
}, | |
"id": 7, | |
"isNew": true, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"sideWidth": null, | |
"sort": null, | |
"sortDesc": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"minSpan": null, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": "1 / sum(rate(flux_client_fetch_duration_seconds_count{kind=\"metadata\",success=\"true\"}[1h]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "success", | |
"metric": "", | |
"refId": "A", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": "1 / sum(rate(flux_client_fetch_duration_seconds_count{kind=\"metadata\",success=\"false\"}[1h]))", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "error", | |
"metric": "", | |
"refId": "B", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Period (s) (1h average)", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ops", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Weave Cloud Prometheus", | |
"description": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 25 | |
}, | |
"id": 8, | |
"isNew": true, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"sideWidth": null, | |
"sort": null, | |
"sortDesc": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"minSpan": null, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": "kind:flux_client_fetch_duration_seconds:99quantile{kind=\"metadata\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "99th centile", | |
"metric": "", | |
"refId": "A", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": "kind:flux_client_fetch_duration_seconds:50quantile{kind=\"metadata\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "50th centile", | |
"metric": "", | |
"refId": "B", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": "kind:flux_client_fetch_duration_seconds:mean{kind=\"metadata\"} * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "Mean", | |
"metric": "", | |
"refId": "C", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Latency", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ms", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 32 | |
}, | |
"id": 15, | |
"panels": [], | |
"repeat": null, | |
"title": "Job execution (including automate)", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"error": "#E24D42", | |
"success": "#7EB26D" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Weave Cloud Prometheus", | |
"description": null, | |
"editable": true, | |
"error": false, | |
"fill": 10, | |
"grid": {}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 33 | |
}, | |
"id": 9, | |
"isNew": true, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"sideWidth": null, | |
"sort": null, | |
"sortDesc": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"minSpan": null, | |
"nullPointMode": "null as zero", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": "sum(rate(flux_daemon_job_duration_seconds_count{success=\"true\"}[5m])) * 60", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "success", | |
"metric": "", | |
"refId": "A", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": "sum(rate(flux_daemon_job_duration_seconds_count{success=\"false\"}[5m])) * 60", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "error", | |
"metric": "", | |
"refId": "B", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Queries per minute (5 minute window)", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ops", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Weave Cloud Prometheus", | |
"description": null, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 33 | |
}, | |
"id": 10, | |
"isNew": true, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"hideEmpty": false, | |
"hideZero": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"sideWidth": null, | |
"sort": null, | |
"sortDesc": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"minSpan": null, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": "", | |
"expr": ":flux_daemon_job_duration_seconds:99quantile * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "99th centile", | |
"metric": "", | |
"refId": "A", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": ":flux_daemon_job_duration_seconds:50quantile * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "50th centile", | |
"metric": "", | |
"refId": "B", | |
"step": 10, | |
"target": "" | |
}, | |
{ | |
"datasource": "", | |
"expr": ":flux_daemon_job_duration_seconds:mean * 1e3", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "Mean", | |
"metric": "", | |
"refId": "C", | |
"step": 10, | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Latency", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": null, | |
"format": "ms", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"decimals": null, | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
} | |
], | |
"refresh": "1m", | |
"schemaVersion": 16, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"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": "utc", | |
"title": "Flux > Daemon", | |
"version": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment