2139 lines
48 KiB
JSON
2139 lines
48 KiB
JSON
{
|
||
"annotations": {
|
||
"list": [
|
||
{
|
||
"builtIn": 1,
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"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": 33,
|
||
"iteration": 1657721110275,
|
||
"links": [],
|
||
"liveNow": false,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of all requests that have been processed / service",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "dark-red",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "green",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "short"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"id": 18,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"text": {},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.0.1",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(increase(requests_total[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Requests total / ${time}",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of all messages that have been processed / service",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "dark-red",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "light-green",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "short"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 6,
|
||
"x": 6,
|
||
"y": 0
|
||
},
|
||
"id": 22,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"text": {},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.0.1",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(increase(messages_total[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Messages processed / ${time}",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of messages that have been saved to session files",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "dark-red",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "light-green",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "short"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 6,
|
||
"x": 12,
|
||
"y": 0
|
||
},
|
||
"id": 24,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"text": {},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.0.1",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(increase(messages_saved[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Messages saved / ${time}",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of all sessions that have been compressed and saved to s3",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "dark-red",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "light-green",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 0
|
||
},
|
||
"id": 30,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"text": {},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.0.1",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(increase(sessions_total{container=\"storage\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Sessions stored in s3 / ${time}",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 3
|
||
},
|
||
"id": 28,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Storage",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateGreys",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Sizes of saved sessions (before compression)\n",
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 4
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 32,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(rate(sessions_size_sum[${time}]))/sum(rate(sessions_size_count[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Session size histogram / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "decbytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Durations of archiving process for all handled sessions",
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 4
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 34,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(rate(archiving_duration_sum[${time}]))/sum(rate(archiving_duration_count[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Archiving duration histogram / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 12
|
||
},
|
||
"id": 20,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Sink",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Sizes of saved messages\n",
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 13
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 26,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(rate(messages_size_sum[${time}])) / sum(rate(messages_size_count[${time}]))",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Message size histogram / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "decbytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 21
|
||
},
|
||
"id": 12,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Http",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Sizes of request’s body for start and ingest endpoints",
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 22
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 14,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(rate(requests_body_size_sum[${time}]))/sum(rate(requests_body_size_count[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Request body size / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "decbytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Request processing duration for all endpoints",
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 22
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 16,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"pluginVersion": "7.5.11",
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(rate(requests_duration_sum[${time}]))/sum(rate(requests_duration_count[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Request duration / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 30
|
||
},
|
||
"id": 6,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "ender",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"Value": "green"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of active sessions (unfinished sessions)\n",
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 31
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 8,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.0.1",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(sessions_active)",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"legendFormat": "{{ pod }}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Active sessions",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of all sessions that have been processed / service",
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 31
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 10,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.0.1",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(increase(sessions_total{container=\"ender\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Sessions processed / ${time}",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 39
|
||
},
|
||
"id": 4,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Assets",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of all assets that have been processed / service",
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 40
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 2,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.0.1",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(increase(assets_total[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Assets processed / ${time}",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of all assets that have been downloaded / service",
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 40
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 41,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.0.1",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(increase(assets_downloaded[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Assets downloaded / ${time}",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:85",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:86",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 49
|
||
},
|
||
"id": 36,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Db",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of DB operations",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "short"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 3,
|
||
"fillGradient": 2,
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 50
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 56,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.0.1",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "sum(increase(sql_request_number{container=\"db\", method=\"insert\"}[${time}])) by (table)",
|
||
"interval": "",
|
||
"legendFormat": "{{ table }}",
|
||
"range": true,
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "sum(increase(sql_request_number{container=\"db\", method=\"insert\"}[${time}]))",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "Total",
|
||
"range": true,
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Number of DB Insert operations / table / ${time}",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of DB operations",
|
||
"fill": 3,
|
||
"fillGradient": 2,
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 50
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 60,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.0.1",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "sum(increase(sql_request_number{container=\"db\", method=\"select\"}[${time}])) by (table)",
|
||
"interval": "",
|
||
"legendFormat": "{{ table }}",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Number of DB Select operations / table / ${time}",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of DB operations",
|
||
"fill": 3,
|
||
"fillGradient": 2,
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 57
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 61,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.0.1",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "sum(increase(sql_request_number{container=\"db\", method=\"update\"}[${time}])) by (table)",
|
||
"interval": "",
|
||
"legendFormat": "{{ table }}",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Number of DB Update operations / table / ${time}",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of DB operations",
|
||
"fill": 3,
|
||
"fillGradient": 2,
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 57
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 59,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.0.1",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "sum(increase(sql_request_number{container=\"db\", method=~\"begin|batch|rollback|commit\"}[${time}])) by (method,table)",
|
||
"interval": "",
|
||
"legendFormat": "{{method}} {{ table }}",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Number of DB operations / ${time}",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Size of batch in bytes before execution in PG",
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 64
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 38,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(rate(batch_size_bytes_sum[${time}]))/sum(rate(batch_size_bytes_count[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Batch size / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "decbytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Number of sql requests before execution in PG",
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 64
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 39,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum(rate(batch_size_lines_sum[${time}]))/sum(rate(batch_size_lines_count[${time}]))",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": "Number of sql requests before PG execution / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Duration of SQL request",
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 0,
|
||
"y": 72
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 42,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum by (le) (rate(sql_request_time_bucket{container=\"db\",method=\"begin\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Duration of BEGIN request / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Duration of SQL request",
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 8,
|
||
"y": 72
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 44,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum by (le) (rate(sql_request_time_bucket{container=\"db\",method=\"commit\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Duration of COMMIT request / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Duration of SQL request",
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 72
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 43,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum by (le) (rate(sql_request_time_bucket{container=\"db\",method=\"rollback\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Duration of ROLLBACK request / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Duration of SQL request",
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 0,
|
||
"y": 78
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 40,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum by (le) (rate(sql_request_time_bucket{container=\"db\",method=\"select\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Duration of SELECT request / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Duration of SQL request",
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 8,
|
||
"y": 78
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 45,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum by (le) (rate(sql_request_time_bucket{container=\"db\",method=\"insert\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Duration of INSERT request / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Duration of SQL request",
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 78
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 46,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum by (le) (rate(sql_request_time_bucket{container=\"db\",method=\"update\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Duration of UPDATE request / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Duration of SQL request",
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 0,
|
||
"y": 84
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 48,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum by (le) (rate(sql_request_time_bucket{container=\"db\",method=\"batch\",failed=\"false\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Duration of successful BATCH operation / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
},
|
||
{
|
||
"cards": {},
|
||
"color": {
|
||
"cardColor": "#FADE2A",
|
||
"colorScale": "sqrt",
|
||
"colorScheme": "interpolateOranges",
|
||
"exponent": 0.5,
|
||
"mode": "opacity"
|
||
},
|
||
"dataFormat": "timeseries",
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "Duration of SQL request",
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 8,
|
||
"y": 84
|
||
},
|
||
"heatmap": {},
|
||
"hideZeroBuckets": false,
|
||
"highlightCards": true,
|
||
"id": 49,
|
||
"legend": {
|
||
"show": false
|
||
},
|
||
"reverseYBuckets": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum by (le) (rate(sql_request_time_bucket{container=\"db\",method=\"batch\",failed=\"true\"}[${time}]))",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Duration of failed BATCH operation / ${time}",
|
||
"tooltip": {
|
||
"show": true,
|
||
"showHistogram": false
|
||
},
|
||
"type": "heatmap",
|
||
"xAxis": {
|
||
"show": true
|
||
},
|
||
"yAxis": {
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
"yBucketBound": "auto"
|
||
}
|
||
],
|
||
"refresh": "5m",
|
||
"schemaVersion": 36,
|
||
"style": "dark",
|
||
"tags": [],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"auto": true,
|
||
"auto_count": 30,
|
||
"auto_min": "1m",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "1m",
|
||
"value": "1m"
|
||
},
|
||
"hide": 1,
|
||
"label": "Data sampling time",
|
||
"name": "time",
|
||
"options": [
|
||
{
|
||
"selected": false,
|
||
"text": "auto",
|
||
"value": "$__auto_interval_time"
|
||
},
|
||
{
|
||
"selected": true,
|
||
"text": "1m",
|
||
"value": "1m"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "2m",
|
||
"value": "2m"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "5m",
|
||
"value": "5m"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "10m",
|
||
"value": "10m"
|
||
}
|
||
],
|
||
"query": "1m,2m,5m,10m",
|
||
"queryValue": "",
|
||
"refresh": 2,
|
||
"skipUrlSync": false,
|
||
"type": "interval"
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-12h",
|
||
"to": "now"
|
||
},
|
||
"timepicker": {},
|
||
"timezone": "",
|
||
"title": "Openreplay Components Dashboard",
|
||
"uid": "asdfasd",
|
||
"version": 6,
|
||
"weekStart": ""
|
||
}
|