Update dashboards
This commit is contained in:
@@ -510,7 +510,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 11,
|
"h": 22,
|
||||||
"w": 12,
|
"w": 12,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 10
|
"y": 10
|
||||||
@@ -557,36 +557,34 @@
|
|||||||
"id": "organize",
|
"id": "organize",
|
||||||
"options": {
|
"options": {
|
||||||
"excludeByName": {
|
"excludeByName": {
|
||||||
"Time": true,
|
"__name__": false,
|
||||||
"Value": true,
|
"app": false,
|
||||||
"__name__": true,
|
"chart_name": false,
|
||||||
"app": true,
|
"chart_source_name": false,
|
||||||
"chart_name": true,
|
"container": false,
|
||||||
"chart_source_name": true,
|
"customresource_group": false,
|
||||||
"container": true,
|
|
||||||
"customresource_group": true,
|
|
||||||
"customresource_kind": false,
|
"customresource_kind": false,
|
||||||
"customresource_version": true,
|
"customresource_version": false,
|
||||||
"endpoint": true,
|
"endpoint": false,
|
||||||
"exported_namespace": false,
|
"exported_namespace": false,
|
||||||
"gotk_type": true,
|
"gotk_type": false,
|
||||||
"instance": true,
|
"instance": false,
|
||||||
"job": true,
|
"job": false,
|
||||||
"kubernetes_namespace": true,
|
"kubernetes_namespace": false,
|
||||||
"kubernetes_pod_name": true,
|
"kubernetes_pod_name": false,
|
||||||
"namespace": true,
|
"namespace": false,
|
||||||
"pod": true,
|
"pod": false,
|
||||||
"pod_template_hash": true,
|
"pod_template_hash": false,
|
||||||
"revision": true,
|
"revision": false,
|
||||||
"service": true,
|
"service": false,
|
||||||
"source_name": true,
|
"source_name": false,
|
||||||
"status": true,
|
"status": false,
|
||||||
"suspended": true,
|
"suspended": false,
|
||||||
"type": true
|
"Time": false,
|
||||||
|
"type": false,
|
||||||
|
"Value": false
|
||||||
},
|
},
|
||||||
"indexByName": {
|
"indexByName": {
|
||||||
"Time": 0,
|
|
||||||
"Value": 15,
|
|
||||||
"__name__": 1,
|
"__name__": 1,
|
||||||
"container": 2,
|
"container": 2,
|
||||||
"customresource_group": 4,
|
"customresource_group": 4,
|
||||||
@@ -600,16 +598,26 @@
|
|||||||
"namespace": 11,
|
"namespace": 11,
|
||||||
"pod": 12,
|
"pod": 12,
|
||||||
"ready": 13,
|
"ready": 13,
|
||||||
"service": 14
|
"service": 14,
|
||||||
|
"Time": 0,
|
||||||
|
"Value": 15
|
||||||
},
|
},
|
||||||
"renameByName": {
|
"renameByName": {
|
||||||
"Value": "",
|
|
||||||
"customresource_kind": "Kind",
|
"customresource_kind": "Kind",
|
||||||
"exported_namespace": "Namespace",
|
"exported_namespace": "Namespace",
|
||||||
"kind": "Kind",
|
"kind": "Kind",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"namespace": "Operator Namespace",
|
"namespace": "Operator Namespace",
|
||||||
"ready": "Status"
|
"ready": "Status",
|
||||||
|
"Value": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "filterFieldsByName",
|
||||||
|
"options": {
|
||||||
|
"include": {
|
||||||
|
"pattern": "(Namespace|Kind|Name|Status)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -747,36 +755,34 @@
|
|||||||
"id": "organize",
|
"id": "organize",
|
||||||
"options": {
|
"options": {
|
||||||
"excludeByName": {
|
"excludeByName": {
|
||||||
"Time": true,
|
"__name__": false,
|
||||||
"Value": true,
|
"app": false,
|
||||||
"__name__": true,
|
"bucket_name": false,
|
||||||
"app": true,
|
"container": false,
|
||||||
"bucket_name": true,
|
"customresource_group": false,
|
||||||
"container": true,
|
|
||||||
"customresource_group": true,
|
|
||||||
"customresource_kind": false,
|
"customresource_kind": false,
|
||||||
"customresource_version": true,
|
"customresource_version": false,
|
||||||
"endpoint": true,
|
"endpoint": false,
|
||||||
"exported_namespace": false,
|
"exported_namespace": false,
|
||||||
"gotk_type": true,
|
"gotk_type": false,
|
||||||
"instance": true,
|
"instance": false,
|
||||||
"job": true,
|
"job": false,
|
||||||
"kubernetes_namespace": true,
|
"kubernetes_namespace": false,
|
||||||
"kubernetes_pod_name": true,
|
"kubernetes_pod_name": false,
|
||||||
"namespace": true,
|
"namespace": false,
|
||||||
"pod": true,
|
"pod": false,
|
||||||
"pod_template_hash": true,
|
"pod_template_hash": false,
|
||||||
"ready": false,
|
"ready": false,
|
||||||
"revision": true,
|
"revision": false,
|
||||||
"service": true,
|
"service": false,
|
||||||
"status": true,
|
"status": false,
|
||||||
"suspended": true,
|
"suspended": false,
|
||||||
"type": true,
|
"Time": false,
|
||||||
"url": true
|
"type": false,
|
||||||
|
"url": false,
|
||||||
|
"Value": false
|
||||||
},
|
},
|
||||||
"indexByName": {
|
"indexByName": {
|
||||||
"Time": 0,
|
|
||||||
"Value": 15,
|
|
||||||
"__name__": 1,
|
"__name__": 1,
|
||||||
"container": 2,
|
"container": 2,
|
||||||
"customresource_group": 5,
|
"customresource_group": 5,
|
||||||
@@ -790,16 +796,186 @@
|
|||||||
"namespace": 3,
|
"namespace": 3,
|
||||||
"pod": 12,
|
"pod": 12,
|
||||||
"ready": 13,
|
"ready": 13,
|
||||||
"service": 14
|
"service": 14,
|
||||||
|
"Time": 0,
|
||||||
|
"Value": 15
|
||||||
},
|
},
|
||||||
"renameByName": {
|
"renameByName": {
|
||||||
"Value": "",
|
|
||||||
"customresource_kind": "Kind",
|
"customresource_kind": "Kind",
|
||||||
"exported_namespace": "Namespace",
|
"exported_namespace": "Namespace",
|
||||||
"kind": "Kind",
|
"kind": "Kind",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"namespace": "Operator Namespace",
|
"namespace": "Operator Namespace",
|
||||||
"ready": "Status"
|
"ready": "Status",
|
||||||
|
"Value": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "filterFieldsByName",
|
||||||
|
"options": {
|
||||||
|
"include": {
|
||||||
|
"pattern": "(Namespace|Kind|Name|Status)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "table"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "${DS_PROMETHEUS}"
|
||||||
|
},
|
||||||
|
"description": "",
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"align": "auto",
|
||||||
|
"cellOptions": {
|
||||||
|
"type": "auto"
|
||||||
|
},
|
||||||
|
"filterable": true,
|
||||||
|
"inspect": false
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "transparent",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byType",
|
||||||
|
"options": "string"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "custom.cellOptions",
|
||||||
|
"value": {
|
||||||
|
"mode": "basic",
|
||||||
|
"type": "color-background"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 11,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 21
|
||||||
|
},
|
||||||
|
"id": 36,
|
||||||
|
"options": {
|
||||||
|
"cellHeight": "sm",
|
||||||
|
"footer": {
|
||||||
|
"countRows": false,
|
||||||
|
"fields": "",
|
||||||
|
"reducer": [
|
||||||
|
"sum"
|
||||||
|
],
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
"showHeader": true,
|
||||||
|
"sortBy": [
|
||||||
|
{
|
||||||
|
"desc": true,
|
||||||
|
"displayName": "Namespace"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.1.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"exemplar": true,
|
||||||
|
"expr": "gotk_resource_info{exported_namespace=~\"$namespace\", suspended=\"true\"}",
|
||||||
|
"format": "table",
|
||||||
|
"instant": true,
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Suspended Objects",
|
||||||
|
"transformations": [
|
||||||
|
{
|
||||||
|
"id": "organize",
|
||||||
|
"options": {
|
||||||
|
"excludeByName": {
|
||||||
|
"__name__": false,
|
||||||
|
"app": false,
|
||||||
|
"bucket_name": false,
|
||||||
|
"container": false,
|
||||||
|
"customresource_group": false,
|
||||||
|
"customresource_kind": false,
|
||||||
|
"customresource_version": false,
|
||||||
|
"endpoint": false,
|
||||||
|
"exported_namespace": false,
|
||||||
|
"gotk_type": false,
|
||||||
|
"instance": false,
|
||||||
|
"job": false,
|
||||||
|
"kubernetes_namespace": false,
|
||||||
|
"kubernetes_pod_name": false,
|
||||||
|
"namespace": false,
|
||||||
|
"pod": false,
|
||||||
|
"pod_template_hash": false,
|
||||||
|
"ready": false,
|
||||||
|
"revision": false,
|
||||||
|
"service": false,
|
||||||
|
"source_name": false,
|
||||||
|
"status": false,
|
||||||
|
"suspended": false,
|
||||||
|
"Time": false,
|
||||||
|
"type": false,
|
||||||
|
"url": false,
|
||||||
|
"Value": false
|
||||||
|
},
|
||||||
|
"indexByName": {
|
||||||
|
"__name__": 1,
|
||||||
|
"container": 2,
|
||||||
|
"customresource_group": 5,
|
||||||
|
"customresource_kind": 6,
|
||||||
|
"customresource_version": 7,
|
||||||
|
"endpoint": 8,
|
||||||
|
"exported_namespace": 4,
|
||||||
|
"instance": 9,
|
||||||
|
"job": 10,
|
||||||
|
"name": 11,
|
||||||
|
"namespace": 3,
|
||||||
|
"pod": 12,
|
||||||
|
"ready": 13,
|
||||||
|
"service": 14,
|
||||||
|
"Time": 0,
|
||||||
|
"Value": 15
|
||||||
|
},
|
||||||
|
"renameByName": {
|
||||||
|
"customresource_kind": "Kind",
|
||||||
|
"exported_namespace": "Namespace",
|
||||||
|
"name": "Name"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "filterFieldsByName",
|
||||||
|
"options": {
|
||||||
|
"include": {
|
||||||
|
"pattern": "(Namespace|Name|Kind)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -813,7 +989,7 @@
|
|||||||
"h": 1,
|
"h": 1,
|
||||||
"w": 24,
|
"w": 24,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 21
|
"y": 32
|
||||||
},
|
},
|
||||||
"id": 17,
|
"id": 17,
|
||||||
"panels": [],
|
"panels": [],
|
||||||
@@ -921,7 +1097,7 @@
|
|||||||
"h": 8,
|
"h": 8,
|
||||||
"w": 24,
|
"w": 24,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 22
|
"y": 33
|
||||||
},
|
},
|
||||||
"id": 27,
|
"id": 27,
|
||||||
"options": {
|
"options": {
|
||||||
@@ -1053,7 +1229,7 @@
|
|||||||
"h": 8,
|
"h": 8,
|
||||||
"w": 24,
|
"w": 24,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 30
|
"y": 41
|
||||||
},
|
},
|
||||||
"id": 35,
|
"id": 35,
|
||||||
"options": {
|
"options": {
|
||||||
@@ -1122,9 +1298,9 @@
|
|||||||
"regex": "",
|
"regex": "",
|
||||||
"skipUrlSync": false,
|
"skipUrlSync": false,
|
||||||
"sort": 5,
|
"sort": 5,
|
||||||
"tagValuesQuery": "",
|
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"tagsQuery": "",
|
"tagsQuery": "",
|
||||||
|
"tagValuesQuery": "",
|
||||||
"type": "query",
|
"type": "query",
|
||||||
"useTags": false
|
"useTags": false
|
||||||
},
|
},
|
||||||
@@ -1156,9 +1332,9 @@
|
|||||||
"regex": "",
|
"regex": "",
|
||||||
"skipUrlSync": false,
|
"skipUrlSync": false,
|
||||||
"sort": 0,
|
"sort": 0,
|
||||||
"tagValuesQuery": "",
|
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"tagsQuery": "",
|
"tagsQuery": "",
|
||||||
|
"tagValuesQuery": "",
|
||||||
"type": "query",
|
"type": "query",
|
||||||
"useTags": false
|
"useTags": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1437,51 +1437,86 @@
|
|||||||
"type": "timeseries"
|
"type": "timeseries"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"aliasColors": {},
|
|
||||||
"bars": true,
|
|
||||||
"dashLength": 10,
|
|
||||||
"dashes": false,
|
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"uid": "${DS_PROMETHEUS}"
|
"uid": "${DS_PROMETHEUS}"
|
||||||
},
|
},
|
||||||
"decimals": 2,
|
|
||||||
"description": "",
|
"description": "",
|
||||||
"fill": 1,
|
"fieldConfig": {
|
||||||
"fillGradient": 0,
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "bars",
|
||||||
|
"fillOpacity": 100,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "stepAfter",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "opm"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 9,
|
"h": 9,
|
||||||
"w": 12,
|
"w": 12,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 70
|
"y": 70
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
|
||||||
"id": 5,
|
"id": 5,
|
||||||
"legend": {
|
|
||||||
"alignAsTable": true,
|
|
||||||
"avg": true,
|
|
||||||
"current": true,
|
|
||||||
"max": false,
|
|
||||||
"min": false,
|
|
||||||
"rightSide": false,
|
|
||||||
"show": true,
|
|
||||||
"total": false,
|
|
||||||
"values": true
|
|
||||||
},
|
|
||||||
"lines": false,
|
|
||||||
"linewidth": 1,
|
|
||||||
"nullPointMode": "null",
|
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"legend": {
|
||||||
|
"calcs": [
|
||||||
|
"mean",
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "multi",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"percentage": false,
|
|
||||||
"pluginVersion": "10.0.3",
|
"pluginVersion": "10.0.3",
|
||||||
"pointradius": 2,
|
|
||||||
"points": false,
|
|
||||||
"renderer": "flot",
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"spaceLength": 10,
|
|
||||||
"stack": false,
|
|
||||||
"steppedLine": true,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"datasource": {
|
"datasource": {
|
||||||
@@ -1504,37 +1539,8 @@
|
|||||||
"refId": "B"
|
"refId": "B"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
|
||||||
"timeRegions": [],
|
|
||||||
"title": "Helm Releases ops/min",
|
"title": "Helm Releases ops/min",
|
||||||
"tooltip": {
|
"type": "timeseries"
|
||||||
"shared": true,
|
|
||||||
"sort": 0,
|
|
||||||
"value_type": "individual"
|
|
||||||
},
|
|
||||||
"type": "graph",
|
|
||||||
"xaxis": {
|
|
||||||
"mode": "time",
|
|
||||||
"show": true,
|
|
||||||
"values": []
|
|
||||||
},
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"$$hashKey": "object:1102",
|
|
||||||
"format": "opm",
|
|
||||||
"logBase": 1,
|
|
||||||
"show": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$$hashKey": "object:1103",
|
|
||||||
"format": "short",
|
|
||||||
"logBase": 1,
|
|
||||||
"show": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"yaxis": {
|
|
||||||
"align": false
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"datasource": {
|
"datasource": {
|
||||||
@@ -1692,8 +1698,8 @@
|
|||||||
"regex": "/.*namespace=\"([^\"]*).*/",
|
"regex": "/.*namespace=\"([^\"]*).*/",
|
||||||
"skipUrlSync": false,
|
"skipUrlSync": false,
|
||||||
"sort": 0,
|
"sort": 0,
|
||||||
"tagValuesQuery": "",
|
|
||||||
"tagsQuery": "",
|
"tagsQuery": "",
|
||||||
|
"tagValuesQuery": "",
|
||||||
"type": "query",
|
"type": "query",
|
||||||
"useTags": false
|
"useTags": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"__inputs": [
|
"__inputs": [
|
||||||
{
|
{
|
||||||
"name": "DS_LOKI",
|
|
||||||
"label": "Loki",
|
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "datasource",
|
"label": "Loki",
|
||||||
|
"name": "DS_LOKI",
|
||||||
"pluginId": "loki",
|
"pluginId": "loki",
|
||||||
"pluginName": "Loki"
|
"pluginName": "Loki",
|
||||||
|
"type": "datasource"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"annotations": {
|
"annotations": {
|
||||||
|
|||||||
Reference in New Issue
Block a user