Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zync-que dashboard #10

Merged
merged 2 commits into from
Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ else ifeq (${UNAME}, Darwin)
INPLACE_SED=sed -i ""
endif

TAG ?= v0.3.1
TAG ?= v0.3.2
REGISTRY ?= quay.io
ORG ?= 3scale
PROJECT ?= 3scale-saas-operator
Expand Down
129 changes: 20 additions & 109 deletions roles/zync/templates/zync-grafanadashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ spec:
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"description": "Jobs scheduled to be executed in the future.",
"description": "Number of jobs enqueued and ready to be executed ASAP (never failed, nor got expired).",
"fill": 1,
"gridPos": {
"h": 8,
Expand Down Expand Up @@ -967,7 +967,7 @@ spec:
"steppedLine": false,
"targets": [
{
"expr": "max(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='scheduled'}) by (exported_job)",
"expr": "max(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='ready'}) by (exported_job)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 10,
Expand All @@ -979,7 +979,7 @@ spec:
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Scheduled Jobs count",
"title": "Ready Jobs count",
"tooltip": {
"shared": true,
"sort": 2,
Expand Down Expand Up @@ -1023,15 +1023,15 @@ spec:
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"description": "Jobs that failed at least once (rate)",
"description": "Number of jobs enqueued to be executed some time in the future, but not now (never failed, nor got expired).",
"fill": 1,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 48
},
"id": 92,
"id": 93,
"legend": {
"avg": false,
"current": false,
Expand All @@ -1056,7 +1056,7 @@ spec:
"steppedLine": false,
"targets": [
{
"expr": "max(rate(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='failed'}[5m])) by (exported_job)",
"expr": "max(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='scheduled'}) by (exported_job)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 10,
Expand All @@ -1068,7 +1068,7 @@ spec:
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Failed Jobs per second",
"title": "Scheduled Jobs count",
"tooltip": {
"shared": true,
"sort": 2,
Expand All @@ -1085,7 +1085,7 @@ spec:
"yaxes": [
{
"decimals": 0,
"format": "ops",
"format": "none",
"label": null,
"logBase": 1,
"max": null,
Expand All @@ -1097,7 +1097,7 @@ spec:
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"min": null,
"show": true
}
],
Expand All @@ -1112,7 +1112,7 @@ spec:
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"description": "Jobs that failed at least once",
"description": "Number of jobs that executed successfully.",
"fill": 1,
"gridPos": {
"h": 8,
Expand Down Expand Up @@ -1201,15 +1201,15 @@ spec:
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"description": "Excludes: errored, expired, finished, performed",
"description": "Number of jobs that failed at least once, did not run out of attempts to retry and therefore are scheduled for retry any time soon.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"w": 12,
"x": 0,
"y": 56
},
"id": 93,
"id": 96,
"legend": {
"avg": false,
"current": false,
Expand All @@ -1234,7 +1234,7 @@ spec:
"steppedLine": false,
"targets": [
{
"expr": "max(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='ready'}) by (exported_job)",
"expr": "max(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='finished'}) by (exported_job)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 10,
Expand All @@ -1246,7 +1246,7 @@ spec:
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Ready Jobs count",
"title": "Finished Jobs count",
"tooltip": {
"shared": true,
"sort": 2,
Expand Down Expand Up @@ -1290,12 +1290,12 @@ spec:
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"description": "Jobs with at least 1 retry attempt",
"description": "Number of jobs that failed and ran out of attempts to retry, therefore won't be retried again.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"w": 12,
"x": 12,
"y": 56
},
"id": 95,
Expand Down Expand Up @@ -1323,7 +1323,7 @@ spec:
"steppedLine": false,
"targets": [
{
"expr": "max(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='retried'}) by (exported_job)",
"expr": "max(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='expired'}) by (exported_job)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 10,
Expand All @@ -1335,96 +1335,7 @@ spec:
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Retried Jobs count",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"description": "Jobs already performed",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 56
},
"id": 96,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "max(que_jobs_scheduled_total{namespace='$namespace',pod=~'zync-que.*',type='finished'}) by (exported_job)",
"format": "time_series",
"interval": "1m",
"intervalFactor": 10,
"legendFormat": "{{ '{{' }}exported_job{{ '}}' }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Finished Jobs count",
"title": "Expired Jobs count",
"tooltip": {
"shared": true,
"sort": 2,
Expand Down