2019-07-21 20:02:18 +02:00
|
|
|
apiVersion: v1
|
|
|
|
data:
|
|
|
|
prometheus-remote-write.json: |-
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"__inputs": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"__requires": [
|
|
|
|
|
|
|
|
],
|
2019-07-21 20:02:18 +02:00
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"editable": true,
|
|
|
|
"gnetId": null,
|
|
|
|
"graphTooltip": 0,
|
|
|
|
"hideControls": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"id": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-12-19 21:55:38 +01:00
|
|
|
"refresh": "60s",
|
2019-07-21 20:02:18 +02:00
|
|
|
"rows": [
|
|
|
|
{
|
|
|
|
"collapse": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"collapsed": false,
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": false,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": false,
|
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-19 21:55:38 +01:00
|
|
|
"expr": "(\n prometheus_remote_storage_highest_timestamp_in_seconds{cluster=~\"$cluster\", instance=~\"$instance\"} \n- \n ignoring(remote_name, url) group_right(instance) (prometheus_remote_storage_queue_highest_sent_timestamp_seconds{cluster=~\"$cluster\", instance=~\"$instance\"} != 0)\n)\n",
|
2020-03-02 08:20:33 +01:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Highest Timestamp In vs. Highest Timestamp Sent",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 3,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": false,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": false,
|
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-19 21:55:38 +01:00
|
|
|
"expr": "clamp_min(\n rate(prometheus_remote_storage_highest_timestamp_in_seconds{cluster=~\"$cluster\", instance=~\"$instance\"}[5m]) \n- \n ignoring (remote_name, url) group_right(instance) rate(prometheus_remote_storage_queue_highest_sent_timestamp_seconds{cluster=~\"$cluster\", instance=~\"$instance\"}[5m])\n, 0)\n",
|
2020-03-02 08:20:33 +01:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Rate[5m]",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
|
|
|
"title": "Timestamps",
|
|
|
|
"titleSize": "h6",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
|
|
|
"collapsed": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": false,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": false,
|
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 12,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-19 21:55:38 +01:00
|
|
|
"expr": "rate(\n prometheus_remote_storage_samples_in_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m])\n- \n ignoring(remote_name, url) group_right(instance) (rate(prometheus_remote_storage_succeeded_samples_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m]) or rate(prometheus_remote_storage_samples_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m]))\n- \n (rate(prometheus_remote_storage_dropped_samples_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m]) or rate(prometheus_remote_storage_samples_dropped_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m]))\n",
|
2020-03-02 08:20:33 +01:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Rate, in vs. succeeded or dropped [5m]",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
|
|
|
"title": "Samples",
|
|
|
|
"titleSize": "h6",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
|
|
|
"collapsed": false,
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 5,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": false,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": false,
|
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"minSpan": 6,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 12,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "prometheus_remote_storage_shards{cluster=~\"$cluster\", instance=~\"$instance\"}",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Current Shards",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": false,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": false,
|
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 4,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "prometheus_remote_storage_shards_max{cluster=~\"$cluster\", instance=~\"$instance\"}",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Max Shards",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 7,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
2020-03-02 08:20:33 +01:00
|
|
|
"span": 4,
|
2019-07-21 20:02:18 +02:00
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"expr": "prometheus_remote_storage_shards_min{cluster=~\"$cluster\", instance=~\"$instance\"}",
|
2019-07-21 20:02:18 +02:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "Min Shards",
|
2019-07-21 20:02:18 +02:00
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"format": "short",
|
2019-07-21 20:02:18 +02:00
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 8,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
2020-03-02 08:20:33 +01:00
|
|
|
"span": 4,
|
2019-07-21 20:02:18 +02:00
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"expr": "prometheus_remote_storage_shards_desired{cluster=~\"$cluster\", instance=~\"$instance\"}",
|
2019-07-21 20:02:18 +02:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "Desired Shards",
|
2019-07-21 20:02:18 +02:00
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "Shards",
|
|
|
|
"titleSize": "h6",
|
|
|
|
"type": "row"
|
2019-07-21 20:02:18 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"collapsed": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 9,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
2020-03-02 08:20:33 +01:00
|
|
|
"span": 6,
|
2019-07-21 20:02:18 +02:00
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"expr": "prometheus_remote_storage_shard_capacity{cluster=~\"$cluster\", instance=~\"$instance\"}",
|
2019-07-21 20:02:18 +02:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "Shard Capacity",
|
2019-07-21 20:02:18 +02:00
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 10,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": false,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": false,
|
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-19 21:55:38 +01:00
|
|
|
"expr": "prometheus_remote_storage_pending_samples{cluster=~\"$cluster\", instance=~\"$instance\"} or prometheus_remote_storage_samples_pending{cluster=~\"$cluster\", instance=~\"$instance\"}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Pending Samples",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "Shard Details",
|
|
|
|
"titleSize": "h6",
|
|
|
|
"type": "row"
|
2019-07-21 20:02:18 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"collapsed": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 11,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"expr": "prometheus_tsdb_wal_segment_current{cluster=~\"$cluster\", instance=~\"$instance\"}",
|
2019-07-21 20:02:18 +02:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-03-02 08:20:33 +01:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}}",
|
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "TSDB Current Segment",
|
2019-07-21 20:02:18 +02:00
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"format": "none",
|
2019-07-21 20:02:18 +02:00
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 12,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"expr": "prometheus_wal_watcher_current_segment{cluster=~\"$cluster\", instance=~\"$instance\"}",
|
2019-07-21 20:02:18 +02:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{consumer}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "Remote Write Current Segment",
|
2019-07-21 20:02:18 +02:00
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
2020-03-02 08:20:33 +01:00
|
|
|
"format": "none",
|
2019-07-21 20:02:18 +02:00
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "Segments",
|
|
|
|
"titleSize": "h6",
|
|
|
|
"type": "row"
|
2019-07-21 20:02:18 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"collapsed": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 13,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 3,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-19 21:55:38 +01:00
|
|
|
"expr": "rate(prometheus_remote_storage_dropped_samples_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m]) or rate(prometheus_remote_storage_samples_dropped_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m])",
|
2019-07-21 20:02:18 +02:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Dropped Samples",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 14,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 3,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-19 21:55:38 +01:00
|
|
|
"expr": "rate(prometheus_remote_storage_failed_samples_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m]) or rate(prometheus_remote_storage_samples_failed_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m])",
|
2019-07-21 20:02:18 +02:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Failed Samples",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 15,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 3,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-19 21:55:38 +01:00
|
|
|
"expr": "rate(prometheus_remote_storage_retried_samples_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m]) or rate(prometheus_remote_storage_samples_retried_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m])",
|
2019-07-21 20:02:18 +02:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Retried Samples",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
2020-12-19 21:55:38 +01:00
|
|
|
"fillGradient": 0,
|
2020-03-02 08:20:33 +01:00
|
|
|
"gridPos": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"id": 16,
|
2019-07-21 20:02:18 +02:00
|
|
|
"legend": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"alignAsTable": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-03-02 08:20:33 +01:00
|
|
|
"rightSide": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true,
|
2020-09-13 23:42:07 +02:00
|
|
|
"sideWidth": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-03-02 08:20:33 +01:00
|
|
|
"nullPointMode": "null",
|
2019-07-21 20:02:18 +02:00
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-03-02 08:20:33 +01:00
|
|
|
"repeat": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 3,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "rate(prometheus_remote_storage_enqueue_retries_total{cluster=~\"$cluster\", instance=~\"$instance\"}[5m])",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2020-09-13 23:42:07 +02:00
|
|
|
"legendFormat": "{{cluster}}:{{instance}} {{remote_name}}:{{url}}",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refId": "A"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Enqueue Retries",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"min": null,
|
2019-07-21 20:02:18 +02:00
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
2020-03-02 08:20:33 +01:00
|
|
|
"show": true
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
2020-03-02 08:20:33 +01:00
|
|
|
"title": "Misc. Rates",
|
|
|
|
"titleSize": "h6",
|
|
|
|
"type": "row"
|
2019-07-21 20:02:18 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"schemaVersion": 14,
|
|
|
|
"style": "dark",
|
|
|
|
"tags": [
|
2020-12-19 21:55:38 +01:00
|
|
|
"prometheus-mixin"
|
2019-07-21 20:02:18 +02:00
|
|
|
],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"hide": 0,
|
|
|
|
"label": null,
|
|
|
|
"name": "datasource",
|
|
|
|
"options": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"query": "prometheus",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"type": "datasource"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"text": {
|
|
|
|
"selected": true,
|
|
|
|
"text": "All",
|
|
|
|
"value": "$__all"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"selected": true,
|
|
|
|
"text": "All",
|
|
|
|
"value": "$__all"
|
|
|
|
}
|
2019-07-21 20:02:18 +02:00
|
|
|
},
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
2020-03-02 08:20:33 +01:00
|
|
|
"label": null,
|
|
|
|
"multi": false,
|
2022-03-20 01:04:14 +01:00
|
|
|
"name": "cluster",
|
2019-07-21 20:02:18 +02:00
|
|
|
"options": [
|
|
|
|
|
|
|
|
],
|
2022-03-20 01:04:14 +01:00
|
|
|
"query": "label_values(kube_pod_container_info{image=~\".*prometheus.*\"}, cluster)",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refresh": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"regex": "",
|
2020-03-02 08:20:33 +01:00
|
|
|
"sort": 0,
|
2019-07-21 20:02:18 +02:00
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"text": {
|
|
|
|
"selected": true,
|
|
|
|
"text": "All",
|
|
|
|
"value": "$__all"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"selected": true,
|
|
|
|
"text": "All",
|
|
|
|
"value": "$__all"
|
|
|
|
}
|
2019-07-21 20:02:18 +02:00
|
|
|
},
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
2020-03-02 08:20:33 +01:00
|
|
|
"label": null,
|
|
|
|
"multi": false,
|
2022-03-20 01:04:14 +01:00
|
|
|
"name": "instance",
|
2019-07-21 20:02:18 +02:00
|
|
|
"options": [
|
|
|
|
|
|
|
|
],
|
2022-03-20 01:04:14 +01:00
|
|
|
"query": "label_values(prometheus_build_info{cluster=~\"$cluster\"}, instance)",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refresh": 2,
|
|
|
|
"regex": "",
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": null,
|
|
|
|
"multi": false,
|
2020-09-13 23:42:07 +02:00
|
|
|
"name": "url",
|
2020-03-02 08:20:33 +01:00
|
|
|
"options": [
|
|
|
|
|
|
|
|
],
|
2020-09-13 23:42:07 +02:00
|
|
|
"query": "label_values(prometheus_remote_storage_shards{cluster=~\"$cluster\", instance=~\"$instance\"}, url)",
|
2020-03-02 08:20:33 +01:00
|
|
|
"refresh": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"regex": "",
|
2020-03-02 08:20:33 +01:00
|
|
|
"sort": 0,
|
2019-07-21 20:02:18 +02:00
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"from": "now-6h",
|
2019-07-21 20:02:18 +02:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2020-03-02 08:20:33 +01:00
|
|
|
"timezone": "browser",
|
2020-12-19 21:55:38 +01:00
|
|
|
"title": "Prometheus / Remote Write",
|
2019-07-21 20:02:18 +02:00
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
prometheus.json: |-
|
|
|
|
{
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"editable": true,
|
|
|
|
"gnetId": null,
|
|
|
|
"graphTooltip": 0,
|
|
|
|
"hideControls": false,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
2020-12-19 21:55:38 +01:00
|
|
|
"refresh": "60s",
|
2019-07-21 20:02:18 +02:00
|
|
|
"rows": [
|
|
|
|
{
|
|
|
|
"collapse": false,
|
|
|
|
"height": "250px",
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
|
|
|
"id": 1,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 12,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"styles": [
|
|
|
|
{
|
|
|
|
"alias": "Time",
|
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"pattern": "Time",
|
|
|
|
"type": "hidden"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "Count",
|
|
|
|
"colorMode": null,
|
|
|
|
"colors": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"decimals": 2,
|
|
|
|
"link": false,
|
2020-09-13 23:42:07 +02:00
|
|
|
"linkTargetBlank": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"linkTooltip": "Drill down",
|
|
|
|
"linkUrl": "",
|
|
|
|
"pattern": "Value #A",
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"type": "hidden",
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "Uptime",
|
|
|
|
"colorMode": null,
|
|
|
|
"colors": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"decimals": 2,
|
|
|
|
"link": false,
|
2020-09-13 23:42:07 +02:00
|
|
|
"linkTargetBlank": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"linkTooltip": "Drill down",
|
|
|
|
"linkUrl": "",
|
|
|
|
"pattern": "Value #B",
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"type": "number",
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "Instance",
|
|
|
|
"colorMode": null,
|
|
|
|
"colors": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"decimals": 2,
|
|
|
|
"link": false,
|
2020-09-13 23:42:07 +02:00
|
|
|
"linkTargetBlank": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"linkTooltip": "Drill down",
|
|
|
|
"linkUrl": "",
|
|
|
|
"pattern": "instance",
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"type": "number",
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "Job",
|
|
|
|
"colorMode": null,
|
|
|
|
"colors": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"decimals": 2,
|
|
|
|
"link": false,
|
2020-09-13 23:42:07 +02:00
|
|
|
"linkTargetBlank": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"linkTooltip": "Drill down",
|
|
|
|
"linkUrl": "",
|
|
|
|
"pattern": "job",
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"type": "number",
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "Version",
|
|
|
|
"colorMode": null,
|
|
|
|
"colors": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"decimals": 2,
|
|
|
|
"link": false,
|
2020-09-13 23:42:07 +02:00
|
|
|
"linkTargetBlank": false,
|
2019-07-21 20:02:18 +02:00
|
|
|
"linkTooltip": "Drill down",
|
|
|
|
"linkUrl": "",
|
|
|
|
"pattern": "version",
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"type": "number",
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "",
|
|
|
|
"colorMode": null,
|
|
|
|
"colors": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"decimals": 2,
|
|
|
|
"pattern": "/.*/",
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"type": "string",
|
|
|
|
"unit": "short"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "count by (job, instance, version) (prometheus_build_info{job=~\"$job\", instance=~\"$instance\"})",
|
|
|
|
"format": "table",
|
|
|
|
"instant": true,
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "max by (job, instance) (time() - process_start_time_seconds{job=~\"$job\", instance=~\"$instance\"})",
|
|
|
|
"format": "table",
|
|
|
|
"instant": true,
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "B",
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Prometheus Stats",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"transform": "table",
|
|
|
|
"type": "table",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
|
|
|
"title": "Prometheus Stats",
|
|
|
|
"titleSize": "h6"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
|
|
|
"height": "250px",
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
|
|
|
"id": 2,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "sum(rate(prometheus_target_sync_length_seconds_sum{job=~\"$job\",instance=~\"$instance\"}[5m])) by (scrape_job) * 1e3",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{scrape_job}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Target Sync",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "ms",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 10,
|
|
|
|
"id": 3,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 0,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "sum(prometheus_sd_discovered_targets{job=~\"$job\",instance=~\"$instance\"})",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "Targets",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Targets",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
|
|
|
"title": "Discovery",
|
|
|
|
"titleSize": "h6"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
|
|
|
"height": "250px",
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 1,
|
|
|
|
"id": 4,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 4,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "rate(prometheus_target_interval_length_seconds_sum{job=~\"$job\",instance=~\"$instance\"}[5m]) / rate(prometheus_target_interval_length_seconds_count{job=~\"$job\",instance=~\"$instance\"}[5m]) * 1e3",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{interval}} configured",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Average Scrape Interval Duration",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "ms",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 10,
|
|
|
|
"id": 5,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 0,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 4,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
2022-03-20 01:04:14 +01:00
|
|
|
{
|
|
|
|
"expr": "sum by (job) (rate(prometheus_target_scrapes_exceeded_body_size_limit_total[1m]))",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "exceeded body size limit: {{job}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
},
|
2019-07-21 20:02:18 +02:00
|
|
|
{
|
|
|
|
"expr": "sum by (job) (rate(prometheus_target_scrapes_exceeded_sample_limit_total[1m]))",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "exceeded sample limit: {{job}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "sum by (job) (rate(prometheus_target_scrapes_sample_duplicate_timestamp_total[1m]))",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "duplicate timestamp: {{job}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_bounds_total[1m]))",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "out of bounds: {{job}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_order_total[1m]))",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "out of order: {{job}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Scrape failures",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 10,
|
|
|
|
"id": 6,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 0,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 4,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "rate(prometheus_tsdb_head_samples_appended_total{job=~\"$job\",instance=~\"$instance\"}[5m])",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{job}} {{instance}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Appended Samples",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
|
|
|
"title": "Retrieval",
|
|
|
|
"titleSize": "h6"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
|
|
|
"height": "250px",
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 10,
|
|
|
|
"id": 7,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 0,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "prometheus_tsdb_head_series{job=~\"$job\",instance=~\"$instance\"}",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{job}} {{instance}} head series",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Head Series",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 10,
|
|
|
|
"id": 8,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 0,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "prometheus_tsdb_head_chunks{job=~\"$job\",instance=~\"$instance\"}",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{job}} {{instance}} head chunks",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Head Chunks",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
|
|
|
"title": "Storage",
|
|
|
|
"titleSize": "h6"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapse": false,
|
|
|
|
"height": "250px",
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 10,
|
|
|
|
"id": 9,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 0,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "rate(prometheus_engine_query_duration_seconds_count{job=~\"$job\",instance=~\"$instance\",slice=\"inner_eval\"}[5m])",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{job}} {{instance}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Query Rate",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"fill": 10,
|
|
|
|
"id": 10,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 0,
|
|
|
|
"links": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"span": 6,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "max by (slice) (prometheus_engine_query_duration_seconds{quantile=\"0.9\",job=~\"$job\",instance=~\"$instance\"}) * 1e3",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{slice}}",
|
|
|
|
"legendLink": null,
|
|
|
|
"step": 10
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Stage Duration",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2022-03-20 01:04:14 +01:00
|
|
|
"sort": 2,
|
2019-07-21 20:02:18 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": [
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "ms",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": 0,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatIteration": null,
|
|
|
|
"repeatRowId": null,
|
|
|
|
"showTitle": true,
|
|
|
|
"title": "Query",
|
|
|
|
"titleSize": "h6"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"schemaVersion": 14,
|
|
|
|
"style": "dark",
|
|
|
|
"tags": [
|
2020-12-19 21:55:38 +01:00
|
|
|
"prometheus-mixin"
|
2019-07-21 20:02:18 +02:00
|
|
|
],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"current": {
|
2020-03-02 08:20:33 +01:00
|
|
|
"text": "default",
|
|
|
|
"value": "default"
|
2019-07-21 20:02:18 +02:00
|
|
|
},
|
|
|
|
"hide": 0,
|
2022-03-20 01:04:14 +01:00
|
|
|
"label": "Data Source",
|
2019-07-21 20:02:18 +02:00
|
|
|
"name": "datasource",
|
|
|
|
"options": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"query": "prometheus",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"type": "datasource"
|
|
|
|
},
|
|
|
|
{
|
2022-03-20 01:04:14 +01:00
|
|
|
"allValue": ".+",
|
2019-07-21 20:02:18 +02:00
|
|
|
"current": {
|
|
|
|
"selected": true,
|
|
|
|
"text": "All",
|
|
|
|
"value": "$__all"
|
|
|
|
},
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": "job",
|
|
|
|
"multi": true,
|
|
|
|
"name": "job",
|
|
|
|
"options": [
|
|
|
|
|
|
|
|
],
|
2022-03-20 01:04:14 +01:00
|
|
|
"query": "label_values(prometheus_build_info{job=\"prometheus\"}, job)",
|
2019-07-21 20:02:18 +02:00
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"sort": 2,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
},
|
|
|
|
{
|
2022-03-20 01:04:14 +01:00
|
|
|
"allValue": ".+",
|
2019-07-21 20:02:18 +02:00
|
|
|
"current": {
|
|
|
|
"selected": true,
|
|
|
|
"text": "All",
|
|
|
|
"value": "$__all"
|
|
|
|
},
|
|
|
|
"datasource": "$datasource",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": "instance",
|
|
|
|
"multi": true,
|
|
|
|
"name": "instance",
|
|
|
|
"options": [
|
|
|
|
|
|
|
|
],
|
2022-03-20 01:04:14 +01:00
|
|
|
"query": "label_values(prometheus_build_info{job=~\"$job\"}, instance)",
|
2019-07-21 20:02:18 +02:00
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"sort": 2,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [
|
|
|
|
|
|
|
|
],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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",
|
2020-12-19 21:55:38 +01:00
|
|
|
"title": "Prometheus / Overview",
|
2019-07-21 20:02:18 +02:00
|
|
|
"uid": "",
|
|
|
|
"version": 0
|
|
|
|
}
|
2019-10-20 02:43:47 +02:00
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: grafana-dashboards-prom
|
|
|
|
namespace: monitoring
|