diff --git a/CCM/BUILD.bazel b/CCM/BUILD.bazel deleted file mode 100644 index fc0325a..0000000 --- a/CCM/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/CCM/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/CCM/CCM Dashboard.json b/CCM/CCM Dashboard.json deleted file mode 100644 index f576913..0000000 --- a/CCM/CCM Dashboard.json +++ /dev/null @@ -1,2195 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 15, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 20, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"ce-nextgen\"}", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"ce-nextgen\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - ce-nextgen", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 22, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"ce-nextgen\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"ce-nextgen\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - ce-nextgen", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 10 - }, - "id": 24, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "max by(container_name) (kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"batch-processing\"})", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"batch-processing\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - batch-processing", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 10 - }, - "id": 26, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"batch-processing\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"batch-processing\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - batch-processing", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 19 - }, - "id": 27, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "max by(container_name) (kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"anomaly-detection\"})", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"anomaly-detection\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - anomaly-detection", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 19 - }, - "id": 28, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"anomaly-detection\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"anomaly-detection\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - anomaly-detection", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 28 - }, - "id": 29, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "max by(container_name) (kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"ng-ce-ui\"})", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"ng-ce-ui\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - ng-ce-ui", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 28 - }, - "id": 30, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"ng-ce-ui\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"ng-ce-ui\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - ng-ce-ui", - "type": "timeseries" - } - ], - "title": "Visibility Services", - "type": "row" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 13, - "panels": [], - "title": "Optimization Services", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 2 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"faktory\"}", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"faktory\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "Cpu Utilization - Faktory", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 2 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"faktory\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"faktory\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - Faktory", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 11 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(container_name) (kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"lwd\"})", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"lwd\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - lwd", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 11 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"lwd\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"lwd\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - lwd", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 20 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(container_name) (kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"worker\"})", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"worker\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - worker", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 20 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"worker\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"worker\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - worker", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 29 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(container_name) (kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"ccm-worker\"})", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"ccm-worker\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - Gov Worker", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 29 - }, - "id": 17, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"ccm-worker\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"ccm-worker\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - Gov Worker", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 38 - }, - "id": 18, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(container_name) (kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"ccm-dkron\"})", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"ccm-dkron\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - DKron", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 38 - }, - "id": 19, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"ccm-dkron\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"ccm-dkron\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - DKron", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 47 - }, - "id": 31, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(container_name) (kubernetes_io:container_cpu_request_cores{namespace_name=~\"$cluster\", container_name=\"lwd-autocud\"})", - "legendFormat": "CPU Limit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_cpu_limit_utilization{namespace_name=~\"$cluster\", container_name=\"lwd-autocud\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU - Commitment Orch", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 47 - }, - "id": 32, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(pod_name) (kubernetes_io:container_memory_used_bytes{container_name=\"lwd-autocud\", namespace_name=~\"$cluster\", memory_type=\"non-evictable\"})", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(namespace_name) (kubernetes_io:container_memory_limit_bytes{namespace_name=~\"$cluster\", container_name=\"lwd-autocud\"})", - "hide": false, - "legendFormat": "Memory_Limit", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization - Commitment Orch", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "lightwing-free|harness-nextgen-free|harness-free", - "value": "lightwing-free|harness-nextgen-free|harness-free" - }, - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [ - { - "selected": false, - "text": "lightwing|harness-nextgen|harness", - "value": "lightwing|harness-nextgen|harness" - }, - { - "selected": true, - "text": "lightwing-free|harness-nextgen-free|harness-free", - "value": "lightwing-free|harness-nextgen-free|harness-free" - } - ], - "query": "lightwing|harness-nextgen|harness, lightwing-free|harness-nextgen-free|harness-free", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "System Dashboard", - "uid": "FEOcUTRIz", - "version": 1, - "weekStart": "" -} diff --git a/CCM/Operational Dashboard.json b/CCM/Operational Dashboard.json deleted file mode 100644 index a6de054..0000000 --- a/CCM/Operational Dashboard.json +++ /dev/null @@ -1,1135 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 12, - "panels": [], - "title": "Visibility Services", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#627ea8", - "mode": "fixed" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 14, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Total_Error_Rate$/", - "values": false - }, - "text": {}, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(job) (io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{namespace=~\"$cluster\", serviceName=\"ce-nextgen-application\"})", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(job) (io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{namespace=~\"$cluster\", serviceName=\"ce-nextgen-application\"})", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_count{namespace=~\"$cluster\", serviceName=\"ce-nextgen-application\"})", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - } - ], - "title": "Mean Error Rate", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#627ea8", - "mode": "fixed" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 18, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^99\\.9%$/", - "values": false - }, - "text": {}, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{serviceName=\"ce-nextgen-application\", namespace=~\"$cluster\"})", - "legendFormat": "99.9%", - "range": true, - "refId": "A" - } - ], - "title": "Mean Response Time (95%)", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "( 4xx + 5xx ) / total requests", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "fixed" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percentunit" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "^(?!.*Total Error Rate).*$" - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": true, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 3 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{serviceName=\"ce-nextgen-application\", namespace=~\"$cluster\"}[5m]))", - "hide": false, - "legendFormat": "4xx Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{serviceName=\"ce-nextgen-application\", namespace=~\"$cluster\"}[5m]))", - "hide": false, - "legendFormat": "5xx Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{serviceName=\"ce-nextgen-application\", namespace=~\"$cluster\"}[5m]))", - "hide": false, - "legendFormat": "Total Count", - "range": true, - "refId": "C" - } - ], - "title": "HTTP Error Rate", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx Count", - "reducer": "sum", - "right": "5xx Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total Error Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "fixed" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 3 - }, - "id": 20, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{serviceName=\"ce-nextgen-application\", namespace=~\"$cluster\"})", - "legendFormat": "95th percentile snapshot", - "range": true, - "refId": "A" - } - ], - "title": "HTTP Response 95th percentile", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 10, - "panels": [], - "title": "Optimization Services", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(namespace) (increase(ccm_lw_as_warmup_total{namespace=~\"$cluster\"}[1h]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Warmup Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(namespace) (increase(ccm_lw_as_cooldown_total{namespace=~\"$cluster\"}[1h]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Cooldown Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 21 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "ccm_lw_job_waiting_time{namespace=~\"$cluster\"}", - "legendFormat": "{{instance}}", - "range": true, - "refId": "A" - } - ], - "title": "Background Job Latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 21 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(code) (increase(ccm_lw_http_requests_completed{namespace=~\"$cluster\"}[1s]))", - "legendFormat": "{{code}}", - "range": true, - "refId": "A" - } - ], - "title": "HTTP Requests/second", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 29 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(operation, account_id) (increase(ccm_lw_as_rule_operation_error_total{namespace=~\"$cluster\"}[10m]))", - "legendFormat": "{{account_id}}-{{operation}}", - "range": true, - "refId": "A" - } - ], - "title": "AutoStopping Rule Operation Errors", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 30 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(namespace) (increase(ccm_lw_job_success_total{namespace=~\"$cluster\"}[1m]))", - "legendFormat": "{{code}}", - "range": true, - "refId": "A" - } - ], - "title": "Faktory Job Processed (1m)", - "type": "timeseries" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "lightwing|harness-nextgen|harness", - "value": "lightwing|harness-nextgen|harness" - }, - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [ - { - "selected": true, - "text": "lightwing|harness-nextgen|harness", - "value": "lightwing|harness-nextgen|harness" - }, - { - "selected": false, - "text": "lightwing-free|harness-nextgen-free|harness-free", - "value": "lightwing-free|harness-nextgen-free|harness-free" - } - ], - "query": "lightwing|harness-nextgen|harness, lightwing-free|harness-nextgen-free|harness-free", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Operational Dashboard", - "uid": "ryNBabgIz", - "version": 1, - "weekStart": "" -} diff --git a/CD-Core/BUILD.bazel b/CD-Core/BUILD.bazel deleted file mode 100644 index ca4e06a..0000000 --- a/CD-Core/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/CD-Core/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/CD-Core/Weekly_Health_Report.json b/CD-Core/Weekly_Health_Report.json deleted file mode 100644 index dd85a00..0000000 --- a/CD-Core/Weekly_Health_Report.json +++ /dev/null @@ -1,527 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 4, - "panels": [], - "repeat": "container", - "repeatDirection": "h", - "title": "$container", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 5000 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by(container_name, namespace_name) (label_replace(increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$container\", severity=~\"ERROR|CRITICAL\"}[$__interval]), \"container_name\", \"$1\", \"pod_name\", \"^(pipeline-service|gitops-service|template-service|queue-service|ng-manager|manager|migrator|debezium-service|policy-mgmt)\"))", - "legendFormat": "{{namespace}/{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Errors by service ($namespace)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 48, - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(container_name, namespace_name) (label_replace(increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$container\", severity=~\"ERROR|CRITICAL\"}[$__interval]), \"container_name\", \"$1\", \"pod_name\", \"^(ff-[a-z]-server|pushpin)\")) - sum by(container_name, namespace_name) (label_replace(increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$container\", severity=~\"ERROR|CRITICAL\"}[$__interval] offset 1w), \"container_name\", \"$1\", \"pod_name\", \"^(pipeline-service|gitops-service|template-service|queue-service|ng-manager|manager|migrator|debezium-service|policy-mgmt)\"))", - "legendFormat": "{{namespace}/{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Comparison to last week ($namespace)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 5000 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 22, - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(container_name, namespace_name) (label_replace(increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$container\", severity=~\"ERROR|CRITICAL\"}[$__interval] offset 1w), \"container_name\", \"$1\", \"pod_name\", \"^(pipeline-service|gitops-service|template-service|queue-service|ng-manager|manager|migrator|debezium-service|policy-mgmt)\"))", - "legendFormat": "{{namespace}/{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Last week errors by service ($namespace)", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [ - "CD" - ], - "templating": { - "list": [ - { - "allValue": "(ProdSetup)-.*", - "current": { - "selected": true, - "text": [ - "ProdSetup-ManagedPrometheus" - ], - "value": [ - "ProdSetup-ManagedPrometheus" - ] - }, - "hide": 0, - "includeAll": true, - "label": "Datasource", - "multi": true, - "name": "datasource", - "options": [], - "query": "prometheus", - "refresh": 1, - "regex": "(ProdSetup)-.*", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": "prod-private-uswest1-primary", - "current": { - "selected": false, - "text": [ - "prod-private-uswest1-primary" - ], - "value": [ - "prod-private-uswest1-primary" - ] - }, - "hide": 0, - "includeAll": true, - "label": "Cluster", - "multi": true, - "name": "cluster", - "options": [ - { - "selected": false, - "text": "All", - "value": "$__all" - }, - { - "selected": true, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - } - ], - "query": "prod-private-uswest1-primary", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "allValue": ".*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.|gitops-s.*|policy-mgmt.*\"}", - "hide": 0, - "includeAll": true, - "label": "Namespace", - "multi": true, - "name": "namespace", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.|gitops-s.*|policy-mgmt.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*namespace_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt", - "value": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt" - }, - "hide": 0, - "includeAll": false, - "label": "Service", - "multi": false, - "name": "service", - "options": [ - { - "selected": true, - "text": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt", - "value": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt" - } - ], - "query": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "allValue": "manager|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"harness.*|policy-mgmt.*\", container_name=~\"$service\"}", - "hide": 0, - "includeAll": true, - "label": "Container", - "multi": true, - "name": "container", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"harness.*|policy-mgmt.*\", container_name=~\"$service\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*container_name=\\\"([\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt.*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"harness.*|policy-mgmt.*\", container_name=~\"$service\", pod_name=~\"$service\"}", - "hide": 0, - "includeAll": true, - "label": "Pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"harness.*|policy-mgmt.*\", container_name=~\"$service\", pod_name=~\"$service\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*pod_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now-7d", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Weekly Health Report", - "uid": "nvcG1SkIz", - "version": 26, - "weekStart": "" -} \ No newline at end of file diff --git a/CD-OPA-GitOps-CV/BUILD.bazel b/CD-OPA-GitOps-CV/BUILD.bazel deleted file mode 100644 index 8fe2809..0000000 --- a/CD-OPA-GitOps-CV/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/CD-OPA-GitOps-CV/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/CD-OPA-GitOps-CV/Queue_Service_Dashboard.json b/CD-OPA-GitOps-CV/Queue_Service_Dashboard.json deleted file mode 100644 index a5cca96..0000000 --- a/CD-OPA-GitOps-CV/Queue_Service_Dashboard.json +++ /dev/null @@ -1,624 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 4, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(increase(enqueue_requests_per_module_success{topic=\"ci\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(increase(dequeue_requests_per_module_success{topic=\"ci\"}[5m]))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(increase(dequeue_requests_per_module_failure{topic=\"ci\"}[5m]))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(increase(enqueue_requests_per_module_failure{topic=\"ci\"}[5m]))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "D" - } - ], - "title": "Total Enqueue / Dequeue requests per module", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(increase(echo_request_duration_seconds_bucket{url=\"/v1/queue\", le=\"+Inf\", code!=\"200\"}[5m]))\n", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(increase(echo_request_duration_seconds_bucket{url=\"/v1/ack\", le=\"+Inf\", code=\"400\" }[5m]))\n", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(increase(echo_request_duration_seconds_bucket{url=\"/v1/dequeue\", le=\"+Inf\", code=\"400\"}[5m]))\n", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Queue/ Ack/ Dequeue Requests Failures", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(increase(echo_request_duration_seconds_bucket{url=\"/v1/queue\", le=\"+Inf\", code=\"200\"}[5m]))\n", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(increase(echo_request_duration_seconds_bucket{url=\"/v1/ack\", le=\"+Inf\", code=\"200\"}[5m]))\n", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(increase(echo_request_duration_seconds_bucket{url=\"/v1/dequeue\", le=\"+Inf\", code=\"200\"}[5m]))\n", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Queue/ Ack/ Dequeue Requests TPS", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(increase(echo_request_duration_seconds_bucket{url=\"/v1/dequeue\", le=\"+Inf\", code=\"200\"}[5m]))\n", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Queue/ Ack/ Dequeue Requests Success", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 16 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(echo_request_duration_seconds_bucket{url=\"/v1/queue\", code=\"200\"}[5m])) by (le))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(echo_request_duration_seconds_bucket{url=\"/v1/ack\", code=\"200\"}[5m])) by (le))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(echo_request_duration_seconds_bucket{url=\"/v1/dequeue\", code=\"200\"}[5m])) by (le))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Queue/ Ack/ Dequeue Requests Latency", - "type": "timeseries" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Queue Service Dashboard", - "uid": "NwpiXl0Vz", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/CD-Pipeline/BUILD.bazel b/CD-Pipeline/BUILD.bazel deleted file mode 100644 index 9af4719..0000000 --- a/CD-Pipeline/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/CD-Pipeline/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/CD-Pipeline/Pipeline_Execution.json b/CD-Pipeline/Pipeline_Execution.json deleted file mode 100644 index 30bddd7..0000000 --- a/CD-Pipeline/Pipeline_Execution.json +++ /dev/null @@ -1,1280 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 65, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 11, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[10m]))", - "legendFormat": "Delta Count", - "range": true, - "refId": "A" - } - ], - "title": "Pipeline Completion Count in last 10mins", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "APPROVAL_REJECTED", - "ABORTED", - "ERRORED", - "EXPIRED", - "FAILED", - "IGNORE_FAILED", - "SUCCEEDED" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 13, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(status) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[1h]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Hourly Pipeline Completed Statuses", - "transformations": [ - { - "id": "calculateField", - "options": { - "mode": "reduceRow", - "reduce": { - "include": [ - "ABORTED", - "APPROVAL_REJECTED", - "ERRORED", - "EXPIRED", - "FAILED", - "IGNORE_FAILED", - "SUCCEEDED" - ], - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "PercentageOfSuccess" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"$env\", status=\"SUCCEEDED\"}[10m]))", - "legendFormat": "Success", - "range": true, - "refId": "Succeeded Executions" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"$env\", status=\"IGNORE_FAILED\"}[10m]))", - "hide": false, - "legendFormat": "IgnoreFailed", - "range": true, - "refId": "IgnoreFailed Executions" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[10m]))", - "hide": false, - "legendFormat": "Total", - "range": true, - "refId": "Total" - } - ], - "title": "% of Success Executions in last 10min", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Success", - "binary": { - "left": "Success", - "reducer": "sum", - "right": "IgnoreFailed" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Success_Rate", - "binary": { - "left": "Total_Success", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "PercentageOfSuccess", - "binary": { - "left": "Total_Success_Rate", - "operator": "*", - "reducer": "sum", - "right": "100" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "PercentageOfFailedOrExpired" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 9, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"$env\", status=\"FAILED\"}[10m]))", - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"$env\", status=\"EXPIRED\"}[10m]))", - "hide": false, - "legendFormat": "Expired", - "range": true, - "refId": "Expired" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[10m]))", - "hide": false, - "legendFormat": "Total", - "range": true, - "refId": "Total" - } - ], - "title": "% of Failed/Expired Executions in last 10min", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_FAILED_EXPIRED", - "binary": { - "left": "Failed", - "reducer": "sum", - "right": "Expired" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Fail_Expire_Rate", - "binary": { - "left": "Total_FAILED_EXPIRED", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "PercentageOfFailedOrExpired", - "binary": { - "left": "Total_Fail_Expire_Rate", - "operator": "*", - "reducer": "sum", - "right": "100" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 17 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum(avg by(accountId) (last_over_time(custom_googleapis_com:opencensus_pipeline_execution_active_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[1m])))", - "legendFormat": "Running Executions", - "range": true, - "refId": "A" - } - ], - "title": "Total Running Pipeline Executions", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 17 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum(avg by(accountId) (last_over_time(custom_googleapis_com:opencensus_node_execution_active_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[1m])))", - "interval": "", - "legendFormat": "Running Nodes", - "range": true, - "refId": "A" - } - ], - "title": "Total Running Node Executions", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-BlPu" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 26 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(environment) (avg by(accountId) (rate(custom_googleapis_com:opencensus_pipeline_execution_active_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[10m])))", - "legendFormat": "Rate", - "range": true, - "refId": "A" - } - ], - "title": "Rate Of Running Pipeline Executions in last 10min", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-BlPu" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 26 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (avg by(accountId) (rate(custom_googleapis_com:opencensus_node_execution_active_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[10m])))", - "interval": "", - "legendFormat": "Running Nodes", - "range": true, - "refId": "A" - } - ], - "title": "Rate of Running Nodes in last 10mins", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 35 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "topk(5, avg by(accountId) (increase(custom_googleapis_com:opencensus_pipeline_execution_active_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[10m]))) > 200", - "legendFormat": "{{accountId}}", - "range": true, - "refId": "A" - } - ], - "title": "Top 5 Accounts Running Executions in Last 10mins more than 200", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 35 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "topk(5, avg by(accountId) (increase(custom_googleapis_com:opencensus_node_execution_active_count{monitored_resource=\"k8s_container\", environment=\"$env\"}[10m]))) > 2000", - "interval": "", - "legendFormat": "{{accountId}}", - "range": true, - "refId": "A" - } - ], - "title": "Top 5 Account Running Nodes in Last 10mins more than 2000", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/Managed/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "free", - "value": "free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\"}, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Pipeline Service Execution Metrics", - "uid": "iy-7pykSk", - "version": 25, - "weekStart": "" -} \ No newline at end of file diff --git a/CD-Pipeline/Pipeline_Http_Resource_Specific.json b/CD-Pipeline/Pipeline_Http_Resource_Specific.json deleted file mode 100644 index 413de00..0000000 --- a/CD-Pipeline/Pipeline_Http_Resource_Specific.json +++ /dev/null @@ -1,2168 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 156, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 52, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "topk(10, max by(method, resource) (custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\"}))", - "legendFormat": "{{method}}[{{resource}}]", - "range": true, - "refId": "A" - } - ], - "title": "Top 10 Slowest Apis", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 38, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 10 - }, - "id": 3, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=\"4xx\", resource=\"PipelineResource\"}[5m])) * 100) / sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PipelineResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PipelineResource 4xx% [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 10 - }, - "id": 42, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "(sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=\"5xx\", resource=\"PipelineResource\"}[5m])) * 100) / sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PipelineResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PipelineResource 5xx% [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 19 - }, - "id": 39, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "(sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=\"4xx\", resource=\"InputSetResourcePMS\"}[5m])) * 100) / sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"InputSetResourcePMS\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "InputSetResource 4xx% [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 19 - }, - "id": 43, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "(sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=\"5xx\", resource=\"InputSetResourcePMS\"}[5m])) * 100) / sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"InputSetResourcePMS\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "InputSetResource 5xx% [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 28 - }, - "id": 40, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "(sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=\"4xx\", resource=\"PlanExecutionResource\"}[5m])) * 100) / sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PlanExecutionResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PlanExecutionResource 4xx% [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 28 - }, - "id": 44, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "(sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=\"5xx\", resource=\"PlanExecutionResource\"}[5m])) * 100) / sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PlanExecutionResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PlanExecutionResource 5xx% [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 37 - }, - "id": 41, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "(sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=\"4xx\", resource=\"ExecutionDetailsResource\"}[5m])) * 100) / sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"ExecutionDetailsResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "ExecutionDetailsResource 4xx% [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 37 - }, - "id": 45, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "(sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=\"5xx\", resource=\"ExecutionDetailsResource\"}[5m])) * 100) / sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"ExecutionDetailsResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "ExecutionDetailsResource 5xx% [5m]", - "transformations": [], - "type": "timeseries" - } - ], - "title": "Error %", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 36, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 2 - }, - "id": 22, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=~\"4xx|5xx\", resource=\"PipelineResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PipelineResource Rate [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 2 - }, - "id": 46, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=~\"4xx|5xx\", resource=\"InputSetResourcePMS\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "InputSetResource Rate [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 11 - }, - "id": 47, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=~\"4xx|5xx\", resource=\"PlanExecutionResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PlanExecutionResource Rate [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 11 - }, - "id": 48, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=~\"4xx|5xx\", resource=\"ExecutionDetailsResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "ExecutionDetailsResource Rate [5m]", - "transformations": [], - "type": "timeseries" - } - ], - "title": "Error Rate", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 11 - }, - "id": 34, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 12 - }, - "id": 6, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by(method) (custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PipelineResource\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Pipeline Resource Response 95th percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 12 - }, - "id": 50, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max by(method) (custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PlanExecutionResource\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PlanExecutionResource Response 95th percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 21 - }, - "id": 49, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max by(method) (custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"InputSetResourcePMS\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "InputSetResource Response 95th percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 21 - }, - "id": 51, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max by(method) (custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"ExecutionDetailsResource\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "ExecutionDetailsResource Response 95th percentile", - "type": "timeseries" - } - ], - "title": "Latency", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 32, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 27, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_count{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\", resource=\"PipelineResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PipelineResource Apis Request Rate [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 28, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_count{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\", resource=\"InputSetResourcePMS\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "InputSetResource Apis Request Rate [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 22 - }, - "id": 29, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_count{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\", resource=\"PlanExecutionResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "PlanExecutionResource Apis Request Rate [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 22 - }, - "id": 30, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(method) (rate(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_count{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\", resource=\"ExecutionDetailsResource\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "ExecutionDetailsResource Apis Request Rate [5m]", - "transformations": [], - "type": "timeseries" - } - ], - "title": "Traffic (Requests/ sec)", - "type": "row" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "QASetup-ManagedPrometheus", - "value": "QASetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/Prometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "stress", - "value": "stress" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_count{monitored_resource=\"k8s_container\"}, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_count{monitored_resource=\"k8s_container\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Pipeline-Service Http Resources Specific Observability", - "uid": "B42-bJq4k3", - "version": 15, - "weekStart": "" -} \ No newline at end of file diff --git a/CD-Pipeline/Pipeline_JVM.json b/CD-Pipeline/Pipeline_JVM.json deleted file mode 100644 index 7a590fb..0000000 --- a/CD-Pipeline/Pipeline_JVM.json +++ /dev/null @@ -1,1239 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 154, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_max{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Max", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Used", - "range": true, - "refId": "C" - } - ], - "title": "JVM Total Memory Max, Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_non_heap_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Used", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_non_heap_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - } - ], - "title": "JVM Non-Heap Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_max{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Max", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Used", - "range": true, - "refId": "C" - } - ], - "title": "JVM Heap Max, Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_pools_Metaspace_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Used", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_pools_Metaspace_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - } - ], - "title": "JVM Metaspace Memory Pool Used, Committed", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 12, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Threads count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_daemon_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Daemon Threads Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_peak_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Peak Threads Count", - "range": true, - "refId": "C" - } - ], - "title": "JVM Threads Count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 13, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_runnable_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Runnable", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_timed_waiting_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Timed Waiting", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_waiting_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Waiting", - "range": true, - "refId": "C" - } - ], - "title": "JVM Threads State", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 27 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_blocked_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Blocked", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_deadlock_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Deadlock", - "range": true, - "refId": "B" - } - ], - "title": "JVM Threads Blocked / Deadlock State", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 27 - }, - "id": 15, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (org_eclipse_jetty_util_thread_QueuedThreadPool_dw_size{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Threads servicing requests", - "range": true, - "refId": "A" - } - ], - "title": "DW Threads Count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 36 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "avg by(environment) (org_eclipse_jetty_util_thread_QueuedThreadPool_dw_utilization{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Thread Utilization %", - "range": true, - "refId": "A" - } - ], - "title": "DW Threads Utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 36 - }, - "id": 17, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (org_eclipse_jetty_util_thread_QueuedThreadPool_dw_jobs{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Queued Jobs waiting for DW Thread", - "range": true, - "refId": "A" - } - ], - "title": "Nos of Queued DW Jobs", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/Prometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "free", - "value": "free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "pipeline-service", - "value": "pipeline-service" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\"}, serviceName)", - "hide": 0, - "includeAll": false, - "label": "Service", - "multi": false, - "name": "service", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\"}, serviceName)", - "refId": "StandardVariableQuery" - }, - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "pipeline-service-free", - "value": "pipeline-service-free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\"}, job)", - "hide": 0, - "includeAll": false, - "label": "Job", - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\"}, job)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{serviceName =\"$service\", environment=\"$env\"}, pod)", - "hide": 0, - "includeAll": true, - "label": "Pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{serviceName =\"$service\", environment=\"$env\"}, pod)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Pipeline-Service JVM Observability", - "uid": "HCZgVp4Iz", - "version": 2, - "weekStart": "" -} \ No newline at end of file diff --git a/CD-Pipeline/Pipeline_Overview.json b/CD-Pipeline/Pipeline_Overview.json deleted file mode 100644 index 6edc97c..0000000 --- a/CD-Pipeline/Pipeline_Overview.json +++ /dev/null @@ -1,2900 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 132, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 17, - "panels": [], - "title": "Business Metrics", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "from": 1000, - "result": { - "color": "green", - "index": 0 - }, - "to": 100000 - }, - "type": "range" - }, - { - "options": { - "from": 0, - "result": { - "color": "red", - "index": 1 - }, - "to": 999 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 0, - "y": 1 - }, - "id": 19, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum(avg by(accountId) (last_over_time(custom_googleapis_com:opencensus_pipeline_execution_active_count{monitored_resource=\"k8s_container\", environment=\"qa\"}[1m])))", - "legendFormat": "Running Executions", - "range": true, - "refId": "A" - } - ], - "title": "Running Pipeline Executions [QA]", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "from": 500, - "result": { - "color": "green", - "index": 0 - }, - "to": 2000 - }, - "type": "range" - }, - { - "options": { - "from": 0, - "result": { - "color": "red", - "index": 1 - }, - "to": 499 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 6, - "y": 1 - }, - "id": 20, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum(avg by(accountId) (last_over_time(custom_googleapis_com:opencensus_pipeline_execution_active_count{monitored_resource=\"k8s_container\", environment=\"prod\"}[1m])))", - "legendFormat": "Running Executions", - "range": true, - "refId": "A" - } - ], - "title": "Running Pipeline Executions [Prod1]", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "from": 1600, - "result": { - "color": "green", - "index": 0 - }, - "to": 20000 - }, - "type": "range" - }, - { - "options": { - "from": 0, - "result": { - "color": "red", - "index": 1 - }, - "to": 1599 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 12, - "y": 1 - }, - "id": 21, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum(avg by(accountId) (last_over_time(custom_googleapis_com:opencensus_pipeline_execution_active_count{monitored_resource=\"k8s_container\", environment=\"free\"}[1m])))", - "legendFormat": "Running Executions", - "range": true, - "refId": "A" - } - ], - "title": "Running Pipeline Executions [Prod2]", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "from": 50, - "result": { - "color": "green", - "index": 0 - }, - "to": 1000 - }, - "type": "range" - }, - { - "options": { - "from": 0, - "result": { - "color": "red", - "index": 1 - }, - "to": 49 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 18, - "y": 1 - }, - "id": 22, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum(avg by(accountId) (last_over_time(custom_googleapis_com:opencensus_pipeline_execution_active_count{monitored_resource=\"k8s_container\", environment=\"compliance\"}[1m])))", - "legendFormat": "Running Executions", - "range": true, - "refId": "A" - } - ], - "title": "Running Pipeline Executions [Prod3]", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 39.99 - }, - "type": "range" - }, - { - "options": { - "from": 40, - "result": { - "color": "orange", - "index": 1 - }, - "to": 49.99 - }, - "type": "range" - }, - { - "options": { - "from": 50, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "PercentageOfFailedOrExpired" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Execution metrics", - "url": "https://grafana.qa.harness.io/d/iy-7pykSk/pipeline-service-execution-metrics?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 7 - }, - "id": 24, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^PercentageOfFailedOrExpired$/", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"qa\", status=\"FAILED\"}[5m]))", - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"qa\", status=\"EXPIRED\"}[5m]))", - "hide": false, - "legendFormat": "Expired", - "range": true, - "refId": "Expired" - }, - { - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"qa\"}[5m]))", - "hide": false, - "legendFormat": "Total", - "range": true, - "refId": "Total" - } - ], - "title": "% of Failed/Expired Executions [5m] [QA]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_FAILED_EXPIRED", - "binary": { - "left": "Failed", - "reducer": "sum", - "right": "Expired" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Fail_Expire_Rate", - "binary": { - "left": "Total_FAILED_EXPIRED", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "PercentageOfFailedOrExpired", - "binary": { - "left": "Total_Fail_Expire_Rate", - "operator": "*", - "reducer": "sum", - "right": "100" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 39.99 - }, - "type": "range" - }, - { - "options": { - "from": 40, - "result": { - "color": "orange", - "index": 1 - }, - "to": 49.99 - }, - "type": "range" - }, - { - "options": { - "from": 50, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "PercentageOfFailedOrExpired" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Execution metrics", - "url": "https://grafana.qa.harness.io/d/iy-7pykSk/pipeline-service-execution-metrics?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 7 - }, - "id": 15, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^PercentageOfFailedOrExpired$/", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"prod\", status=\"FAILED\"}[5m]))", - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"prod\", status=\"EXPIRED\"}[5m]))", - "hide": false, - "legendFormat": "Expired", - "range": true, - "refId": "Expired" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"prod\"}[5m]))", - "hide": false, - "legendFormat": "Total", - "range": true, - "refId": "Total" - } - ], - "title": "% of Failed/Expired Executions [5m] [Prod1]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_FAILED_EXPIRED", - "binary": { - "left": "Failed", - "reducer": "sum", - "right": "Expired" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Fail_Expire_Rate", - "binary": { - "left": "Total_FAILED_EXPIRED", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "PercentageOfFailedOrExpired", - "binary": { - "left": "Total_Fail_Expire_Rate", - "operator": "*", - "reducer": "sum", - "right": "100" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 39.99 - }, - "type": "range" - }, - { - "options": { - "from": 40, - "result": { - "color": "orange", - "index": 1 - }, - "to": 49.99 - }, - "type": "range" - }, - { - "options": { - "from": 50, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "PercentageOfFailedOrExpired" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Execution metrics", - "url": "https://grafana.qa.harness.io/d/iy-7pykSk/pipeline-service-execution-metrics?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 7 - }, - "id": 23, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^PercentageOfFailedOrExpired$/", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"free\", status=\"FAILED\"}[5m]))", - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"free\", status=\"EXPIRED\"}[5m]))", - "hide": false, - "legendFormat": "Expired", - "range": true, - "refId": "Expired" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"free\"}[5m]))", - "hide": false, - "legendFormat": "Total", - "range": true, - "refId": "Total" - } - ], - "title": "% of Failed/Expired Executions [5m] [Prod2]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_FAILED_EXPIRED", - "binary": { - "left": "Failed", - "reducer": "sum", - "right": "Expired" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Fail_Expire_Rate", - "binary": { - "left": "Total_FAILED_EXPIRED", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "PercentageOfFailedOrExpired", - "binary": { - "left": "Total_Fail_Expire_Rate", - "operator": "*", - "reducer": "sum", - "right": "100" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 39.99 - }, - "type": "range" - }, - { - "options": { - "from": 40, - "result": { - "color": "orange", - "index": 1 - }, - "to": 49.99 - }, - "type": "range" - }, - { - "options": { - "from": 50, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "PercentageOfFailedOrExpired" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Execution metrics", - "url": "https://grafana.qa.harness.io/d/iy-7pykSk/pipeline-service-execution-metrics?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 7 - }, - "id": 25, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "/^PercentageOfFailedOrExpired$/", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"compliance\", status=~\"FAILED|EXPIRED\"}[5m]))", - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total", - "range": true, - "refId": "Total" - } - ], - "title": "% of Failed/Expired Executions [5m] [Prod3]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Fail_Expire_Rate", - "binary": { - "left": "Failed", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "PercentageOfFailedOrExpired", - "binary": { - "left": "Total_Fail_Expire_Rate", - "operator": "*", - "reducer": "sum", - "right": "100" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 39.99 - }, - "type": "range" - }, - { - "options": { - "from": 40, - "result": { - "color": "orange", - "index": 1 - }, - "to": 49.99 - }, - "type": "range" - }, - { - "options": { - "from": 50, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "PercentageOfFailedOrExpired" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Execution metrics", - "url": "https://grafana.qa.harness.io/d/iy-7pykSk/pipeline-service-execution-metrics?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 14 - }, - "id": 26, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "editorMode": "builder", - "expr": "(topk(3, sum by(accountId) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"qa\", status=~\"FAILED|EXPIRED\"}[1h]))) * 100 > 2) / sum by(accountId) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"qa\"}[1h]))", - "legendFormat": "__auto", - "range": true, - "refId": "Failed" - } - ], - "title": "% of Failed/Expired Executions [1hr] [QA]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 39.99 - }, - "type": "range" - }, - { - "options": { - "from": 40, - "result": { - "color": "orange", - "index": 1 - }, - "to": 49.99 - }, - "type": "range" - }, - { - "options": { - "from": 50, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "PercentageOfFailedOrExpired" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Execution metrics", - "url": "https://grafana.qa.harness.io/d/iy-7pykSk/pipeline-service-execution-metrics?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 14 - }, - "id": 28, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "(topk(10, sum by(accountId) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"prod\", status=~\"FAILED|EXPIRED\"}[1h]))) * 100 > 2) / sum by(accountId) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"prod\"}[1h]))", - "legendFormat": "__auto", - "range": true, - "refId": "Failed" - } - ], - "title": "% of Failed/Expired Executions [1hr] [Prod1]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 39.99 - }, - "type": "range" - }, - { - "options": { - "from": 40, - "result": { - "color": "orange", - "index": 1 - }, - "to": 49.99 - }, - "type": "range" - }, - { - "options": { - "from": 50, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "PercentageOfFailedOrExpired" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Execution metrics", - "url": "https://grafana.qa.harness.io/d/iy-7pykSk/pipeline-service-execution-metrics?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 23 - }, - "id": 27, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "(topk(10, sum by(accountId) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"free\", status=~\"FAILED|EXPIRED\"}[1h]))) * 100 > 2) / sum by(accountId) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"free\"}[1h]))", - "legendFormat": "__auto", - "range": true, - "refId": "Failed" - } - ], - "title": "% of Failed/Expired Executions [1hr] [Prod2]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 39.99 - }, - "type": "range" - }, - { - "options": { - "from": 40, - "result": { - "color": "orange", - "index": 1 - }, - "to": 49.99 - }, - "type": "range" - }, - { - "options": { - "from": 50, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "PercentageOfFailedOrExpired" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Execution metrics", - "url": "https://grafana.qa.harness.io/d/iy-7pykSk/pipeline-service-execution-metrics?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 23 - }, - "id": 29, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "(topk(10, sum by(accountId) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"compliance\", status=~\"FAILED|EXPIRED\"}[1h]))) * 100 > 2) / sum by(accountId) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", environment=\"compliance\"}[1h]))", - "legendFormat": "__auto", - "range": true, - "refId": "Failed" - } - ], - "title": "% of Failed/Expired Executions [1hr] [Prod3]", - "transformations": [], - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 31 - }, - "id": 10, - "panels": [], - "title": "Latency", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "from": -100, - "result": { - "color": "green", - "index": 0 - }, - "to": 9.99 - }, - "type": "range" - }, - { - "options": { - "from": 10, - "result": { - "color": "orange", - "index": 1 - }, - "to": 14.99 - }, - "type": "range" - }, - { - "options": { - "from": 15, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "IncreaseInSecs" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Http Resource Dashboard", - "url": "https://grafana.qa.harness.io/d/B42-bJq4k1/pipeline-service-web-server-observability?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 0, - "y": 32 - }, - "id": 6, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^IncreaseInSecs$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "(sum(delta(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PipelineResource\"}[5m])) * 100) / sum(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PipelineResource\"})", - "hide": false, - "instant": false, - "legendFormat": "IncreaseInSecs", - "range": true, - "refId": "A" - } - ], - "title": "PipelineResource Latency %[5m]", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "from": -100, - "result": { - "color": "green", - "index": 0 - }, - "to": 9.99 - }, - "type": "range" - }, - { - "options": { - "from": 10, - "result": { - "color": "orange", - "index": 1 - }, - "to": 14.99 - }, - "type": "range" - }, - { - "options": { - "from": 15, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "IncreaseInSecs" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Http Resource Dashboard", - "url": "https://grafana.qa.harness.io/d/B42-bJq4k1/pipeline-service-web-server-observability?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 6, - "y": 32 - }, - "id": 11, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^IncreaseInSecs$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "(sum(delta(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"InputSetResourcePMS\"}[5m])) * 100) / sum(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"InputSetResourcePMS\"})", - "hide": false, - "instant": false, - "legendFormat": "IncreaseInSecs", - "range": true, - "refId": "A" - } - ], - "title": "InputSetResource Latency[5m]", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "from": -100, - "result": { - "color": "green", - "index": 0 - }, - "to": 9.99 - }, - "type": "range" - }, - { - "options": { - "from": 10, - "result": { - "color": "orange", - "index": 1 - }, - "to": 14.99 - }, - "type": "range" - }, - { - "options": { - "from": 15, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "IncreaseInSecs" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Http Resource Dashboard", - "url": "https://grafana.qa.harness.io/d/B42-bJq4k1/pipeline-service-web-server-observability?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 12, - "y": 32 - }, - "id": 12, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^IncreaseInSecs$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "(sum(delta(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"ExecutionDetailsResource\"}[5m])) * 100) / sum(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"ExecutionDetailsResource\"})", - "hide": false, - "instant": false, - "legendFormat": "IncreaseInSecs", - "range": true, - "refId": "A" - } - ], - "title": "ExecutionDetailsResource Latency[5m]", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "from": -100, - "result": { - "color": "green", - "index": 0 - }, - "to": 9.99 - }, - "type": "range" - }, - { - "options": { - "from": 10, - "result": { - "color": "orange", - "index": 1 - }, - "to": 14.99 - }, - "type": "range" - }, - { - "options": { - "from": 15, - "result": { - "color": "red", - "index": 2 - }, - "to": 100 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "IncreaseInSecs" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Http Resource Dashboard", - "url": "https://grafana.qa.harness.io/d/B42-bJq4k1/pipeline-service-web-server-observability?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 18, - "y": 32 - }, - "id": 13, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^IncreaseInSecs$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "(sum(delta(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PlanExecutionResource\"}[5m])) * 100) / sum(custom_googleapis_com:opencensus_io_harness_pipeline_resources_total_snapshot_95thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PlanExecutionResource\"})", - "hide": false, - "instant": false, - "legendFormat": "IncreaseInSecs", - "range": true, - "refId": "A" - } - ], - "title": "PlanExecutionResource Latency[5m]", - "transformations": [], - "type": "stat" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 37 - }, - "id": 8, - "panels": [], - "title": "Error Percentage", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 9.999999 - }, - "type": "range" - }, - { - "options": { - "from": 10, - "result": { - "color": "orange", - "index": 1 - }, - "to": 14.99 - }, - "type": "range" - }, - { - "options": { - "from": 15, - "result": { - "color": "red", - "index": 2 - }, - "to": 1000 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "ErrorPercentage" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Http Resource Dashboard", - "url": "https://grafana.qa.harness.io/d/B42-bJq4k1/pipeline-service-web-server-observability?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 0, - "y": 38 - }, - "id": 2, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^ErrorPercentage$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(serviceName) (sum_over_time(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=~\"4xx|5xx\", resource=\"PipelineResource\"}[5m])) * 100", - "hide": false, - "instant": false, - "legendFormat": "Error", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(serviceName) (sum_over_time(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PipelineResource\"}[5m]))", - "hide": false, - "instant": false, - "legendFormat": "Total", - "range": true, - "refId": "B" - } - ], - "title": "PipelineResource Error% [5m]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "ErrorPercentage", - "binary": { - "left": "Error", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - }, - "replaceFields": false - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 9.99 - }, - "type": "range" - }, - { - "options": { - "from": 10, - "result": { - "color": "orange", - "index": 1 - }, - "to": 14.99 - }, - "type": "range" - }, - { - "options": { - "from": 15, - "result": { - "color": "red", - "index": 2 - }, - "to": 1000 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "ErrorPercentage" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Http Resource Dashboard", - "url": "https://grafana.qa.harness.io/d/B42-bJq4k1/pipeline-service-web-server-observability?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 6, - "y": 38 - }, - "id": 4, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^ErrorPercentage$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(serviceName) (sum_over_time(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=~\"4xx|5xx\", resource=\"PlanExecutionResource\"}[5m])) * 100", - "hide": false, - "instant": false, - "legendFormat": "Error", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(serviceName) (sum_over_time(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"PlanExecutionResource\"}[5m]))", - "hide": false, - "instant": false, - "legendFormat": "Total", - "range": true, - "refId": "B" - } - ], - "title": "PlanExecutionResource Error% [5m]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "ErrorPercentage", - "binary": { - "left": "Error", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - }, - "replaceFields": false - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 9.99 - }, - "type": "range" - }, - { - "options": { - "from": 10, - "result": { - "color": "orange", - "index": 1 - }, - "to": 14.99 - }, - "type": "range" - }, - { - "options": { - "from": 15, - "result": { - "color": "red", - "index": 2 - }, - "to": 1000 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "ErrorPercentage" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Http Resource Dashboard", - "url": "https://grafana.qa.harness.io/d/B42-bJq4k1/pipeline-service-web-server-observability?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 12, - "y": 38 - }, - "id": 3, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^ErrorPercentage$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(serviceName) (sum_over_time(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=~\"4xx|5xx\", resource=\"InputSetResourcePMS\"}[5m])) * 100", - "hide": false, - "instant": false, - "legendFormat": "Error", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(serviceName) (sum_over_time(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"InputSetResourcePMS\"}[5m]))", - "hide": false, - "instant": false, - "legendFormat": "Total", - "range": true, - "refId": "B" - } - ], - "title": "InputSetResource Error% [5m]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "ErrorPercentage", - "binary": { - "left": "Error", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0 - }, - "to": 9.99 - }, - "type": "range" - }, - { - "options": { - "from": 10, - "result": { - "color": "orange", - "index": 1 - }, - "to": 14.99 - }, - "type": "range" - }, - { - "options": { - "from": 15, - "result": { - "color": "red", - "index": 2 - }, - "to": 1000 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "ErrorPercentage" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Http Resource Dashboard", - "url": "https://grafana.qa.harness.io/d/B42-bJq4k1/pipeline-service-web-server-observability?orgId=1" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 18, - "y": 38 - }, - "id": 5, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^ErrorPercentage$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(serviceName) (sum_over_time(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", statusCode=~\"4xx|5xx\", resource=\"ExecutionDetailsResource\"}[5m])) * 100", - "hide": false, - "instant": false, - "legendFormat": "Error", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(serviceName) (sum_over_time(custom_googleapis_com:opencensus_io_harness_pipeline_resources_responses_count{monitored_resource=\"k8s_container\", environment=\"$env\", resource=\"ExecutionDetailsResource\"}[5m]))", - "hide": false, - "instant": false, - "legendFormat": "Total", - "range": true, - "refId": "B" - } - ], - "title": "ExecutionDetailsResource Error% [5m]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "ErrorPercentage", - "binary": { - "left": "Error", - "operator": "/", - "reducer": "sum", - "right": "Total" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "QASetup-ManagedPrometheus", - "value": "QASetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/Managed/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "stress", - "value": "stress" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_count{monitored_resource=\"k8s_container\"}, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_count{monitored_resource=\"k8s_container\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-30m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Pipeline-Service Overview Dashboard", - "uid": "iy-7pykSk1", - "version": 23, - "weekStart": "" -} \ No newline at end of file diff --git a/CD-Pipeline/Pipeline_Threads_Instrumentation.json b/CD-Pipeline/Pipeline_Threads_Instrumentation.json deleted file mode 100644 index 01754fd..0000000 --- a/CD-Pipeline/Pipeline_Threads_Instrumentation.json +++ /dev/null @@ -1,1597 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 137, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "cps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_EngineExecutorService_submitted_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PipelineExecutorService_submitted_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_submitted_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_submitted_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PmsSdkCoreEventListener_submitted_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_submitted_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Submitted Tasks MeanRate Stats", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "cps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 17, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_EngineExecutorService_completed_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PipelineExecutorService_completed_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_completed_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_completed_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_completed_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PmsSdkCoreEventListener_completed_meanRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Completed Tasks MeanRate Stats", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 20, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_EngineExecutorService_running{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineExecutorService_running{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_running{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_running{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkCoreEventListener_running{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_running{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Running Count for Threads [max]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "cps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 23, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_EngineExecutorService_submitted_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PipelineExecutorService_submitted_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_submitted_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_submitted_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PmsSdkCoreEventListener_submitted_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_submitted_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Submitted Tasks FifteenMeanRate Stats", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "cps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 24, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_EngineExecutorService_completed_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PipelineExecutorService_completed_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_completed_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_completed_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PmsSdkCoreEventListener_completed_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max(custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_completed_fifteenMinuteRate{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Completed Tasks FifteenMeanRate Stats", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 27 - }, - "id": 21, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_EngineExecutorService_duration_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineExecutorService_duration_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_duration_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_duration_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkCoreEventListener_duration_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_duration_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Tasks TimeDuration Mean", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 27 - }, - "id": 18, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_EngineExecutorService_duration_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineExecutorService_duration_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_duration_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_duration_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkCoreEventListener_duration_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_duration_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Tasks TimeDuration 99 percentile", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 36 - }, - "id": 19, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_EngineExecutorService_idle_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineExecutorService_idle_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_idle_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_idle_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkCoreEventListener_idle_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_idle_mean{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Tasks Idle Mean", - "transformations": [ - { - "disabled": true, - "id": "calculateField", - "options": { - "alias": "EngineExecutoreService-duration", - "binary": { - "left": "EngineExecutorService", - "operator": "*", - "reducer": "sum", - "right": "1000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - }, - "replaceFields": false - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 36 - }, - "id": 22, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_EngineExecutorService_idle_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "EngineExecutorService", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineExecutorService_idle_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineExecutorService", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PipelineMergeCreatorExecutorService_idle_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PipelineMergeCreatorExecutorService", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PlanCreatorInternalExecutorService_idle_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PlanCreatorInternalExecutorService", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkCoreEventListener_idle_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkCoreEventListener", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by(environment) (custom_googleapis_com:opencensus_PmsSdkOrchestrationEventListener_idle_99thPercentile{monitored_resource=\"k8s_container\", environment=\"$env\", serviceName=\"pipeline-service\"})", - "hide": false, - "legendFormat": "PmsSdkOrchestrationEventListener", - "range": true, - "refId": "F" - } - ], - "title": "Pipeline-Service Tasks Idle 99 percentile", - "transformations": [ - { - "disabled": true, - "id": "calculateField", - "options": { - "alias": "EngineExecutoreService-duration", - "binary": { - "left": "EngineExecutorService", - "operator": "*", - "reducer": "sum", - "right": "1000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - }, - "replaceFields": false - } - } - ], - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/Managed/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "free", - "value": "free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\"}, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Pipeline-Service Threads Instrumentation", - "uid": "iy-7pykSk2", - "version": 20, - "weekStart": "" -} \ No newline at end of file diff --git a/CD-Pipeline/Pipeline_Web_Server.json b/CD-Pipeline/Pipeline_Web_Server.json deleted file mode 100644 index 0efca6c..0000000 --- a/CD-Pipeline/Pipeline_Web_Server.json +++ /dev/null @@ -1,1410 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 131, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#627ea8", - "mode": "fixed" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 19, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Total_Error_Rate$/", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(serviceName) (rate(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\", monitored_resource=\"k8s_container\"}[5m]))", - "hide": false, - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(serviceName) (rate(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"$env\", serviceName=\"$service\", monitored_resource=\"k8s_container\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(serviceName) (rate(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"$env\", serviceName=\"$service\", monitored_resource=\"k8s_container\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - } - ], - "title": "Mean Error%", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#627ea8", - "mode": "fixed" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 21, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^99\\.9%$/", - "values": false - }, - "text": {}, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "99.9%", - "range": true, - "refId": "A" - } - ], - "title": "Mean Response Time (95%)", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "fixed" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percentunit" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "^(?!.*Total_Error_Rate).*$" - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 2 - }, - "id": 3, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (rate(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m]))", - "legendFormat": "4xx Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (rate(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m]))", - "hide": false, - "legendFormat": "5xx Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (rate(io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"$env\", serviceName=\"$service\", pod=~\"$pod\"}[5m]))", - "hide": false, - "legendFormat": "Total Count", - "range": true, - "refId": "C" - } - ], - "title": "HTTP Error% [5m]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx Count", - "reducer": "sum", - "right": "5xx Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "fixed" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 2 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "95th percentile snapshot", - "range": true, - "refId": "A" - } - ], - "title": "HTTP Response 95th percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "cpm" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "5xx Rate [5m]", - "4xx Rate [5m]" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 11 - }, - "id": 22, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (rate(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m])) * 60", - "legendFormat": "4xx Rate", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (rate(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m])) * 60", - "hide": false, - "legendFormat": "5xx Rate", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (rate(io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"$env\", serviceName=\"$service\", pod=~\"$pod\"}[5m]))", - "hide": false, - "legendFormat": "Total Rate", - "range": true, - "refId": "C" - } - ], - "title": "HTTP Error Rate [5m]", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "4xx Rate [5m]", - "binary": { - "left": "4xx Rate", - "operator": "/", - "reducer": "sum", - "right": "Total Rate" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - }, - "replaceFields": false - } - }, - { - "id": "calculateField", - "options": { - "alias": "5xx Rate [5m]", - "binary": { - "left": "5xx Rate", - "operator": "/", - "reducer": "sum", - "right": "Total Rate" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - }, - "replaceFields": false - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 11 - }, - "id": 7, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_99thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "99th percentile snapshot", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_999thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "99.9th percentile snapshot", - "range": true, - "refId": "B" - } - ], - "title": "HTTP Response 99th percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 20 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m]))", - "legendFormat": "4xx Count [5m]", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m]))", - "hide": false, - "legendFormat": "5xx Count [5m]", - "range": true, - "refId": "B" - } - ], - "title": "HTTP Error Count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 20 - }, - "id": 25, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_snapshot_95thPercentile{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"get\"})", - "legendFormat": "GET", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_snapshot_95thPercentile{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"post\"})", - "hide": false, - "legendFormat": "POST", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_snapshot_95thPercentile{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"put\"})", - "hide": false, - "legendFormat": "PUT", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_snapshot_95thPercentile{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"delete\"})", - "hide": false, - "legendFormat": "DELETE", - "range": true, - "refId": "D" - } - ], - "title": "HTTP Method Latency 95 percentile", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "cpm" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 29 - }, - "id": 23, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(serviceName) (rate(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_count{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"get\"}[5m])) * 60", - "legendFormat": "GET", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(serviceName) (rate(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_count{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"post\"}[5m])) * 60", - "hide": false, - "legendFormat": "POST", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(serviceName) (rate(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_count{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"put\"}[5m])) * 60", - "hide": false, - "legendFormat": "PUT", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(serviceName) (rate(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_count{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"delete\"}[5m])) * 60", - "hide": false, - "legendFormat": "DELETE", - "range": true, - "refId": "D" - } - ], - "title": "HTTP Method Request Rate [5m]", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 29 - }, - "id": 26, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_snapshot_99thPercentile{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"get\"})", - "legendFormat": "GET", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_snapshot_99thPercentile{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"post\"})", - "hide": false, - "legendFormat": "POST", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_snapshot_99thPercentile{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"put\"})", - "hide": false, - "legendFormat": "PUT", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "max(custom_googleapis_com:opencensus_io_dropwizard_jetty_MutableServletContextHandler_http_method_requests_snapshot_99thPercentile{environment=\"stress\", serviceName=\"$service\", monitored_resource=\"k8s_container\", method=\"delete\"})", - "hide": false, - "legendFormat": "DELETE", - "range": true, - "refId": "D" - } - ], - "title": "HTTP Method Latency 99 percentile", - "transformations": [], - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/Prometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "free", - "value": "free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "pipeline-service", - "value": "pipeline-service" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\"}, serviceName)", - "hide": 0, - "includeAll": false, - "label": "Service", - "multi": false, - "name": "service", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\"}, serviceName)", - "refId": "StandardVariableQuery" - }, - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "pipeline-service-free", - "value": "pipeline-service-free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\"}, job)", - "hide": 0, - "includeAll": false, - "label": "Job", - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\"}, job)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{serviceName =\"$service\", environment=\"$env\"}, pod)", - "hide": 0, - "includeAll": true, - "label": "Pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{serviceName =\"$service\", environment=\"$env\"}, pod)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Pipeline-Service Web-Server Observability", - "uid": "B42-bJq4k1", - "version": 21, - "weekStart": "" -} \ No newline at end of file diff --git a/Chaos/BUILD.bazel b/Chaos/BUILD.bazel deleted file mode 100644 index 4fd818d..0000000 --- a/Chaos/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Chaos/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Chaos/Chaos_Execution_Plane_Metrics_Prod_1.json b/Chaos/Chaos_Execution_Plane_Metrics_Prod_1.json deleted file mode 100644 index 1f73033..0000000 --- a/Chaos/Chaos_Execution_Plane_Metrics_Prod_1.json +++ /dev/null @@ -1,401 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 16, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "exemplar": false, - "expr": "chaos_infra_availability{infra_id=\"$infra_id\"}", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Number of Infra Connected", - "type": "timeseries" - }, - { - "datasource": {}, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 4, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "7vj5KsKVk" - }, - "editorMode": "code", - "expr": "chaos_experiment_runs{infr_id=\"$infra_id\"}", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Number of Experiment Running", - "type": "gauge" - }, - { - "datasource": {}, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 6, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "7vj5KsKVk" - }, - "editorMode": "code", - "expr": "chaos_experiment_total_runs{infr_id=\"$infra_id\"}", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Total Number of Experiment Runs", - "type": "gauge" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "6_vVHzo9Qeu9fXvj-AcbCQ", - "value": "6_vVHzo9Qeu9fXvj-AcbCQ" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{namespace=\"chaos-prod1\"},acc_id)", - "hide": 0, - "includeAll": false, - "label": "", - "multi": false, - "name": "account_id", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{namespace=\"chaos-prod1\"},acc_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "fb63e4d6-48ee-43ce-9ada-cb50a485ffa2", - "value": "fb63e4d6-48ee-43ce-9ada-cb50a485ffa2" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{infra_name=\"$infra_name\"},infra_id)", - "hide": 0, - "includeAll": false, - "label": "infra_id", - "multi": false, - "name": "infra_id", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{infra_name=\"$infra_name\"},infra_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "asdf", - "value": "asdf" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{exported_project_id=\"$project_id\"},infra_name)", - "hide": 0, - "includeAll": false, - "label": "infra_name", - "multi": false, - "name": "infra_name", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{exported_project_id=\"$project_id\"},infra_name)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "SE_Sandbox", - "value": "SE_Sandbox" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{acc_id=\"$account_id\"},org_id)", - "hide": 0, - "includeAll": false, - "label": "org_id", - "multi": false, - "name": "org_id", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{acc_id=\"$account_id\"},org_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "Kouhsari", - "value": "Kouhsari" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{org_id=\"$org_id\",acc_id=\"$account_id\"},exported_project_id)", - "hide": 0, - "includeAll": false, - "label": "project_id", - "multi": false, - "name": "project_id", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{org_id=\"$org_id\",acc_id=\"$account_id\"},exported_project_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Chaos_Execution_Plane_Metrics_Prod_1", - "uid": "iJVmI_cVl", - "version": 1, - "weekStart": "" -} diff --git a/Chaos/Chaos_Execution_Plane_Metrics_Prod_2.json b/Chaos/Chaos_Execution_Plane_Metrics_Prod_2.json deleted file mode 100644 index 093bcf9..0000000 --- a/Chaos/Chaos_Execution_Plane_Metrics_Prod_2.json +++ /dev/null @@ -1,401 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 17, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "exemplar": false, - "expr": "chaos_infra_availability{infra_id=\"$infra_id\"}", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Number of Infra Connected", - "type": "timeseries" - }, - { - "datasource": {}, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 4, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "7vj5KsKVk" - }, - "editorMode": "code", - "expr": "chaos_experiment_runs{infr_id=\"$infra_id\"}", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Number of Experiment Running", - "type": "gauge" - }, - { - "datasource": {}, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 6, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "7vj5KsKVk" - }, - "editorMode": "code", - "expr": "chaos_experiment_total_runs{infr_id=\"$infra_id\"}", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Total Number of Experiment Runs", - "type": "gauge" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "7jGaMCDbQym5wg04FFmdFg", - "value": "7jGaMCDbQym5wg04FFmdFg" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{namespace=\"chaos-prod2\"},acc_id)", - "hide": 0, - "includeAll": false, - "label": "", - "multi": false, - "name": "account_id", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{namespace=\"chaos-prod2\"},acc_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "9904176c-0641-493b-955d-6484426b781a", - "value": "9904176c-0641-493b-955d-6484426b781a" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{infra_name=\"$infra_name\"},infra_id)", - "hide": 0, - "includeAll": false, - "label": "infra_id", - "multi": false, - "name": "infra_id", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{infra_name=\"$infra_name\"},infra_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "lg", - "value": "lg" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{exported_project_id=\"$project_id\"},infra_name)", - "hide": 0, - "includeAll": false, - "label": "infra_name", - "multi": false, - "name": "infra_name", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{exported_project_id=\"$project_id\"},infra_name)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "default", - "value": "default" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{acc_id=\"$account_id\"},org_id)", - "hide": 0, - "includeAll": false, - "label": "org_id", - "multi": false, - "name": "org_id", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{acc_id=\"$account_id\"},org_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "default_project", - "value": "default_project" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(chaos_infra_availability{org_id=\"$org_id\",acc_id=\"$account_id\"},exported_project_id)", - "hide": 0, - "includeAll": false, - "label": "project_id", - "multi": false, - "name": "project_id", - "options": [], - "query": { - "query": "label_values(chaos_infra_availability{org_id=\"$org_id\",acc_id=\"$account_id\"},exported_project_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Chaos Execution Plane Metrics-prod-2", - "uid": "iJVmI_cVk", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Chaos/SLIs.json b/Chaos/SLIs.json deleted file mode 100644 index 71b2597..0000000 --- a/Chaos/SLIs.json +++ /dev/null @@ -1,4760 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Chaos SLIs Dashboards for all prod environment", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 206, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "panels": [], - "title": "Prod2", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "monitor_status Monitor Status (1 = UP, 0= DOWN, 2= PENDING, 3= MAINTENANCE)", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 22, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "monitor_status{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD2]\"}", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos UI Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "min": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 10000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 4 - }, - "id": 24, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD2]\"}", - "legendFormat": "Current", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "avg_over_time(monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD2]\"}[24h])", - "hide": true, - "legendFormat": "AVG 24H", - "range": true, - "refId": "B" - } - ], - "title": "Chaos UI Response Time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 4 - }, - "id": 26, - "options": { - "displayMode": "lcd", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "valueMode": "color" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD2]\"}", - "legendFormat": "Current", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD2]\"}[6h])", - "hide": false, - "legendFormat": "p95 6H", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD2]\"}[12h])", - "hide": false, - "legendFormat": "p95 12H", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD2]\"}[24h])", - "hide": false, - "legendFormat": "p95 24H", - "range": true, - "refId": "D" - } - ], - "title": "Chaos UI Latency", - "type": "bargauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 13 - }, - "id": 27, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen-free\", container_name=\"chaos-manager\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos Manager Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 16 - }, - "id": 6, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-manager\", namespace=\"harness-nextgen-free\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-manager\", namespace=\"harness-nextgen-free\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-manager) All APIs", - "type": "timeseries" - }, - { - "datasource": {}, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "dark-red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 16 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"chaos-manager\", namespace=\"harness-nextgen-free\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(chaos-manager)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 25 - }, - "id": 28, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen-free\", container_name=\"chaos-k8s-ifs\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos K8s IFS Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1.0001 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 13, - "x": 0, - "y": 28 - }, - "id": 10, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen-free\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen-free\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-k8s-ifs) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": -2, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 13, - "y": 28 - }, - "id": 12, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen-free\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(k8s-ifs)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 36 - }, - "id": 29, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen-free\", container_name=\"chaos-linux-ifs\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos Linux IFS Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "sum(rate(chaos_api_error_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m]))" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 39 - }, - "id": 14, - "options": { - "legend": { - "calcs": [ - "max", - "min", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-linux-ifs) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 39 - }, - "id": 16, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(linux-ifs)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 48 - }, - "id": 30, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen-free\", container_name=\"service-discovery-manager\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Service Discovery Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 13, - "x": 0, - "y": 51 - }, - "id": 18, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(sdm_api_error_requests_total{namespace=\"harness-nextgen-free\"}[5m])) / sum(rate(sdm_api_requests_total{namespace=\"harness-nextgen-free\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (service_discovery) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 13, - "y": 51 - }, - "id": 20, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(sdm_request_duration_seconds_bucket{namespace=\"harness-nextgen-free\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(service-discovery)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 10000 - } - ] - }, - "unit": "ms" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "95th percentile" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 59 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_guard_rule_evaluation_duration_milli_seconds_bucket{namespace=\"harness-nextgen-free\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "Chaos Guard Evaluation Time( 95th Percentile)", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 68 - }, - "id": 32, - "panels": [], - "title": "PROD1", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "monitor_status Monitor Status (1 = UP, 0= DOWN, 2= PENDING, 3= MAINTENANCE)", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 69 - }, - "id": 34, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "monitor_status{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD1]\"}", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos UI Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "min": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 10000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 72 - }, - "id": 36, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD1]\"}", - "legendFormat": "Current", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "avg_over_time(monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD1]\"}[24h])", - "hide": true, - "legendFormat": "AVG 24H", - "range": true, - "refId": "B" - } - ], - "title": "Chaos UI Response Time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 72 - }, - "id": 38, - "options": { - "displayMode": "lcd", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "valueMode": "color" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD1]\"}", - "legendFormat": "Current", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD1]\"}[6h])", - "hide": false, - "legendFormat": "p95 6H", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD1]\"}[12h])", - "hide": false, - "legendFormat": "p95 12H", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD1]\"}[24h])", - "hide": false, - "legendFormat": "p95 24H", - "range": true, - "refId": "D" - } - ], - "title": "Chaos UI Latency", - "type": "bargauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 81 - }, - "id": 40, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen\", container_name=\"chaos-manager\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos Manager Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 84 - }, - "id": 42, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-manager\", namespace=\"harness-nextgen\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-manager\", namespace=\"harness-nextgen\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-manager) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "dark-red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 84 - }, - "id": 44, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"chaos-manager\", namespace=\"harness-nextgen\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(chaos-manager)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 93 - }, - "id": 46, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen\", container_name=\"chaos-k8s-ifs\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos K8s IFS Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1.0001 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 13, - "x": 0, - "y": 96 - }, - "id": 48, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen-free\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-k8s-ifs) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": -2, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 13, - "y": 96 - }, - "id": 50, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(k8s-ifs)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 104 - }, - "id": 52, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen\", container_name=\"chaos-linux-ifs\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos Linux IFS Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "sum(rate(chaos_api_error_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m]))" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 107 - }, - "id": 54, - "options": { - "legend": { - "calcs": [ - "max", - "min", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-linux-ifs) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 107 - }, - "id": 56, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(linux-ifs)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 116 - }, - "id": 58, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen\", container_name=\"service-discovery-manager\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Service Discovery Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 13, - "x": 0, - "y": 119 - }, - "id": 60, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(sdm_api_error_requests_total{namespace=\"harness-nextgen\"}[5m])) / sum(rate(sdm_api_requests_total{namespace=\"harness-nextgen\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (service_discovery) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 13, - "y": 119 - }, - "id": 62, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(sdm_request_duration_seconds_bucket{namespace=\"harness-nextgen\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(service-discovery)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 10000 - } - ] - }, - "unit": "ms" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "95th percentile" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 127 - }, - "id": 64, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_guard_rule_evaluation_duration_milli_seconds_bucket{namespace=\"harness-nextgen\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "Chaos Guard Evaluation Time( 95th Percentile)", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 136 - }, - "id": 66, - "panels": [], - "title": "Prod3", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "monitor_status Monitor Status (1 = UP, 0= DOWN, 2= PENDING, 3= MAINTENANCE)", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 137 - }, - "id": 68, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "monitor_status{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD3]\"}", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos UI Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "min": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 10000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 140 - }, - "id": 70, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD3]\"}", - "legendFormat": "Current", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "avg_over_time(monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD3]\"}[24h])", - "hide": true, - "legendFormat": "AVG 24H", - "range": true, - "refId": "B" - } - ], - "title": "Chaos UI Response Time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 140 - }, - "id": 72, - "options": { - "displayMode": "lcd", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "valueMode": "color" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD3]\"}", - "legendFormat": "Current", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD3]\"}[6h])", - "hide": false, - "legendFormat": "p95 6H", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD3]\"}[12h])", - "hide": false, - "legendFormat": "p95 12H", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "expr": "quantile_over_time(0.95, monitor_response_time{monitor_name=\"Chaos Web Check [CHAOS][Primary][PROD3]\"}[24h])", - "hide": false, - "legendFormat": "p95 24H", - "range": true, - "refId": "D" - } - ], - "title": "Chaos UI Latency", - "type": "bargauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 149 - }, - "id": 74, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen-compliance\", container_name=\"chaos-manager\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos Manager Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 152 - }, - "id": 76, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-manager\", namespace=\"harness-nextgen-compliance\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-manager\", namespace=\"harness-nextgen-compliance\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-manager) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - }, - { - "color": "dark-red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 152 - }, - "id": 78, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"chaos-manager\", namespace=\"harness-nextgen-compliance\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(chaos-manager)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 161 - }, - "id": 80, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen-compliance\", container_name=\"chaos-k8s-ifs\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos K8s IFS Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 1.0001 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 13, - "x": 0, - "y": 164 - }, - "id": 82, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen-compliance\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen-compliance\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-k8s-ifs) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": -2, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue" - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 13, - "y": 164 - }, - "id": 84, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"chaos-k8s-ifs\", namespace=\"harness-nextgen-compliance\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(k8s-ifs)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 172 - }, - "id": 86, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen-compliance\", container_name=\"chaos-linux-ifs\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Chaos Linux IFS Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "sum(rate(chaos_api_error_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-free\"}[5m]))" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 0, - "y": 175 - }, - "id": 88, - "options": { - "legend": { - "calcs": [ - "max", - "min", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(chaos_api_error_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-compliance\"}[5m])) / sum(rate(chaos_api_requests_total{job=\"chaos-linux-ifs\", namespace=\"harness-nextgen-compliance\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (chaos-linux-ifs) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue" - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 13, - "y": 175 - }, - "id": 90, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_api_response_time_milli_seconds_bucket{job=\"harness-nextgen-compliance\", namespace=\"harness-nextgen-compliance\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(linux-ifs)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "index": 1, - "text": "OFFLINE" - }, - "1": { - "index": 0, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 184 - }, - "id": 92, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count by() (sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=\"prod-private-uswest1-primary\", namespace_name=\"harness-nextgen-compliance\", container_name=\"service-discovery-manager\"}[5m]), 0.001)))", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "Service Discovery Status", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-RdYlGr" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 13, - "x": 0, - "y": 187 - }, - "id": 94, - "options": { - "legend": { - "calcs": [ - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(sdm_api_error_requests_total{namespace=\"harness-nextgen-compliance\"}[5m])) / sum(rate(sdm_api_requests_total{namespace=\"harness-nextgen-compliance\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Rate (service_discovery) All APIs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue" - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 13, - "y": 187 - }, - "id": 96, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(sdm_request_duration_seconds_bucket{namespace=\"harness-nextgen-compliance\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "API Response Time( 95th Percentile)(service-discovery)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 10000 - } - ] - }, - "unit": "ms" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "95th percentile" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 195 - }, - "id": 98, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by(le) (rate(chaos_guard_rule_evaluation_duration_milli_seconds_bucket{namespace=\"harness-nextgen-compliance\"}[5m])))", - "interval": "", - "legendFormat": "95th percentile", - "range": true, - "refId": "A" - } - ], - "title": "Chaos Guard Evaluation Time( 95th Percentile)", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [ - "chaos", - "sli", - "slis" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-2d", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Chaos SLIs", - "uid": "MA6ZtF5Ik", - "version": 20, - "weekStart": "" -} \ No newline at end of file diff --git a/Chaos/System_Observerability.json b/Chaos/System_Observerability.json deleted file mode 100644 index 654cb76..0000000 --- a/Chaos/System_Observerability.json +++ /dev/null @@ -1,1276 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Golang Application Runtime metrics", - "editable": true, - "fiscalYearStartMonth": 0, - "gnetId": 10826, - "graphTooltip": 0, - "id": 166, - "links": [], - "liveNow": false, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "hiddenSeries": false, - "id": 26, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_mspan_inuse_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "legendFormat": "__auto", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_mspan_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_mcache_inuse_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_mcache_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_buck_hash_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_gc_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_other_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"} - go_memstats_other_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_next_gc_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "H" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Memory in Off-Heap", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "hiddenSeries": false, - "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_heap_alloc_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_heap_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_heap_idle_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_heap_inuse_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_heap_released_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "E" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Memory in Heap", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "hiddenSeries": false, - "id": 24, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_stack_inuse_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_stack_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Memory in Stack", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 8 - }, - "hiddenSeries": false, - "id": 16, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_sys_bytes{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Used Memory", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 16 - }, - "hiddenSeries": false, - "id": 22, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_memstats_mallocs_total{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"} - go_memstats_frees_total{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Number of Live Objects", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "shows how many heap objects are allocated. This is a counter value so you can use rate() to objects allocated/s.", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 16 - }, - "hiddenSeries": false, - "id": 20, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(go_memstats_mallocs_total{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}[1m])", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Rate of Objects Allocated", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "go_memstats_lookups_total – counts how many pointer dereferences happened. This is a counter value so you can use rate() to lookups/s.", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 24 - }, - "hiddenSeries": false, - "id": 18, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(go_memstats_lookups_total{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}[1m])", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Rate of a Pointer Dereferences", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ops", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 24 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_goroutines{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Goroutines", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 32 - }, - "hiddenSeries": false, - "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 1, - "points": true, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(go_memstats_alloc_bytes_total{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}[1m])", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Rates of Allocation", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 32 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_gc_duration_seconds{namespace=\"$namespace\", pod=~\"$pod\" , job=~\"$service\"}", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GC duration quantile", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "refresh": "5s", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "chaos", - "prod" - ], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "hide": 0, - "includeAll": false, - "label": "namespace", - "multi": false, - "name": "namespace", - "options": [ - { - "selected": true, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - { - "selected": false, - "text": "harness-nextgen-free", - "value": "harness-nextgen-free" - } - ], - "query": "harness-nextgen,harness-nextgen-free", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": true, - "text": [ - "chaos-manager" - ], - "value": [ - "chaos-manager" - ] - }, - "hide": 0, - "includeAll": false, - "multi": true, - "name": "service", - "options": [ - { - "selected": true, - "text": "chaos-manager", - "value": "chaos-manager" - }, - { - "selected": false, - "text": "chaos-linux-ifs", - "value": "chaos-linux-ifs" - }, - { - "selected": false, - "text": "chaos-linux-ifc", - "value": "chaos-linux-ifc" - }, - { - "selected": false, - "text": "chaos-k8s-ifs", - "value": "chaos-k8s-ifs" - }, - { - "selected": false, - "text": "service-discovery-manager", - "value": "service-discovery-manager" - } - ], - "query": "chaos-manager,chaos-linux-ifs,chaos-linux-ifc,chaos-k8s-ifs,service-discovery-manager", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": true, - "text": [ - "chaos-manager-67cd69b478-n28gk" - ], - "value": [ - "chaos-manager-67cd69b478-n28gk" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(go_goroutines{namespace=~\"$namespace\", job=~\"$service\"},pod)", - "hide": 0, - "includeAll": false, - "label": "pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "label_values(go_goroutines{namespace=~\"$namespace\", job=~\"$service\"},pod)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-5m", - "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": "", - "title": "Chaos Control Plane System Observerability [PROD]", - "uid": "CgCw8jKZx", - "version": 13, - "weekStart": "" - } \ No newline at end of file diff --git a/Cloud_Monitoring_SaaS_Only/BUILD.bazel b/Cloud_Monitoring_SaaS_Only/BUILD.bazel deleted file mode 100644 index b339fcb..0000000 --- a/Cloud_Monitoring_SaaS_Only/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Cloud_Monitoring_SaaS_Only/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Cloud_Monitoring_SaaS_Only/Cloud_Storage_Monitoring.json b/Cloud_Monitoring_SaaS_Only/Cloud_Storage_Monitoring.json deleted file mode 100644 index 4e9a27c..0000000 --- a/Cloud_Monitoring_SaaS_Only/Cloud_Storage_Monitoring.json +++ /dev/null @@ -1,810 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 129, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 0, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "This dashboard has 6 charts for the related [Cloud Storage metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-storage), including `Total object count`, `Total bytes`, `Bucket object count`, `Bucket total bytes`, `Bucket - Received/Sent Bytes`, and `Bucket - Request count`.", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Cloud Storage Monitoring", - "type": "text" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 1, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_SUM", - "filters": [ - "resource.type", - "=", - "gcs_bucket" - ], - "groupBys": [], - "metricKind": "GAUGE", - "metricType": "storage.googleapis.com/storage/object_count", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total object count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 3 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_SUM", - "filters": [ - "resource.type", - "=", - "gcs_bucket" - ], - "groupBys": [], - "metricKind": "GAUGE", - "metricType": "storage.googleapis.com/storage/total_bytes", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "By", - "valueType": "DOUBLE" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 11 - }, - "hiddenSeries": false, - "id": 3, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gcs_bucket" - ], - "groupBys": [], - "metricKind": "GAUGE", - "metricType": "storage.googleapis.com/storage/object_count", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Bucket object count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 11 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gcs_bucket" - ], - "groupBys": [], - "metricKind": "GAUGE", - "metricType": "storage.googleapis.com/storage/total_bytes", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "By", - "valueType": "DOUBLE" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Bucket total bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 19 - }, - "hiddenSeries": false, - "id": 5, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gcs_bucket" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "storage.googleapis.com/network/received_bytes_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "By", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gcs_bucket" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "storage.googleapis.com/network/sent_bytes_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "By", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Bucket - Received bytes, Sent bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 19 - }, - "hiddenSeries": false, - "id": 6, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gcs_bucket" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "storage.googleapis.com/api/request_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Bucket - Request count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [ - "Storage", - "Cloud Monitoring", - "GCP" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "Google Cloud Monitoring", - "value": "Google Cloud Monitoring" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "stackdriver", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": {}, - "datasource": { - "uid": "$datasource" - }, - "definition": "Google Cloud Monitoring - Projects", - "hide": 0, - "includeAll": false, - "label": "Project", - "multi": false, - "name": "project", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [], - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "projects", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "grafana auto", - "value": "grafana-auto" - }, - "datasource": { - "uid": "${datasource}" - }, - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Alignment Period", - "multi": false, - "name": "alignmentPeriod", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [ - { - "name": "project-1", - "value": "project-1" - }, - { - "name": "project-2", - "value": "project-2" - } - ], - "refId": "CloudMonitoringVariableQueryEditor-VariableQuery", - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "alignmentPeriods", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Cloud Storage Monitoring", - "uid": "fkAB_HkSz", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Cloud_Monitoring_SaaS_Only/GCE_Network_Monitoring.json b/Cloud_Monitoring_SaaS_Only/GCE_Network_Monitoring.json deleted file mode 100644 index 5231d9b..0000000 --- a/Cloud_Monitoring_SaaS_Only/GCE_Network_Monitoring.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 130, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 0, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "This dashboard has 4 charts for the related [GCE VM networking metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-networking), including `GCE VM Instance - Egress bytes`, `GCE VM Instance - Ingress bytes`, `Number of probes`, and `GCE VM Instance - RTT latencies`.", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "GCE Network Monitoring", - "type": "text" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 1, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_SUM", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "networking.googleapis.com/vm_flow/egress_bytes_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "By", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - Egress bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 3 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_SUM", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "networking.googleapis.com/vm_flow/ingress_bytes_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "By", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - Ingress bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 11 - }, - "hiddenSeries": false, - "id": 3, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_COUNT", - "filters": [ - "resource.type", - "=", - "gce_zone_network_health" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "networking.googleapis.com/cloud_netslo/active_probing/probe_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Number of probes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 11 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_PERCENTILE_95", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "networking.googleapis.com/vm_flow/rtt", - "perSeriesAligner": "ALIGN_DELTA", - "projectName": "$project", - "unit": "ms", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_PERCENTILE_50", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "networking.googleapis.com/vm_flow/rtt", - "perSeriesAligner": "ALIGN_DELTA", - "projectName": "$project", - "unit": "ms", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "B" - }, - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_PERCENTILE_05", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "networking.googleapis.com/vm_flow/rtt", - "perSeriesAligner": "ALIGN_DELTA", - "projectName": "$project", - "unit": "ms", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "C" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - RTT latencies", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [ - "Networking", - "Cloud Monitoring", - "GCP" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "Google Cloud Monitoring", - "value": "Google Cloud Monitoring" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "stackdriver", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": {}, - "datasource": { - "uid": "$datasource" - }, - "definition": "Google Cloud Monitoring - Projects", - "hide": 0, - "includeAll": false, - "label": "Project", - "multi": false, - "name": "project", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [], - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "projects", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "grafana auto", - "value": "grafana-auto" - }, - "datasource": { - "uid": "${datasource}" - }, - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Alignment Period", - "multi": false, - "name": "alignmentPeriod", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [ - { - "name": "project-1", - "value": "project-1" - }, - { - "name": "project-2", - "value": "project-2" - } - ], - "refId": "CloudMonitoringVariableQueryEditor-VariableQuery", - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "alignmentPeriods", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "GCE Network Monitoring", - "uid": "W8lBlHzIz", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Cloud_Monitoring_SaaS_Only/GCE_VM_Instance_Monitoring.json b/Cloud_Monitoring_SaaS_Only/GCE_VM_Instance_Monitoring.json deleted file mode 100644 index d8c7ab1..0000000 --- a/Cloud_Monitoring_SaaS_Only/GCE_VM_Instance_Monitoring.json +++ /dev/null @@ -1,1209 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 119, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 0, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "This dashboard has 10 charts for the related [GCE VM metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-compute), including metrics for CPU, disk read/write, and network.", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "GCE VM Instance Monitoring", - "type": "text" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 1, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "{{metric.label.instance_name}}", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "GAUGE", - "metricType": "compute.googleapis.com/instance/cpu/utilization", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "10^2.%", - "valueType": "DOUBLE" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - CPU Utilization", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 3 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/instance/uptime", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "s{uptime}", - "valueType": "DOUBLE" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - Uptime", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 11 - }, - "hiddenSeries": false, - "id": 3, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/instance/disk/read_ops_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Disk read operations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 11 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/instance/disk/write_ops_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Disk write operations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 19 - }, - "hiddenSeries": false, - "id": 5, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/instance/disk/read_bytes_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "By", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Disk read bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 19 - }, - "hiddenSeries": false, - "id": 6, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/instance/disk/write_bytes_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "By", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Disk write bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 27 - }, - "hiddenSeries": false, - "id": 7, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.4.0-pre", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/instance/network/received_packets_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - Received packets", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 27 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.4.0-pre", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/nat/sent_packets_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "{packet}", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - Sent packets count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 35 - }, - "hiddenSeries": false, - "id": 9, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.4.0-pre", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/instance/network/received_bytes_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "By", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - Received bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 35 - }, - "hiddenSeries": false, - "id": 10, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.4.0-pre", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "gce_instance" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "compute.googleapis.com/instance/network/sent_bytes_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "By", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "GCE VM Instance - Sent bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [ - "Compute", - "Cloud Monitoring", - "GCP" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "Google Cloud Monitoring", - "value": "Google Cloud Monitoring" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "stackdriver", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": {}, - "datasource": { - "uid": "$datasource" - }, - "definition": "Google Cloud Monitoring - Projects", - "hide": 0, - "includeAll": false, - "label": "Project", - "multi": false, - "name": "project", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [], - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "projects", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "grafana auto", - "value": "grafana-auto" - }, - "datasource": { - "uid": "${datasource}" - }, - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Alignment Period", - "multi": false, - "name": "alignmentPeriod", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [ - { - "name": "project-1", - "value": "project-1" - }, - { - "name": "project-2", - "value": "project-2" - } - ], - "refId": "CloudMonitoringVariableQueryEditor-VariableQuery", - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "alignmentPeriods", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "GCE VM Instance Monitoring", - "uid": "FLZ8skzIz", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Cloud_Monitoring_SaaS_Only/GKE_Prometheus_Pod_Node_Monitoring.json b/Cloud_Monitoring_SaaS_Only/GKE_Prometheus_Pod_Node_Monitoring.json deleted file mode 100644 index e55f23f..0000000 --- a/Cloud_Monitoring_SaaS_Only/GKE_Prometheus_Pod_Node_Monitoring.json +++ /dev/null @@ -1,809 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 116, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 0, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "This dashboard has example charts for metrics exported by Prometheus, for example metrics from [Kubernetes pod metrics](https://github.com/kubernetes/kube-state-metrics/blob/master/docs/pod-metrics.md)", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "GKE Prometheus Pod/Node Monitoring", - "type": "text" - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "decimals": 2, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 1, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "alertThreshold": false - }, - "percentage": true, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_SUM", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [ - "metric.label.phase" - ], - "metricKind": "", - "metricType": "external.googleapis.com/prometheus/kube_pod_status_phase", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "", - "valueType": "" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "kube_pod_status_phase [SUM]", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "decimals": 2, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 3 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "alertThreshold": false - }, - "percentage": true, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_SUM", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [ - "metric.label.namespace" - ], - "metricKind": "", - "metricType": "external.googleapis.com/prometheus/kube_pod_status_ready", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "", - "valueType": "" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "kube_pod_status_ready [SUM]", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "decimals": 2, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 11 - }, - "hiddenSeries": false, - "id": 3, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "alertThreshold": false - }, - "percentage": true, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_SUM", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [ - "metric.label.namespace" - ], - "metricKind": "", - "metricType": "external.googleapis.com/prometheus/kube_pod_container_status_running", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "", - "valueType": "" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "kube_pod_container_status_running [SUM]", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "decimals": 2, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 11 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "alertThreshold": false - }, - "percentage": true, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "crossSeriesReducer": "REDUCE_SUM", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [ - "metric.label.condition" - ], - "metricKind": "", - "metricType": "external.googleapis.com/prometheus/kube_node_status_condition", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "", - "valueType": "" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "kube_node_status_condition [SUM]", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "decimals": 2, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 19 - }, - "hiddenSeries": false, - "id": 5, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "alertThreshold": false - }, - "percentage": true, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [], - "metricKind": "", - "metricType": "external.googleapis.com/prometheus/kube_node_status_capacity_pods", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "", - "valueType": "" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "kube_node_status_capacity_pods", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "decimals": 2, - "description": "", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 19 - }, - "hiddenSeries": false, - "id": 6, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "connected", - "options": { - "alertThreshold": false - }, - "percentage": true, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [], - "metricKind": "", - "metricType": "external.googleapis.com/prometheus/kube_node_status_allocatable_pods", - "perSeriesAligner": "ALIGN_MEAN", - "projectName": "$project", - "unit": "", - "valueType": "" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "kube_node_status_allocatable_pods", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [ - "Compute", - "Cloud Monitoring", - "GCP" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "Google Cloud Monitoring", - "value": "Google Cloud Monitoring" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "stackdriver", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": {}, - "datasource": { - "uid": "$datasource" - }, - "definition": "Google Cloud Monitoring - Projects", - "hide": 0, - "includeAll": false, - "label": "Project", - "multi": false, - "name": "project", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [], - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "projects", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "grafana auto", - "value": "grafana-auto" - }, - "datasource": { - "uid": "${datasource}" - }, - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Alignment Period", - "multi": false, - "name": "alignmentPeriod", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [ - { - "name": "project-1", - "value": "project-1" - }, - { - "name": "project-2", - "value": "project-2" - } - ], - "refId": "CloudMonitoringVariableQueryEditor-VariableQuery", - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "alignmentPeriods", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "GKE Prometheus Pod/Node Monitoring", - "uid": "55u0_wRIz", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Cluster_Pod_Details_SaaS_Only/BUILD.bazel b/Cluster_Pod_Details_SaaS_Only/BUILD.bazel deleted file mode 100644 index af8d100..0000000 --- a/Cluster_Pod_Details_SaaS_Only/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Cluster_Pod_Details_SaaS_Only/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Cluster_Pod_Details_SaaS_Only/Cluster_Metrics.json b/Cluster_Pod_Details_SaaS_Only/Cluster_Metrics.json deleted file mode 100644 index 672ca72..0000000 --- a/Cluster_Pod_Details_SaaS_Only/Cluster_Metrics.json +++ /dev/null @@ -1,4159 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Summary metrics about kube-state-metrics v2 version(https://github.com/kubernetes/kube-state-metrics); Referenced 6417", - "editable": false, - "fiscalYearStartMonth": 0, - "gnetId": 13332, - "graphTooltip": 1, - "id": 22, - "links": [ - { - "asDropdown": true, - "icon": "external link", - "includeVars": true, - "keepTime": false, - "tags": [ - "kubernetes-app" - ], - "title": "Dashboards", - "type": "dashboards" - } - ], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 58, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Cluster", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "max": 1, - "min": 0, - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 80 - }, - { - "color": "#d44a3a", - "value": 90 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 1 - }, - "id": 4, - "links": [], - "maxDataPoints": 100, - "options": { - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_pod_info{cluster=~\"$cluster\",node=~\"$node\"}) / sum(kube_node_status_allocatable{cluster=~\"$cluster\",resource=\"pods\",node=~\"$node\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "range": true, - "refId": "A" - } - ], - "title": "Cluster Pod Requested", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "max": 1, - "min": 0, - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 80 - }, - { - "color": "#d44a3a", - "value": 90 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 6, - "y": 1 - }, - "id": 5, - "links": [], - "maxDataPoints": 100, - "options": { - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_pod_container_resource_requests{cluster=~\"$cluster\",resource=\"cpu\",node=~\"$node\"})/ sum(kube_node_status_allocatable{cluster=~\"$cluster\",resource=\"cpu\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "title": "Cluster CPU Requested", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "max": 1, - "min": 0, - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 80 - }, - { - "color": "#d44a3a", - "value": 90 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 12, - "y": 1 - }, - "id": 6, - "links": [], - "maxDataPoints": 100, - "options": { - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_pod_container_resource_requests{cluster=~\"$cluster\",resource=\"memory\",node=~\"$node\"}) / sum(kube_node_status_allocatable{cluster=~\"$cluster\",resource=\"memory\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "title": "Cluster Memory Requested", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "pods", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "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": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 0, - "y": 5 - }, - "id": 9, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_node_status_allocatable{resource=\"pods\",cluster=~\"$cluster\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "allocatable", - "range": true, - "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_info{node=~\"$node\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "requested", - "refId": "C" - } - ], - "title": "Cluster Pod Capacity", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "cores", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "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": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 6, - "y": 5 - }, - "id": 10, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_node_status_capacity{cluster=~\"$cluster\",resource=\"cpu\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "allocatable", - "range": true, - "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_node_status_allocatable{cluster=~\"$cluster\",resource=\"cpu\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "capacity", - "range": true, - "refId": "B" - }, - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_pod_container_resource_requests{cluster=~\"$cluster\",resource=\"cpu\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "requested", - "range": true, - "refId": "C" - }, - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_pod_container_resource_limits{cluster=~\"$cluster\",resource=\"cpu\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "limited", - "range": true, - "refId": "D" - } - ], - "title": "Cluster CPU Capacity", - "type": "timeseries" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "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": "bits" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 12, - "y": 5 - }, - "id": 11, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_node_status_allocatable{node=~\"$node\",cluster=~\"$cluster\",resource=\"memory\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "allocatable", - "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_node_status_capacity{node=~\"$node\",cluster=~\"$cluster\",resource=\"memory\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "capacity", - "refId": "B" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_container_resource_requests{cluster=~\"$cluster\",resource=\"memory\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "requested", - "refId": "C" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_container_resource_limits{cluster=~\"$cluster\",resource=\"memory\",node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "limited", - "refId": "D" - } - ], - "title": "Cluster Mem Capacity", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 22, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Node", - "type": "row" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 0, - "y": 11 - }, - "id": 24, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_node_info{cluster=~\"$cluster\"})", - "format": "time_series", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Number Of Nodes", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 1 - }, - { - "color": "#d44a3a" - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 4, - "y": 11 - }, - "id": 26, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_node_spec_unschedulable{cluster=~\"$cluster\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Nodes Unavailable", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 8, - "y": 11 - }, - "id": 78, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "kube_node_status_condition{cluster=~\"$cluster\",condition=\"Ready\",status=\"false\"}==1", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{node}}", - "refId": "A" - } - ], - "title": "Node Not Ready", - "type": "timeseries" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 16, - "y": 11 - }, - "id": 51, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "kube_node_status_condition{condition=\"DiskPressure\",cluster=~\"$cluster\",status=\"true\"}==1", - "format": "time_series", - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{node}} {{condition}}", - "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "kube_node_status_condition{condition=\"MemoryPressure\",node=~\"$node\",cluster=~\"$cluster\",status=\"true\"}==1", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{node}} {{condition}}", - "refId": "B" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "kube_node_status_condition{condition=~\"PIDPressure\",node=~\"$node\",cluster=~\"$cluster\",status=\"true\"}==1", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{node}} {{condition}}", - "refId": "C" - } - ], - "title": "Node Disk Pressure", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "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": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 14 - }, - "id": 88, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(kube_node_info{cluster=~\"$cluster\"})", - "format": "table", - "interval": "", - "legendFormat": "", - "range": true, - "refId": "A" - } - ], - "title": "Total Nodes", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 21 - }, - "id": 14, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Deployments", - "type": "row" - }, - { - "columns": [], - "datasource": { - "uid": "$datasource" - }, - "fontSize": "100%", - "gridPos": { - "h": 5, - "w": 6, - "x": 0, - "y": 22 - }, - "id": 16, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "alias": "", - "align": "auto", - "colorMode": "row", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "Metric", - "thresholds": [ - "0", - "0", - ".9" - ], - "type": "string", - "unit": "none" - }, - { - "alias": "", - "align": "auto", - "colorMode": "row", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "link": false, - "pattern": "Value", - "thresholds": [ - "0", - "1" - ], - "type": "number", - "unit": "none" - } - ], - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "kube_deployment_status_replicas{namespace=~\"$namespace\",cluster=~\"$cluster\"}", - "format": "time_series", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{ deployment }}", - "refId": "A" - } - ], - "title": "Deployment Replicas - Up To Date", - "transform": "timeseries_to_rows", - "type": "table-old" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 6, - "y": 22 - }, - "id": 18, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_deployment_status_replicas{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Deployment Replicas", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 12, - "y": 22 - }, - "id": 19, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_deployment_status_replicas_updated{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Deployment Replicas - Updated", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 18, - "y": 22 - }, - "id": 20, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_deployment_status_replicas_unavailable{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{deployment}}", - "range": true, - "refId": "A" - } - ], - "title": "Deployment Replicas - Unavailable", - "type": "stat" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 27 - }, - "id": 71, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Statefuleset", - "type": "row" - }, - { - "columns": [], - "datasource": { - "uid": "$datasource" - }, - "fontSize": "100%", - "gridPos": { - "h": 5, - "w": 6, - "x": 0, - "y": 28 - }, - "id": 75, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "alias": "", - "align": "auto", - "colorMode": "row", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "Metric", - "thresholds": [ - "0", - "0", - ".9" - ], - "type": "string", - "unit": "none" - }, - { - "alias": "", - "align": "auto", - "colorMode": "row", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "link": false, - "pattern": "Value", - "thresholds": [ - "0", - "1" - ], - "type": "number", - "unit": "none" - } - ], - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "kube_statefulset_status_replicas_ready{namespace=~\"$namespace\",cluster=~\"$cluster\"}", - "format": "time_series", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{ statefulset}}", - "refId": "A" - } - ], - "title": "Statefulset Replicas - Up To Date", - "transform": "timeseries_to_rows", - "type": "table-old" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "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" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 6, - "y": 28 - }, - "id": 73, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "kube_statefulset_status_replicas_ready{namespace=~\"$namespace\",cluster=~\"$cluster\"}/kube_statefulset_status_replicas{namespace=~\"$namespace\",cluster=~\"$cluster\"}*100", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{statefulset}}", - "refId": "A" - } - ], - "title": "Statefulset replicas", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 33 - }, - "id": 28, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Pods", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "left", - "displayMode": "auto", - "inspect": false - }, - "decimals": 0, - "displayName": "", - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#56A64B" - }, - { - "color": "#73BF69" - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Time" - }, - "properties": [ - { - "id": "custom.width", - "value": 174 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Metric" - }, - "properties": [ - { - "id": "custom.width", - "value": 219 - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 6, - "x": 0, - "y": 34 - }, - "id": 68, - "links": [], - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "changes(kube_pod_container_status_restarts_total{namespace=~\"$namespace\",cluster=~\"$cluster\"}[30m])>1", - "format": "time_series", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - } - ], - "title": "Pod restarts [30m]", - "transformations": [ - { - "id": "seriesToRows", - "options": { - "reducers": [] - } - } - ], - "type": "table" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 6, - "x": 6, - "y": 34 - }, - "id": 77, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "kube_pod_status_reason{cluster=~\"$cluster\",namespace=~\"$namespace\", reason=\"Evicted\"}==1", - "format": "time_series", - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - } - ], - "title": "Evicted", - "type": "timeseries" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#629e51", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 12, - "x": 12, - "y": 34 - }, - "id": 30, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_status_phase{cluster=~\"$cluster\",namespace=~\"$namespace\", phase=\"Running\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Pods Running", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#629e51", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 12, - "y": 37 - }, - "id": 33, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_status_phase{cluster=~\"$cluster\",namespace=~\"$namespace\", phase=\"Succeeded\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Pods Succeeded", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#629e51", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 18, - "y": 37 - }, - "id": 32, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_status_phase{cluster=~\"$cluster\",namespace=~\"$namespace\", phase=\"Failed\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Pods Failed", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#629e51", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 12, - "y": 40 - }, - "id": 31, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_status_phase{cluster=~\"$cluster\",namespace=~\"$namespace\", phase=\"Pending\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Pods Pending", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#629e51", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 18, - "y": 40 - }, - "id": 34, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_status_phase{cluster=~\"$cluster\",namespace=~\"$namespace\", phase=\"Unknown\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Pods Unknown", - "type": "stat" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 43 - }, - "id": 36, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Containers", - "type": "row" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 0, - "y": 44 - }, - "id": 38, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_container_status_running{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Containers Running", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 6, - "y": 44 - }, - "id": 39, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_container_status_waiting{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Containers Waiting", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 12, - "y": 44 - }, - "id": 40, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_pod_container_status_terminated{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Containers Terminated", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 18, - "y": 44 - }, - "id": 41, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(changes(kube_pod_container_status_restarts_total{namespace=~\"$namespace\",cluster=~\"$cluster\"}[30m]))", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Containers Restarts (Last 30 Minutes)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 12, - "x": 0, - "y": 47 - }, - "id": 43, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_pod_container_resource_requests{namespace=~\"$namespace\",cluster=~\"$cluster\",resource=\"cpu\"})", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "title": "CPU Cores Requested by Containers", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 12, - "x": 12, - "y": 47 - }, - "id": 42, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_pod_container_resource_requests{namespace=~\"$namespace\" ,cluster=~\"$cluster\",resource=\"memory\"})", - "format": "time_series", - "intervalFactor": 1, - "range": true, - "refId": "A" - } - ], - "title": "Memory Requested By Containers", - "type": "stat" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 50 - }, - "id": 80, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "HPA", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 51 - }, - "id": 82, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kube_horizontalpodautoscaler_status_current_replicas{cluster=~\"$cluster\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "", - "legendFormat": "{{horizontalpodautoscaler}}_{{namespace}}_current", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kube_horizontalpodautoscaler_spec_max_replicas{cluster=~\"$cluster\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "", - "legendFormat": "{{horizontalpodautoscaler}}_{{namespace}}_max", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kube_horizontalpodautoscaler_spec_min_replicas{cluster=~\"$cluster\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "", - "legendFormat": "{{horizontalpodautoscaler}}_{{namespace}}_min", - "refId": "C" - } - ], - "title": "hpa", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "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" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 59 - }, - "id": 89, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(kube_horizontalpodautoscaler_status_current_replicas{hpa=~\".*\"})", - "instant": false, - "interval": "", - "legendFormat": "kube_hpa_status_current_replicas", - "refId": "A" - } - ], - "title": "total-hpa-current", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "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" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 67 - }, - "id": 90, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kube_horizontalpodautoscaler_status_current_replicas{hpa=~\".*\"} == kube_horizontalpodautoscaler_spec_max_replicas{hpa=~\".*\"}", - "instant": false, - "interval": "", - "legendFormat": "{{horizontalpodautoscaler}}_{{namespace}}", - "refId": "A" - } - ], - "title": "current==max", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "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" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 67 - }, - "id": 92, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "kube_horizontalpodautoscaler_status_current_replicas{horizontalpodautoscaler=~\".*\"} == kube_horizontalpodautoscaler_spec_min_replicas{horizontalpodautoscaler=~\".*\"}", - "instant": false, - "interval": "", - "legendFormat": "{{horizontalpodautoscaler}}_{{namespace}}", - "refId": "B" - } - ], - "title": "current==min", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 77 - }, - "id": 45, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Jobs", - "type": "row" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 0, - "y": 78 - }, - "id": 47, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_job_status_succeeded{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Jobs Succeeded", - "type": "stat" - }, - { - "columns": [], - "datasource": { - "uid": "$datasource" - }, - "description": "", - "fontSize": "100%", - "gridPos": { - "h": 9, - "w": 8, - "x": 8, - "y": 78 - }, - "hideTimeOverride": false, - "id": 62, - "links": [], - "pluginVersion": "6.2.5", - "scroll": true, - "showHeader": true, - "sort": { - "desc": false - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "alias": "Job", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "Metric", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Day", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 4, - "mappingType": 1, - "pattern": "Value", - "thresholds": [], - "type": "number", - "unit": "none" - } - ], - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "(time()-kube_job_status_completion_time{namespace=~\"$namespace\",cluster=~\"$cluster\"})/60/60/24>1", - "format": "time_series", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{job_name}}", - "refId": "A" - } - ], - "title": "Job last success time from now", - "transform": "timeseries_to_rows", - "transparent": true, - "type": "table-old" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto", - "inspect": false - }, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Time" - }, - "properties": [ - { - "id": "displayName", - "value": "Time" - }, - { - "id": "unit", - "value": "time: YYYY-MM-DD HH:mm:ss" - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Metric" - }, - "properties": [ - { - "id": "displayName", - "value": "Job" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Value" - }, - "properties": [ - { - "id": "displayName", - "value": "Failed Pod number" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "custom.align" - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 16, - "y": 78 - }, - "hideTimeOverride": false, - "id": 76, - "links": [], - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "kube_job_status_failed{namespace=~\"$namespace\",cluster=~\"$cluster\"}>0", - "format": "time_series", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{job_name}}", - "refId": "A" - } - ], - "title": "Job failed", - "transformations": [ - { - "id": "seriesToRows", - "options": { - "reducers": [] - } - } - ], - "transparent": true, - "type": "table" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 0, - "y": 81 - }, - "id": 48, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_job_status_active{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Jobs Active", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 0, - "y": 84 - }, - "id": 49, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_job_status_failed{namespace=~\"$namespace\",cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Jobs Failed", - "type": "stat" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 87 - }, - "id": 64, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "PVC", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 0, - "y": 88 - }, - "id": 66, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "sum(kube_persistentvolumeclaim_status_phase{phase=\"Bound\"}==1)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{persistentvolumeclaim=}}", - "range": true, - "refId": "A" - } - ], - "title": "pvc is bound", - "type": "stat" - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 6, - "y": 88 - }, - "id": 69, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(kube_persistentvolumeclaim_status_phase{phase!=\"Bound\"}==1)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{persistentvolumeclaim=}}", - "refId": "A" - } - ], - "title": "pvc is not bound", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto", - "inspect": false - }, - "decimals": 2, - "displayName": "", - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Time" - }, - "properties": [ - { - "id": "displayName", - "value": "Time" - }, - { - "id": "unit", - "value": "time: YYYY-MM-DD HH:mm:ss" - }, - { - "id": "custom.align" - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 88 - }, - "id": 67, - "links": [], - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "expr": "kube_persistentvolumeclaim_resource_requests_storage_bytes/1024/1024/1024", - "format": "time_series", - "instant": true, - "intervalFactor": 1, - "legendFormat": "{{persistentvolumeclaim}}", - "refId": "A" - } - ], - "title": "pvc", - "transformations": [ - { - "id": "seriesToRows", - "options": { - "reducers": [] - } - } - ], - "type": "table" - } - ], - "refresh": "15m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "kubernetes", - "kubelet" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "definition": "label_values(kube_node_info, cluster)", - "hide": 0, - "includeAll": false, - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(kube_node_info, cluster)", - "refId": "ProdSetup-ManagedPrometheus-cluster-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": "gke.+", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "definition": "label_values(kube_node_info{cluster=~\"$cluster\"}, node)", - "hide": 0, - "includeAll": true, - "multi": false, - "name": "node", - "options": [], - "query": { - "query": "label_values(kube_node_info{cluster=~\"$cluster\"}, node)", - "refId": "ProdSetup-ManagedPrometheus-node-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": "", - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "definition": "", - "hide": 0, - "includeAll": true, - "label": "", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(kube_namespace_created{cluster=~\"$cluster\"}, namespace)", - "refId": "ProdSetup-ManagedPrometheus-namespace-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "datasource", - "multi": false, - "name": "datasource", - "options": [ - { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - { - "selected": false, - "text": "STO-Prod-Prometheus", - "value": "STO-Prod-Prometheus" - } - ], - "query": "ProdSetup-ManagedPrometheus,STO-Prod-Prometheus", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "browser", - "title": "Cluster Metrics", - "uid": "ELiU8Lhxb", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Cluster_Pod_Details_SaaS_Only/Pod_Details.json b/Cluster_Pod_Details_SaaS_Only/Pod_Details.json deleted file mode 100644 index 1f0ef6a..0000000 --- a/Cluster_Pod_Details_SaaS_Only/Pod_Details.json +++ /dev/null @@ -1,1431 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Get your Kubernetes pods resources usage by namespaces ", - "editable": true, - "fiscalYearStartMonth": 0, - "gnetId": 11594, - "graphTooltip": 0, - "id": 24, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 86, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Namespace Usage", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 1 - }, - "id": 72, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "\n## CPU Usage\n\n\n\n", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "transparent": true, - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "CPUs", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 4, - "y": 1 - }, - "id": 34, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$namespace\"}[15m]))", - "instant": false, - "legendFormat": "${namespace} CPU Usage (Nb of CPUs)", - "refId": "A" - } - ], - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 2, - "w": 4, - "x": 12, - "y": 1 - }, - "id": 74, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "\n## Memory Usage\n\n\n\n", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "transparent": true, - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 16, - "y": 1 - }, - "id": 36, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\"})", - "legendFormat": "${namespace} Memory Usage", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(container_memory_cache{namespace=\"$namespace\",container=\"\"})", - "legendFormat": "${namespace} Cache Usage", - "range": true, - "refId": "B" - } - ], - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Percent of limits CPU usage ", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "displayName": "Limits CPU Usage", - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "light-green", - "value": null - }, - { - "color": "light-orange", - "value": 70 - }, - { - "color": "light-red", - "value": 90 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 0, - "y": 3 - }, - "id": 9, - "interval": "", - "links": [], - "options": { - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$namespace\"}[15m])) / sum(kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"cpu\"}) * 100", - "format": "time_series", - "instant": true, - "legendFormat": "Limits CPU Usage", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "", - "format": "time_series", - "instant": true, - "legendFormat": "Limits", - "refId": "B" - } - ], - "transparent": true, - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Percent of limits memory usage", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "displayName": "Limits Mem Usage", - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "max": 100, - "min": 0, - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 70 - }, - { - "color": "red", - "value": 90 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 12, - "y": 3 - }, - "id": 25, - "links": [], - "options": { - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\",container=\"\"}) / sum(kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"memory\"}) * 100", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{namespace}}", - "refId": "A" - } - ], - "transparent": true, - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "decimals": 3, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 9 - }, - "id": 92, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$namespace\",container=\"\"}[15m]))", - "instant": false, - "refId": "A" - } - ], - "title": "CPU Used", - "transparent": true, - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 4, - "x": 12, - "y": 9 - }, - "id": 38, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\",container=\"\"})", - "range": true, - "refId": "A" - } - ], - "title": "Memory Used", - "transparent": true, - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 11 - }, - "id": 78, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum (rate (container_network_receive_bytes_total{namespace=\"${namespace}\"}[5m]))", - "legendFormat": "Bytes received", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "- sum (rate (container_network_transmit_bytes_total{namespace=\"${namespace}\"}[5m]))", - "legendFormat": "Bytes sent", - "range": true, - "refId": "B" - } - ], - "title": "Network I/O [5min]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 11 - }, - "id": 79, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum (rate (container_network_receive_errors_total{namespace=\"${namespace}\"}[5m]))", - "legendFormat": "Errors received", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum (rate (container_network_transmit_errors_total{namespace=\"${namespace}\"}[5m]))", - "legendFormat": "Errors sent", - "range": true, - "refId": "B" - } - ], - "title": "Network Errors [5min]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 11 - }, - "id": 80, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum (rate (container_network_receive_packets_total{namespace=\"${namespace}\"}[5m]))", - "legendFormat": "Bytes received", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "- sum (rate (container_network_transmit_packets_total{namespace=\"${namespace}\"}[5m]))", - "legendFormat": "Bytes sent", - "range": true, - "refId": "B" - } - ], - "title": "Network Packets [5mins]", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 19 - }, - "id": 30, - "panels": [], - "repeat": "container", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "$container resource usage", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "decimals": 3, - "description": "", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 12, - "x": 0, - "y": 20 - }, - "hiddenSeries": false, - "id": 2, - "interval": "5m", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "maxPerRow": 2, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "repeat": "podname", - "repeatDirection": "v", - "seriesOverrides": [ - { - "alias": "Limits", - "color": "#FF7383", - "dashes": true, - "lines": false - }, - { - "alias": "Requests", - "color": "#FFB357", - "dashes": true, - "lines": false - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(container_cpu_usage_seconds_total{namespace=\"$namespace\",container=\"$container\",pod=\"$podname\"}[15m])", - "format": "time_series", - "hide": false, - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg(kube_pod_container_resource_limits{namespace=\"$namespace\",container=\"$container\",resource=\"cpu\",pod=\"$podname\"})", - "hide": false, - "legendFormat": "Limits", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "avg(kube_pod_container_resource_requests{namespace=\"$namespace\",container=\"$container\",resource=\"cpu\",pod=\"$podname\"})", - "hide": false, - "legendFormat": "Requests", - "refId": "C" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "${podname} - cpu usage, requests and limits", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 3, - "format": "short", - "label": "CPU", - "logBase": 1, - "min": "0", - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "decimals": 2, - "description": "", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 20 - }, - "hiddenSeries": false, - "id": 28, - "interval": "5m", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "repeat": "podname", - "repeatDirection": "v", - "seriesOverrides": [ - { - "alias": "Limits", - "color": "#FF7383", - "dashes": true, - "lines": false - }, - { - "alias": "Request", - "color": "#FFB357", - "dashes": true, - "lines": false - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "container_memory_working_set_bytes{namespace=\"$namespace\",container=\"$container\",pod=\"$podname\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "avg(kube_pod_container_resource_limits{namespace=\"$namespace\",container=\"$container\",resource=\"memory\",pod=\"$podname\"})", - "legendFormat": "Limits", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "avg(kube_pod_container_resource_requests{namespace=\"$namespace\",container=\"$container\",resource=\"memory\",pod=\"$podname\"})", - "legendFormat": "Request", - "refId": "C" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "$podname - memory usage, requests and limits", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 2, - "format": "bytes", - "label": "Memory", - "logBase": 1, - "min": "0", - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "refresh": "15m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "kubernetes", - "pods" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "admin-ingress-nginx", - "value": "admin-ingress-nginx" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(kube_namespace_labels,namespace)", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(kube_namespace_labels,namespace)", - "refId": "ProdSetup-ManagedPrometheus-namespace-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(kube_pod_container_info{namespace=\"$namespace\"},container)", - "hide": 0, - "includeAll": false, - "label": "Container", - "multi": false, - "name": "container", - "options": [], - "query": { - "query": "label_values(kube_pod_container_info{namespace=\"$namespace\"},container)", - "refId": "ProdSetup-ManagedPrometheus-container-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(kube_pod_container_info{namespace=\"$namespace\",container=\"$container\"},pod)", - "hide": 2, - "includeAll": true, - "label": "Pod Name", - "multi": false, - "name": "podname", - "options": [], - "query": { - "query": "label_values(kube_pod_container_info{namespace=\"$namespace\",container=\"$container\"},pod)", - "refId": "ProdSetup-ManagedPrometheus-podname-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] - }, - "timezone": "browser", - "title": "Pod Details", - "uid": "9HC9STfWz", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Cluster_Pod_Details_SaaS_Only/Storage_And_Volumes.json b/Cluster_Pod_Details_SaaS_Only/Storage_And_Volumes.json deleted file mode 100644 index e4ad747..0000000 --- a/Cluster_Pod_Details_SaaS_Only/Storage_And_Volumes.json +++ /dev/null @@ -1,2370 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Dashboard of Kubernetes volume information at namespace level as exported by Prometheus connected to Kubernetes.", - "editable": false, - "fiscalYearStartMonth": 0, - "gnetId": 11455, - "graphTooltip": 1, - "id": 25, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 72, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Current Alerts", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 1 - }, - { - "color": "#d44a3a", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 14, - "x": 0, - "y": 1 - }, - "id": 59, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "editorMode": "code", - "expr": "(\n count (\n (kubelet_volume_stats_available_bytes {namespace=\"$namespace\"})\n and\n (predict_linear(kubelet_volume_stats_available_bytes {namespace=\"$namespace\"}[1d], 7 * 24 * 60 * 60) < 0)\n )\n)\nor\nvector(0)", - "instant": false, - "intervalFactor": 1, - "legendFormat": "alerts", - "refId": "A" - } - ], - "title": "Volumes Full in Week Based on Daily Use Rate", - "type": "stat" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "#FF9830", - "value": 1 - }, - { - "color": "#FF9830", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 7, - "x": 0, - "y": 4 - }, - "id": 10, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "count (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"}) and (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"})) >= ($pvc_percent_used_warning_threshold / 100)) or vector (0)", - "format": "time_series", - "instant": true, - "refId": "A" - } - ], - "title": "Running PVCs Above % Used Warning Threshold", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 1 - }, - { - "color": "#d44a3a", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 7, - "x": 7, - "y": 4 - }, - "id": 6, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "(max (sum by (exported_namespace) (pv_collector_unbound_pvc_count {exported_namespace = \"$namespace\"}))) or (vector(0))", - "format": "table", - "instant": true, - "refId": "A" - } - ], - "title": "Unbound PVCs", - "type": "stat" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 7 - }, - "id": 57, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Alert Details", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto", - "inspect": false - }, - "decimals": 2, - "displayName": "", - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Value" - }, - "properties": [ - { - "id": "displayName", - "value": "Available" - }, - { - "id": "unit", - "value": "bytes" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.displayMode", - "value": "color-background" - }, - { - "id": "custom.align" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "rgba(50, 172, 45, 0.97)", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 0 - }, - { - "color": "rgba(245, 54, 54, 0.9)", - "value": 0 - } - ] - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "namespace" - }, - "properties": [ - { - "id": "displayName", - "value": "Namespace" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "persistentvolumeclaim" - }, - "properties": [ - { - "id": "displayName", - "value": "PVC" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align" - } - ] - } - ] - }, - "gridPos": { - "h": 14, - "w": 8, - "x": 0, - "y": 8 - }, - "id": 63, - "links": [], - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "editorMode": "code", - "expr": "(\n (\n (kubelet_volume_stats_available_bytes {namespace=~\".*\"} ) \n and\n (predict_linear(kubelet_volume_stats_available_bytes {namespace=~\".*\"}[1w], 7 * 24 * 60 * 60) < 0)\n )\n)", - "format": "table", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Volumes Full in Week Based on Daily Use Rate - Current", - "transformations": [ - { - "id": "merge", - "options": { - "reducers": [] - } - } - ], - "type": "table" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "# of Alerts", - "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": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "links": [], - "mappings": [], - "min": 0, - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 16, - "x": 8, - "y": 8 - }, - "id": 61, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(\n (\n ((kubelet_volume_stats_used_bytes {namespace=\"$namespace\"} ) * 0) + 1\n and\n (predict_linear(kubelet_volume_stats_available_bytes {namespace=\"$namespace\"}[1d], 7 * 24 * 60 * 60) < 0)\n )\n)", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{persistentvolumeclaim}}", - "refId": "A" - } - ], - "title": "Volumes Full in Week Based on Daily Use Rate - Alert History", - "type": "timeseries" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "1 Week Predicted Available Space", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "links": [], - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 16, - "x": 8, - "y": 15 - }, - "id": 78, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(\n (predict_linear(kubelet_volume_stats_available_bytes {namespace=\"$namespace\"}[1d], 7 * 24 * 60 * 60) < 0)\n)", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{persistentvolumeclaim}}", - "refId": "A" - } - ], - "title": "Volumes Full in Week Based on Daily Use Rate - Predicted Available Space History", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto", - "inspect": false - }, - "decimals": 2, - "displayName": "", - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Value #A" - }, - "properties": [ - { - "id": "displayName", - "value": "Used" - }, - { - "id": "unit", - "value": "bytes" - }, - { - "id": "custom.displayMode", - "value": "color-background" - }, - { - "id": "custom.align" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "rgba(50, 172, 45, 0.97)" - }, - { - "color": "#FF9830", - "value": 0 - }, - { - "color": "#FF9830", - "value": 0 - } - ] - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Value #B" - }, - "properties": [ - { - "id": "displayName", - "value": "Capacity" - }, - { - "id": "unit", - "value": "bytes" - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Value #C" - }, - "properties": [ - { - "id": "displayName", - "value": "Free" - }, - { - "id": "unit", - "value": "bytes" - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Value #D" - }, - "properties": [ - { - "id": "displayName", - "value": "% Used" - }, - { - "id": "unit", - "value": "percentunit" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "rgba(50, 172, 45, 0.97)" - }, - { - "color": "rgba(237, 129, 40, 0.89)" - }, - { - "color": "rgba(245, 54, 54, 0.9)" - } - ] - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "storageclass" - }, - "properties": [ - { - "id": "displayName", - "value": "StorageClass" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "volumename" - }, - "properties": [ - { - "id": "displayName", - "value": "PV" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "namespace" - }, - "properties": [ - { - "id": "displayName", - "value": "Namespace" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "persistentvolumeclaim" - }, - "properties": [ - { - "id": "displayName", - "value": "PVC" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Value #F" - }, - "properties": [ - { - "id": "displayName", - "value": "Volume Stats Exist?" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.displayMode", - "value": "color-text" - }, - { - "id": "custom.align" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "rgba(245, 54, 54, 0.9)" - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 1 - }, - { - "color": "rgba(50, 172, 45, 0.97)", - "value": 1 - } - ] - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 22 - }, - "id": 12, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "editorMode": "code", - "expr": "(\n (kube_persistentvolumeclaim_info {namespace=\"$namespace\"})\n and\n (\n (\n (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"}))\n /\n (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"}))\n ) >= ($pvc_percent_used_warning_threshold / 100)\n )\n)", - "format": "table", - "instant": true, - "refId": "E" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) and ((max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"})) >= ($pvc_percent_used_warning_threshold / 100))", - "format": "table", - "instant": true, - "intervalFactor": 1, - "refId": "A" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"})) and ((max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"})) >= ($pvc_percent_used_warning_threshold / 100))", - "format": "table", - "instant": true, - "refId": "B" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_available_bytes {namespace=\"$namespace\"})) and ((max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"})) >= ($pvc_percent_used_warning_threshold / 100))", - "format": "table", - "instant": true, - "refId": "C" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"})) >= ($pvc_percent_used_warning_threshold / 100)", - "format": "table", - "instant": true, - "refId": "D" - } - ], - "title": "Running PVCs Above % Used Warning Threshold Stats - Current", - "transformations": [ - { - "id": "merge", - "options": { - "reducers": [] - } - } - ], - "type": "table" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "fieldConfig": { - "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": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "links": [], - "mappings": [], - "min": 0, - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 16, - "x": 8, - "y": 22 - }, - "id": 65, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(\n ((max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) * 0 +1)\n and\n (\n (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"}))\n ) >= ($pvc_percent_used_warning_threshold / 100)\n)", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Running PVCs Above % Used Warning Threshold", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 28 - }, - "id": 27, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Stats", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 0, - "y": 29 - }, - "id": 4, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "(sum (kube_persistentvolumeclaim_status_phase{phase=\"Bound\", namespace=\"$namespace\"})) or vector(0)", - "format": "table", - "instant": true, - "refId": "A" - } - ], - "title": "Bound PVCs", - "type": "stat" - }, - { - "columns": [], - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editable": false, - "error": false, - "fontSize": "100%", - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 33 - }, - "id": 8, - "isNew": false, - "links": [ - { - "includeVars": false, - "targetBlank": true, - "title": "OpenShift Container Storage (OCS) 3.11: Operations Guide: 10.1. Available Metrics for File Storage and Block Storage", - "type": "", - "url": "https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/3.11/html/operations_guide/enable_vol_metrics#file_vol_metrics" - } - ], - "scroll": false, - "showHeader": true, - "sort": { - "col": 15, - "desc": true - }, - "span": 0, - "styles": [ - { - "alias": "Used", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Value #A", - "thresholds": [], - "type": "number", - "unit": "bytes" - }, - { - "alias": "Capacity", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Value #B", - "thresholds": [], - "type": "number", - "unit": "bytes" - }, - { - "alias": "Free", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Value #C", - "thresholds": [], - "type": "number", - "unit": "bytes" - }, - { - "alias": "% Free", - "align": "auto", - "colorMode": "cell", - "colors": [ - "rgba(50, 172, 45, 0.97)", - "rgba(237, 129, 40, 0.89)", - "rgba(245, 54, 54, 0.9)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "pattern": "Value #D", - "thresholds": [ - ".8", - ".9" - ], - "type": "number", - "unit": "percentunit" - }, - { - "alias": "StorageClass", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "pattern": "storageclass", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "PV", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "pattern": "volumename", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Namespace", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "pattern": "namespace", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "PVC", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "pattern": "persistentvolumeclaim", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "alias": "Volume Stats Exist?", - "align": "auto", - "colorMode": "value", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "pattern": "Value #F", - "thresholds": [ - "1", - "1" - ], - "type": "string", - "unit": "short" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "hidden", - "unit": "short" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": " (kube_persistentvolumeclaim_info { namespace = \"$namespace\" })", - "format": "table", - "instant": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "(1-max by (persistentvolumeclaim, namespace) (kube_persistentvolumeclaim_info { namespace = \"$namespace\" }) ) unless (max by (namespace, persistentvolumeclaim) (kubelet_volume_stats_used_bytes { namespace = \"$namespace\" })) or ((max by (persistentvolumeclaim, namespace) (kube_persistentvolumeclaim_info { namespace = \"$namespace\" }) ) and (max by (namespace, persistentvolumeclaim) (kubelet_volume_stats_used_bytes { namespace = \"$namespace\" })))", - "format": "table", - "instant": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes { namespace = \"$namespace\" })", - "format": "table", - "instant": true, - "intervalFactor": 1, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes { namespace = \"$namespace\" })", - "format": "table", - "instant": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_available_bytes { namespace = \"$namespace\" })", - "format": "table", - "instant": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes { namespace = \"$namespace\" })) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes { namespace = \"$namespace\" }))", - "format": "table", - "instant": true, - "refId": "D" - } - ], - "title": "PVC Stats", - "transform": "table", - "type": "table-old" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 42 - }, - "id": 34, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Use", - "type": "row" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "description": "WARNING: Any PVCs that are not bound to a running pod will not show up in this state.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 43 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"})) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\"})) * 100", - "intervalFactor": 1, - "legendFormat": "{{persistentvolumeclaim}}", - "refId": "A" - } - ], - "title": "Running PVCs % Used", - "type": "timeseries" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "description": "WARNING: Any PVCs that are not bound to a running pod will not show up in this state.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 51 - }, - "id": 19, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\"}))", - "intervalFactor": 1, - "legendFormat": "{{persistentvolumeclaim}}", - "refId": "A" - } - ], - "title": "All Running PVCs Used Bytes", - "type": "timeseries" - }, - { - "CustomPanel": { - "collapsed": false, - "datasource": "openshift-prometheus", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 33 - }, - "id": 14, - "panels": [], - "title": "Running PVCs Used Bytes vs Capacity", - "type": "row" - }, - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editable": false, - "error": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 59 - }, - "id": 14, - "isNew": false, - "panels": [], - "span": 0, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Use vs Capacity", - "type": "row" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "description": "WARNING: Any PVCs that are not bound to a running pod will not show up.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Capacity" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#C4162A", - "mode": "fixed" - } - }, - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 60 - }, - "id": 20, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "repeat": "persistentvolumeclaim", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes {namespace=\"$namespace\", persistentvolumeclaim=\"$persistentvolumeclaim\"}))", - "intervalFactor": 1, - "legendFormat": "Used", - "refId": "A" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes {namespace=\"$namespace\", persistentvolumeclaim=\"$persistentvolumeclaim\"}))", - "legendFormat": "Capacity", - "refId": "B" - } - ], - "title": "$persistentvolumeclaim", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 74 - }, - "id": 41, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "Use Rate", - "type": "row" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "description": "WARNING: Any PVCs that are not bound to a running pod will not show up in this state.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 75 - }, - "id": 43, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "rate(kubelet_volume_stats_used_bytes {namespace=\"$namespace\"}[1h])", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{namespace}} ({{persistentvolumeclaim}})", - "refId": "A" - } - ], - "title": "Hourly Volume Use Rate", - "type": "timeseries" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "description": "WARNING: Any PVCs that are not bound to a running pod will not show up in this state.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 81 - }, - "id": 49, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "rate(kubelet_volume_stats_used_bytes {namespace=\"$namespace\"}[1d])", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{namespace}} ({{persistentvolumeclaim}})", - "refId": "A" - } - ], - "title": "Daily Volume Use Rate", - "type": "timeseries" - }, - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "description": "WARNING: Any PVCs that are not bound to a running pod will not show up in this state.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 87 - }, - "id": 50, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "expr": "rate(kubelet_volume_stats_used_bytes {namespace=\"$namespace\"}[1w])", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{namespace}} ({{persistentvolumeclaim}})", - "refId": "A" - } - ], - "title": "Weekly Volume Use Rate", - "type": "timeseries" - } - ], - "refresh": "30m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "storage", - "volumes", - "kubernetes" - ], - "templating": { - "list": [ - { - "allFormat": "", - "allValue": "", - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "multiFormat": "", - "name": "DS_OPENSHIFT_PROMETHEUS", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "datasource" - }, - { - "allFormat": "", - "allValue": "", - "current": { - "selected": false, - "text": "harness-free", - "value": "harness-free" - }, - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "definition": "", - "hide": 0, - "includeAll": false, - "label": "namespace", - "multi": false, - "multiFormat": "", - "name": "namespace", - "options": [], - "query": { - "query": "label_values(kube_namespace_created,namespace)", - "refId": "ProdSetup-ManagedPrometheus-namespace-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allFormat": "", - "allValue": "", - "current": { - "text": "80", - "value": "80" - }, - "hide": 0, - "includeAll": false, - "label": "PVC % Used Warning Threshold", - "multi": false, - "multiFormat": "", - "name": "pvc_percent_used_warning_threshold", - "options": [ - { - "selected": true, - "text": "80", - "value": "80" - } - ], - "query": "80", - "refresh": false, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "textbox" - }, - { - "allFormat": "", - "allValue": "", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "uid": "$DS_OPENSHIFT_PROMETHEUS" - }, - "definition": "", - "hide": 2, - "includeAll": true, - "label": "", - "multi": false, - "multiFormat": "", - "name": "persistentvolumeclaim", - "options": [], - "query": { - "query": "label_values(kubelet_volume_stats_used_bytes {namespace=\"$namespace\"}, persistentvolumeclaim)", - "refId": "ProdSetup-ManagedPrometheus-persistentvolumeclaim-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] - }, - "timezone": "", - "title": "Storage & Volumes", - "uid": "4onhu45Vk", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Code-gen/BUILD.bazel b/Code-gen/BUILD.bazel deleted file mode 100644 index 5f44672..0000000 --- a/Code-gen/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Code-gen/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Code-gen/http_request_latency.json b/Code-gen/http_request_latency.json deleted file mode 100644 index 2170eab..0000000 --- a/Code-gen/http_request_latency.json +++ /dev/null @@ -1,422 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 290, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.90, sum(rate(http_request_duration_highr_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "90% http request duration", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(http_request_duration_highr_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "95% http request duration", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.99, sum(rate(http_request_duration_highr_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "99% http request duration", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "arya-ManagedPrometheus", - "value": "arya-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(http_request_duration_highr_seconds_bucket,namespace)", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(http_request_duration_highr_seconds_bucket,namespace)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(http_request_duration_highr_seconds_bucket,cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(http_request_duration_highr_seconds_bucket,cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(http_request_duration_highr_seconds_bucket,job)", - "hide": 0, - "includeAll": false, - "label": "Job", - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(http_request_duration_highr_seconds_bucket,job)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-5m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Http request latency", - "uid": "cf1f26b3-21a2-4b03-be64-5116c1846504", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Code-gen/openai_code_latency.json b/Code-gen/openai_code_latency.json deleted file mode 100644 index 8c99fa1..0000000 --- a/Code-gen/openai_code_latency.json +++ /dev/null @@ -1,975 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 289, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.90, sum(rate(openai_code_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "90% openai code generation latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 0 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "10.0.10", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(openai_code_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "95% openai code completion latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 0 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.99, sum(rate(openai_code_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "99% openai code generation latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 8 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.90, sum(rate(openai_comment_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "90% openai comment generation latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 8 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(openai_comment_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "95% openai comment generation latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 8 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.99, sum(rate(openai_comment_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "99% openai comment generation latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 16 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "10.0.10", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.90, sum(rate(openai_test_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "90% openai test generation latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 16 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "10.0.10", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(openai_test_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "95% openai test generation latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 16 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "10.0.10", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.99, sum(rate(openai_test_generation_request_latency_seconds_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])) by (le))", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "99% openai test generation latency", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "QASetup-ManagedPrometheus", - "value": "QASetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "qa", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(openai_code_generation_request_latency_seconds_bucket,namespace)", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(openai_code_generation_request_latency_seconds_bucket,namespace)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "qa-private", - "value": "qa-private" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(openai_code_generation_request_latency_seconds_bucket,cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(openai_code_generation_request_latency_seconds_bucket,cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "code-gen", - "value": "code-gen" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(openai_code_generation_request_latency_seconds_bucket,job)", - "hide": 0, - "includeAll": false, - "label": "Job", - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(openai_code_generation_request_latency_seconds_bucket,job)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-15m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Openai code latency", - "uid": "c547fd16-79a3-4b35-93eb-0c95fc0372bf", - "version": 10, - "weekStart": "" -} \ No newline at end of file diff --git a/Code-gen/service_resources.json b/Code-gen/service_resources.json deleted file mode 100644 index dcab877..0000000 --- a/Code-gen/service_resources.json +++ /dev/null @@ -1,438 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 293, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(kubernetes_io:container_cpu_core_usage_time{container_name=\"$job\", namespace_name=\"$namespace\", cluster_name=\"$cluster\"}[1m]))", - "instant": false, - "legendFormat": "Used", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_cpu_request_cores{container_name=\"$job\", namespace_name=\"$namespace\", cluster_name=\"$cluster\"})", - "hide": false, - "instant": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - } - ], - "title": "CPU usage and requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_request_utilization{container_name=\"$job\", namespace_name=\"$namespace\", cluster_name=\"$cluster\"})", - "instant": false, - "legendFormat": "Memory_used_percentage", - "range": true, - "refId": "A" - } - ], - "title": "Memory usage %", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "25957c1e-c760-42e0-8c49-24fe2ed61bb7" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_restart_count{container_name=\"$job\", namespace_name=\"$namespace\", cluster_name=\"$cluster\"}", - "instant": false, - "range": true, - "refId": "A" - } - ], - "title": "Container restart count", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "arya-ManagedPrometheus", - "value": "arya-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "qa", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(http_request_duration_highr_seconds_bucket,namespace)", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(http_request_duration_highr_seconds_bucket,namespace)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(http_request_duration_highr_seconds_bucket,cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(http_request_duration_highr_seconds_bucket,cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(http_request_duration_highr_seconds_bucket,job)", - "hide": 0, - "includeAll": false, - "label": "Job", - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(http_request_duration_highr_seconds_bucket,job)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Service resource", - "uid": "d7b0fef6-a45a-4ed1-b470-716f74e584ff", - "version": 2, - "weekStart": "" -} \ No newline at end of file diff --git a/Continuous_ET/BUILD.bazel b/Continuous_ET/BUILD.bazel deleted file mode 100644 index 5b4ce23..0000000 --- a/Continuous_ET/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Continuous_ET/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Continuous_ET/Continuous_Error_Tracking_K8s_Overview.json b/Continuous_ET/Continuous_Error_Tracking_K8s_Overview.json deleted file mode 100644 index 78e2ee5..0000000 --- a/Continuous_ET/Continuous_Error_Tracking_K8s_Overview.json +++ /dev/null @@ -1,2728 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 73, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 67, - "panels": [], - "title": "Overview", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "GCP Deployment", - "url": "https://console.cloud.google.com/kubernetes/deployment/us-west1/${cluster}/${namespace}/${__field.labels.container_name}/overview?project=${project}" - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "error-tracking" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-sql" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-agent" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-collector" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-decompile" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-hit" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "purple", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 61, - "options": { - "legend": { - "calcs": [ - "max", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (container_name) (rate(kubernetes_io:container_cpu_core_usage_time{monitored_resource=\"k8s_container\",cluster_name=\"$cluster\",namespace_name=\"$namespace\",metadata_system_top_level_controller_type=\"Deployment\"}[${__interval}]))", - "legendFormat": "{{container_name}}", - "range": true, - "refId": "Used" - } - ], - "title": "CPU Usage Overview", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "Memory (% of usage/request)", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "GCP Deployment", - "url": "https://console.cloud.google.com/kubernetes/deployment/us-west1/${cluster}/${namespace}/${__field.labels.container}/overview?project=${project}" - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "error-tracking" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-sql" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-agent" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-collector" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-decompile" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-hit" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "purple", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 62, - "options": { - "legend": { - "calcs": [ - "max", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (location, cluster_name, namespace_name, container) (\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n)\n/\nsum by (location, cluster_name, namespace_name, container) (\n kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n)\n* 100\n", - "legendFormat": "{{container}}", - "range": true, - "refId": "Used" - } - ], - "title": "Memory Usage Overview", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "left", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "links": [ - { - "targetBlank": true, - "title": "Go to logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.cluster_name%3D%22${cluster}%22%0Aresource.labels.namespace_name%3D%22${namespace}%22%0Alabels.k8s-pod%2Fapp%3D%22${__field.labels.container_name}%22%20severity%3DERROR%20OR%20CRITICAL%0A;aroundTime=${__value.time:date:iso};duration=PT5M?project=${project}" - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 5 - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "error-tracking" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-sql" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-agent" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-collector" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-decompile" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-hit" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "purple", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 64, - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Total", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by(container_name, namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", severity=~\"ERROR|CRITICAL\"}[$__interval]))", - "instant": false, - "interval": "", - "legendFormat": "{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Error/Critical Logs", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "GCP Deployment", - "url": "https://console.cloud.google.com/kubernetes/deployment/us-west1/${cluster}/${namespace}/${__field.labels.container_name}/overview?project=${project}" - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "error-tracking" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-sql" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-agent" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-collector" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-decompile" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-hit" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "purple", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 14 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(container_name) (delta(kubernetes_io:container_restart_count{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\"}[2m]) / 2)", - "legendFormat": "{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Pod Restarts", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 19 - }, - "id": 137, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (streamName, groupName) (stream_group_pending_count{job=~\"$service\"})", - "legendFormat": "{{streamName}} ({{groupName}})", - "range": true, - "refId": "A" - } - ], - "title": "Pending Message Counts", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "Pod Details", - "url": "https://console.cloud.google.com/kubernetes/pod/us-west1/${cluster}/${namespace}/${__field.labels.pod}/details?project=${project} " - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 19 - }, - "id": 80, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (pod) (agents_connected_active{cluster=~\"$cluster\", job=\"et-collector\", namespace=~\"$namespace\"})", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Agents Connected", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 25 - }, - "id": 49, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "links": [ - { - "targetBlank": true, - "title": "Pod Details", - "url": "https://console.cloud.google.com/kubernetes/pod/us-west1/${cluster}/${namespace}/${__field.labels.pod}/details?project=${project} " - } - ], - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green" - }, - { - "color": "orange", - "value": 70 - }, - { - "color": "red", - "value": 85 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 5, - "x": 0, - "y": 26 - }, - "id": 1, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "application_ready_time_seconds{namespace=\"$namespace\", job=~\"$service\"}", - "format": "time_series", - "instant": true, - "intervalFactor": 1, - "legendFormat": "{{ pod }}", - "range": false, - "refId": "A" - } - ], - "title": "Application Start Time(s)", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "links": [ - { - "targetBlank": true, - "title": "Go to logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.cluster_name%3D%22${cluster}%22%0Aresource.labels.namespace_name%3D%22${namespace}%22%0Alabels.k8s-pod%2Fapp%3D%22${__field.labels.container_name}%22%20severity%3DERROR%20OR%20CRITICAL%0A;startTime=${__from:date:iso};endTime=${__to:date:iso}?project=${project}\n\n" - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 5 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 5, - "y": 26 - }, - "id": 53, - "links": [], - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$service\"}) by (container_name)\n", - "instant": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Number of Error/Critical Logs", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "center", - "displayMode": "auto", - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "^(?!pod|image|Value #Restarts$).*$" - }, - "properties": [ - { - "id": "custom.hidden", - "value": true - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "pod" - }, - "properties": [ - { - "id": "displayName", - "value": "Pod" - }, - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Pod Details", - "url": "https://console.cloud.google.com/kubernetes/pod/us-west1/${cluster}/${namespace}/${__data.fields.pod}/details?project=${project}" - } - ] - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "image_spec" - }, - "properties": [ - { - "id": "displayName", - "value": "Image" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Value #Restarts" - }, - "properties": [ - { - "id": "displayName", - "value": "Restarts" - }, - { - "id": "custom.displayMode", - "value": "auto" - } - ] - } - ] - }, - "gridPos": { - "h": 4, - "w": 15, - "x": 9, - "y": 26 - }, - "id": 55, - "options": { - "footer": { - "enablePagination": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "frameIndex": 1, - "showHeader": true, - "sortBy": [ - { - "desc": true, - "displayName": "Value #Restarts" - } - ] - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (namespace, container, pod, image_spec) (kube_pod_container_info{namespace=~\"$namespace\", container=~\"$service\"})", - "format": "table", - "instant": true, - "legendFormat": "{{container}}/{{image_spec}}", - "range": false, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (namespace, container, pod) (kube_pod_container_status_restarts_total{namespace=\"$namespace\", container=~\"$service\"})", - "format": "table", - "hide": false, - "instant": true, - "legendFormat": "{{pod}} restarts", - "range": false, - "refId": "Restarts" - } - ], - "title": "Pod Info", - "transformations": [ - { - "id": "joinByField", - "options": { - "byField": "pod", - "mode": "outer" - } - } - ], - "type": "table" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 5, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "Pod Details", - "url": "https://console.cloud.google.com/kubernetes/pod/us-west1/${cluster}/${namespace}/${__field.labels.pod}/details?project=${project}" - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Requests" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "light-orange", - "mode": "fixed" - } - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "et-receiver-decompile-b5cb9c747-gnn82" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#5794F2", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 30 - }, - "id": 35, - "options": { - "legend": { - "calcs": [ - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (rate(container_cpu_usage_seconds_total{namespace=\"$namespace\", container=\"$service\"}[5m]))", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg(kube_pod_container_resource_requests{namespace=\"$namespace\",resource=\"cpu\", container=\"$service\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg(kube_pod_container_resource_limits{namespace=\"$namespace\",resource=\"cpu\", container=\"$service\"})", - "hide": false, - "legendFormat": "Limits", - "range": true, - "refId": "C" - } - ], - "title": "CPU usage, requests and limits", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "Memory", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 3, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "Pod Details", - "url": "https://console.cloud.google.com/kubernetes/pod/us-west1/${cluster}/${namespace}/${__field.labels.pod}/details?project=${project}" - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Limits" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Requests" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 30 - }, - "id": 33, - "options": { - "legend": { - "calcs": [ - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg(kube_pod_container_resource_requests{namespace=\"$namespace\",resource=\"memory\", container=\"$service\"})", - "format": "time_series", - "instant": false, - "legendFormat": "Requests", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg(kube_pod_container_resource_limits{namespace=\"$namespace\",resource=\"memory\", container=\"$service\"})", - "hide": false, - "legendFormat": "Limits", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (container_memory_usage_bytes{namespace=\"$namespace\", container=\"$service\"})", - "hide": false, - "legendFormat": "{{pod}}", - "range": true, - "refId": "C" - } - ], - "title": "Memory usage, requests, and limits", - "type": "timeseries" - } - ], - "repeat": "service", - "repeatDirection": "h", - "title": "$service", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 32 - }, - "id": 57, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "Visualizes peak CPU utilization", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 33 - }, - "id": 59, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max_over_time(cloudsql_googleapis_com:database_cpu_utilization{monitored_resource=\"cloudsql_database\",database_id=~\"$database(-replica)?\"}[${__interval}])", - "instant": false, - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": " CPU utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This panel visualizes the total number of PostgreSQL database backends grouped by their operational state, specifically on the \"overops\" database. It helps monitor the distribution of database connections across various states.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 600 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 33 - }, - "id": 71, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(max_over_time(cloudsql_googleapis_com:database_postgresql_num_backends_by_state{monitored_resource=\"cloudsql_database\",database_id=~\"$database(-replica)?\", database=\"overops\"}[${__interval}])) by (state)", - "instant": false, - "legendFormat": "{{state}}", - "range": true, - "refId": "A" - } - ], - "title": "Connections by State", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "Ratio of current memory usage over the memory quota to ensure efficient memory resource management.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 41 - }, - "id": 72, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "cloudsql_googleapis_com:database_memory_usage{database_id=~\"$database(-replica)?\"} / cloudsql_googleapis_com:database_memory_quota{database_id=~\"$database(-replica)?\"}\n", - "instant": false, - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Memory Utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This dashboard panel displays database latency measured in microseconds (us), providing insights into the response times of database queries and operations. It enables quick assessment of performance, with lower values indicating faster response times, while higher values may indicate delays in data retrieval or processing.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "us" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 41 - }, - "id": 68, - "options": { - "legend": { - "calcs": [ - "mean", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "max by (quantile) (histogram_quantile(0.99,delta(cloudsql_googleapis_com:database_postgresql_insights_aggregate_latencies_bucket{resource_id=~\"$database(-replica)?\"}[5m])))", - "instant": false, - "legendFormat": "q=0.99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by (quantile) (histogram_quantile(0.95,delta(cloudsql_googleapis_com:database_postgresql_insights_aggregate_latencies_bucket{resource_id=~\"$database(-replica)?\"}[5m])))", - "hide": false, - "legendFormat": "q=0.95", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by (quantile) (histogram_quantile(0.50,delta(cloudsql_googleapis_com:database_postgresql_insights_aggregate_latencies_bucket{resource_id=~\"$database(-replica)?\"}[5m])))", - "hide": false, - "legendFormat": "q=0.50", - "range": true, - "refId": "C" - } - ], - "title": "Query latency", - "type": "timeseries" - } - ], - "title": "PostgreSQL", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 33 - }, - "id": 74, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "max": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 34 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(role) (rate(redis_googleapis_com:stats_cpu_utilization{instance_id=\"$instance\", monitored_resource=\"redis_instance\"}[$__interval]))", - "legendFormat": "{{role}}", - "range": true, - "refId": "A" - } - ], - "title": "CPU Utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "left", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 858993459 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 34 - }, - "id": 7, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_memory_usage{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "legendFormat": "Primary", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_memory_usage{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"replica\"}", - "hide": false, - "legendFormat": "Replica", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_memory_maxmemory{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "hide": false, - "legendFormat": "Max", - "range": true, - "refId": "C" - } - ], - "title": "Memory Utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 34 - }, - "id": 9, - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "rate(redis_googleapis_com:commands_calls{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}[$__interval])", - "legendFormat": "Primary - {{cmd}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "rate(redis_googleapis_com:commands_calls{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"replica\"}[$__interval])", - "hide": false, - "legendFormat": "Replica - {{cmd}}", - "range": true, - "refId": "B" - } - ], - "title": "Calls", - "type": "timeseries" - } - ], - "repeat": "instance", - "repeatDirection": "h", - "title": "Redis $instance", - "type": "row" - } - ], - "refresh": "1m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "CET" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Data Source", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "hide": 2, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*cluster_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "et-free", - "value": "et-free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*namespace_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 2, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": true, - "label": "Service", - "multi": true, - "name": "service", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*container_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-setup-205416", - "value": "prod-setup-205416" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "description": "Used for linking to GCP when the project info is needed.", - "hide": 2, - "includeAll": false, - "label": "GCP Project", - "multi": false, - "name": "project", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*project_id=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-setup-205416:et-prod2-pg", - "value": "prod-setup-205416:et-prod2-pg" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "cloudsql_googleapis_com:database_uptime{database_id=~\".*:et.*\", database_id!~\".*replica.*\", project_id=\"$project\"}", - "description": "Database to match on in queries (hidden).", - "hide": 0, - "includeAll": false, - "label": "Database", - "multi": false, - "name": "database", - "options": [], - "query": { - "query": "cloudsql_googleapis_com:database_uptime{database_id=~\".*:et.*\", database_id!~\".*replica.*\", project_id=\"$project\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "/.*database_id=\\\"([\\w\\-\\:]+)\\\".*/", - "skipUrlSync": false, - "sort": 3, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "redis-et-prod2-primary" - ], - "value": [ - "projects/prod-setup-205416/locations/us-west1/instances/redis-et-prod2-primary" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "redis_googleapis_com:server_uptime{instance_id=~\".*(et-|redis-et).*\", instance_id!~\".*(failover).*\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "description": "", - "hide": 0, - "includeAll": true, - "label": "Redis Instance", - "multi": true, - "name": "instance", - "options": [], - "query": { - "query": "redis_googleapis_com:server_uptime{instance_id=~\".*(et-|redis-et).*\", instance_id!~\".*(failover).*\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*instance_id=\"(?projects\\/[\\w\\d\\-]+\\/locations\\/[\\w\\d\\-]+\\/instances\\/(?[\\w\\d\\-]+)).*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-3h", - "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": "", - "title": "Continuous Error Tracking K8s Overview", - "uid": "pod-cpu-usage-dashboard", - "version": 105, - "weekStart": "" -} \ No newline at end of file diff --git a/Continuous_ET/Continuous_Error_Tracking_SLIs.json b/Continuous_ET/Continuous_Error_Tracking_SLIs.json deleted file mode 100644 index f46c1c2..0000000 --- a/Continuous_ET/Continuous_Error_Tracking_SLIs.json +++ /dev/null @@ -1,1031 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 141, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 34, - "panels": [], - "repeat": "namespace", - "repeatDirection": "h", - "title": "$namespace", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 35, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 30 - } - ] - }, - "unit": "s" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "error-tracking" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": false - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 26, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 250 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (job, quantile) (http_server_requests_seconds{quantile=\"0.95\", namespace=\"$namespace\", job=\"error-tracking\"})", - "hide": false, - "legendFormat": "{{job}}", - "range": true, - "refId": "B" - } - ], - "title": "95th Request latency (error-tracking)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 0.06, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.05 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "5xx / all" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 24, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 250 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum (rate(http_server_requests_seconds{job=\"error-tracking\", namespace=\"$namespace\", status=~\"5.*\"}[5m]) OR up * 0)", - "hide": false, - "legendFormat": "5xx", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum (rate(http_server_requests_seconds{job=\"error-tracking\", namespace=\"$namespace\", status!~\"5.*\"}[5m]))", - "hide": false, - "legendFormat": "all", - "range": true, - "refId": "B" - } - ], - "title": "Rate of 5xx errors to all requests (error-tracking)", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 35, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 30 - } - ] - }, - "unit": "s" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "error-tracking" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": false - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 70, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 250 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (job, quantile) (http_server_requests_seconds{quantile=\"0.95\", namespace=\"$namespace\", job=\"et-collector\"})", - "hide": false, - "legendFormat": "{{job}}", - "range": true, - "refId": "B" - } - ], - "title": "95th Request latency (et-collector)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 0.06, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.05 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "5xx / all" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 71, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 250 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum (rate(http_server_requests_seconds{job=\"et-collector\", namespace=\"$namespace\", status=~\"5.*\"}[5m]) OR up * 0)", - "hide": false, - "legendFormat": "5xx", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum (rate(http_server_requests_seconds{job=\"et-collector\", namespace=\"$namespace\", status!~\"5.*\"}[5m]))", - "hide": false, - "legendFormat": "all", - "range": true, - "refId": "B" - } - ], - "title": "Rate of 5xx errors to all requests (et-collector)", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 35, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 30 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 61, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(stream_message_processing_seconds_sum{namespace=~\"$namespace\", job=\"et-receiver-sql\"}[$__interval])/rate(stream_message_processing_seconds_count{namespace=~\"$namespace\", job=\"et-receiver-sql\"}[$__interval])", - "legendFormat": "{{streamName}} ({{pod}})", - "range": true, - "refId": "A" - } - ], - "title": "Message Processing Time (et-receiver-sql)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 35, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 30 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 85, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(stream_message_processing_seconds_sum{namespace=~\"$namespace\", job=\"et-receiver-sql\"}[$__interval])/rate(stream_message_processing_seconds_count{namespace=~\"$namespace\", job=\"et-receiver-sql\"}[$__interval])", - "legendFormat": "{{streamName}} ({{pod}})", - "range": true, - "refId": "A" - } - ], - "title": "Message Processing Time (et-receiver-sql)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 35, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 30 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 19 - }, - "id": 84, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(stream_message_processing_seconds_sum{namespace=~\"$namespace\", job=\"et-receiver-agent\"}[$__interval])/rate(stream_message_processing_seconds_count{namespace=~\"$namespace\", job=\"et-receiver-agent\"}[$__interval])", - "legendFormat": "{{streamName}} ({{pod}})", - "range": true, - "refId": "A" - } - ], - "title": "Message Processing Time (et-receiver-agent)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 35, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 30 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 19 - }, - "id": 86, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(stream_message_processing_seconds_sum{namespace=~\"$namespace\", job=\"et-receiver-decompile\"}[$__interval])/rate(stream_message_processing_seconds_count{namespace=~\"$namespace\", job=\"et-receiver-decompile\"}[$__interval])", - "legendFormat": "{{streamName}} ({{pod}})", - "range": true, - "refId": "A" - } - ], - "title": "Message Processing Time (et-receiver-decompile)", - "type": "timeseries" - } - ], - "refresh": "1m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "CET" - ], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"prod-private-uswest1-primary\", container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": true, - "multi": true, - "name": "namespace", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"prod-private-uswest1-primary\", container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*namespace_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 2, - "type": "query" - } - ] - }, - "time": { - "from": "now-1m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Continuous Error Tracking SLIs", - "uid": "UCt2tbMIz123", - "version": 30, - "weekStart": "" -} \ No newline at end of file diff --git a/Continuous_ET/Continuous_Error_Tracking_Services.json b/Continuous_ET/Continuous_Error_Tracking_Services.json deleted file mode 100644 index 86a4d3b..0000000 --- a/Continuous_ET/Continuous_Error_Tracking_Services.json +++ /dev/null @@ -1,1867 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 97, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 88, - "panels": [], - "title": "Agent Metrics", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 80, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by (SID) (agents_connected_active{cluster=~\"$cluster\", job=\"et-collector\", namespace=~\"$namespace\"})", - "instant": false, - "legendFormat": "{{SID}}", - "range": true, - "refId": "A" - } - ], - "title": "Agents Connected", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 49, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "left", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "links": [ - { - "targetBlank": true, - "title": "Go to logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.cluster_name%3D%22${cluster}%22%0Aresource.labels.namespace_name%3D%22${namespace}%22%0Alabels.k8s-pod%2Fapp%3D%22${__field.labels.container_name}%22%20severity%3DERROR%20OR%20CRITICAL%0A;aroundTime=${__value.time:date:iso};duration=PT5M?project=${project}" - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 5 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 64, - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by(container_name, namespace_name, pod_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", severity=~\"ERROR|CRITICAL\", container_name=\"$service\", pod_name=~\"$pods\"}[$__interval]))", - "instant": false, - "interval": "", - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Error/Critical Logs", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 23 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod_name) (delta(kubernetes_io:container_restart_count{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=\"$service\", pod_name=~\"$pods\"}[2m]) / 2)", - "legendFormat": "{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Pod Restarts", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This Grafana visualization calculates the average processing time per message for the chosen namespace and pods, allowing you to assess the efficiency of message handling. It's a valuable metric for optimizing message processing performance.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 28 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Min", - "sortDesc": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "rate(stream_message_processing_seconds_sum{job=\"$service\", pod=~\"$pods\", namespace=\"$namespace\"}[$__interval]) / rate(stream_message_processing_seconds_count{job=\"$service\", pod=~\"$pods\", namespace=\"$namespace\"}[$__interval])", - "legendFormat": "{{streamName}} - {{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Message Processing Time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "decbytes" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 33 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "mean", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_memory_used_bytes{namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "hide": false, - "legendFormat": "Used {{pod}}", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_memory_committed_bytes{namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "hide": false, - "legendFormat": "Committed {{pod}}", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk(1, sum by(pod) (jvm_memory_max_bytes{namespace=\"$namespace\", job=\"$service\"}))", - "instant": false, - "legendFormat": "Max", - "range": true, - "refId": "A" - } - ], - "title": "JVM Total Memory Max, Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "decbytes" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 33 - }, - "id": 75, - "options": { - "legend": { - "calcs": [ - "mean", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_memory_used_bytes{area=\"heap\", namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "hide": false, - "legendFormat": "Used {{pod}}", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_memory_committed_bytes{area=\"heap\", namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "hide": false, - "legendFormat": "Committed {{pod}}", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk(1, sum by(pod) (jvm_memory_max_bytes{area=\"heap\", namespace=\"$namespace\", job=\"$service\"}))", - "instant": false, - "legendFormat": "Max", - "range": true, - "refId": "A" - } - ], - "title": "JVM Heap Max, Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "decbytes" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 42 - }, - "id": 76, - "options": { - "legend": { - "calcs": [ - "mean", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_memory_used_bytes{area=\"nonheap\", namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "hide": false, - "legendFormat": "Used {{pod}}", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_memory_committed_bytes{area=\"nonheap\", namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "hide": false, - "legendFormat": "Committed {{pod}}", - "range": true, - "refId": "B" - } - ], - "title": "JVM Non-Heap Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 42 - }, - "id": 12, - "options": { - "legend": { - "calcs": [ - "mean", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_threads_live_threads{namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "legendFormat": "Live ({{pod}})", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_threads_peak_threads{namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "hide": false, - "legendFormat": "Peak ({{pod}})", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(pod) (jvm_threads_daemon_threads{namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "hide": false, - "legendFormat": "Daemon ({{pod}})", - "range": true, - "refId": "B" - } - ], - "title": "JVM Threads Count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "blocked" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-red", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 51 - }, - "id": 78, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (state) (jvm_threads_states_threads{namespace=\"$namespace\", job=\"$service\", pod=~\"$pods\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Thread Count by State", - "type": "timeseries" - } - ], - "repeat": "pods", - "repeatDirection": "h", - "title": "$pods", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 13 - }, - "id": 51, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "500" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "403" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-orange", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 14 - }, - "id": 47, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (uri, job, method) (rate(http_server_requests_seconds_count{namespace=\"$namespace\", job=~\"$service\", uri!~\"root\"}[$__interval]))", - "format": "time_series", - "interval": "", - "legendFormat": "{{method}} {{uri}}", - "range": true, - "refId": "A" - } - ], - "title": "Requests by URI", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "500" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "403" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-orange", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 21 - }, - "id": 27, - "options": { - "legend": { - "calcs": [ - "max", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (status, job) (rate(http_server_requests_seconds_count{namespace=\"$namespace\", job=~\"$service\"}[5m]))", - "format": "time_series", - "interval": "", - "legendFormat": "{{status}}", - "range": true, - "refId": "A" - } - ], - "title": "Requests by Status", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "500" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "403" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-orange", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 21 - }, - "id": 46, - "options": { - "legend": { - "calcs": [ - "max", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (method, job) (rate(http_server_requests_seconds_count{namespace=\"$namespace\", job=~\"$service\"}[5m]))", - "format": "time_series", - "interval": "", - "legendFormat": "{{method}}", - "range": true, - "refId": "A" - } - ], - "title": "Requests by Method", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "P95 (95th Percentile): Represents the value below which 95% of the data points fall. It's commonly used to assess the performance of a system under typical load.\nP99 (99th Percentile): Represents the value below which 99% of the data points fall. It helps identify outliers and potential performance issues that affect a small portion of requests.\nP999 (99.9th Percentile): Represents the value below which 99.9% of the data points fall. It's used to identify extreme outliers and performance problems affecting very few requests.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 29 - }, - "id": 7, - "options": { - "legend": { - "calcs": [ - "max", - "last" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(job, quantile) (http_server_requests_seconds{job=\"$service\", namespace=\"$namespace\"})", - "legendFormat": "{{quantile}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(environment) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_999thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\"})", - "hide": false, - "legendFormat": "99.9th percentile snapshot", - "range": true, - "refId": "B" - } - ], - "title": "HTTP Response Percentiles", - "type": "timeseries" - } - ], - "title": "HTTP Metrics", - "type": "row" - } - ], - "refresh": "1m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "CET" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Data Source", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*cluster_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "et-free", - "value": "et-free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*namespace_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "error-tracking", - "value": "error-tracking" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": false, - "label": "Service", - "multi": false, - "name": "service", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*container_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$service\"}", - "hide": 0, - "includeAll": true, - "label": "Pods", - "multi": true, - "name": "pods", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$service\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*pod_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-setup-205416", - "value": "prod-setup-205416" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "description": "Used for linking to GCP when the project info is needed.", - "hide": 2, - "includeAll": false, - "label": "GCP Project", - "multi": false, - "name": "project", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*project_id=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-3h", - "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": "", - "title": "Continuous Error Tracking Services", - "uid": "cet-service-metrics", - "version": 43, - "weekStart": "" -} \ No newline at end of file diff --git a/Continuous_ET/Continuous_Error_Tracking_Stream_Metrics.json b/Continuous_ET/Continuous_Error_Tracking_Stream_Metrics.json deleted file mode 100644 index ed9c630..0000000 --- a/Continuous_ET/Continuous_Error_Tracking_Stream_Metrics.json +++ /dev/null @@ -1,879 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 145, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This Grafana visualization calculates the average memory usage for different stream names within the specified namespace. It's a valuable metric for assessing the memory footprint of streams, aiding in resource management and system optimization.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by (streamName) (stream_memory_usage{job=\"error-tracking\", namespace=~\"$namespace\", streamName=~\"$streamName\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Stream Memory Usage", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This Grafana visualization calculates the average message size for each stream name within the specified namespace. It provides a valuable metric for assessing the size distribution of messages in the streams, aiding in resource allocation and performance optimization.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 5, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by (streamName) (stream_average_message_size{job=\"error-tracking\", namespace=~\"$namespace\", streamName=~\"$streamName\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Stream Avg Message Size", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This Grafana visualization displays the cumulative count of pending messages in Redis streams, categorized by group names, within the specified namespace and stream. It offers valuable insights into unacknowledged or unprocessed messages, helping to manage and optimize real-time data stream processing", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 6, - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (groupName) (stream_group_pending_count{job=\"error-tracking\", namespace=~\"$namespace\", streamName=~\"$streamName\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Pending Message Counts", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This Grafana visualization displays the average total length of streams categorized by their names within the specified namespace.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 7, - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by (streamName) (stream_total_length{job=\"error-tracking\", namespace=~\"$namespace\", streamName=~\"$streamName\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Average Stream Length", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This Grafana visualization calculates the average processing time per message for the chosen namespace and pods, allowing you to assess the efficiency of message handling. It's a valuable metric for optimizing message processing performance.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "GCP Pod Details", - "url": "https://console.cloud.google.com/kubernetes/pod/us-west1/${cluster}/${namespace}/${__field.labels.pod}/details?project=${project} " - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Min", - "sortDesc": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "rate(stream_message_processing_seconds_sum{namespace=~\"$namespace\", streamName=~\"$streamName\", pod=~\"$pods\"}[$__interval]) / rate(stream_message_processing_seconds_count{namespace=~\"$namespace\", streamName=~\"$streamName\", pod=~\"$pods\"}[$__interval])", - "legendFormat": "{{streamName}} - {{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Message Processing Time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "This Grafana visualization tracks the rate of stream message processing in the selected namespace and pods, providing insights into the efficiency of message handling.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "GCP Pod Details", - "url": "https://console.cloud.google.com/kubernetes/pod/us-west1/${cluster}/${namespace}/${__field.labels.pod}/details?project=${project} " - } - ], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 26 - }, - "id": 10, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "rate(stream_message_processing_seconds_count{namespace=~\"$namespace\", streamName=~\"$streamName\", pod=~\"$pods\"}[$__interval])", - "legendFormat": "{{streamName}} - {{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Rate of Messages Processed", - "type": "timeseries" - } - ], - "refresh": "1m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "CET" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Data Source", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "et-free", - "value": "et-free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*namespace_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 2, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "stream_memory_usage{job=\"error-tracking\"}", - "hide": 0, - "includeAll": true, - "label": "Stream Name", - "multi": true, - "name": "streamName", - "options": [], - "query": { - "query": "stream_memory_usage{job=\"error-tracking\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*streamName=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{namespace_name=~\"$namespace\"}", - "hide": 0, - "includeAll": true, - "label": "Pod Name", - "multi": true, - "name": "pods", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{namespace_name=~\"$namespace\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 2, - "regex": ".*pod_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "redis_googleapis_com:server_uptime{instance_id=~\".*(et-|redis-et).*\", instance_id!~\".*(failover).*\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "description": "", - "hide": 2, - "includeAll": true, - "label": "Redis Instance", - "multi": true, - "name": "instance", - "options": [], - "query": { - "query": "redis_googleapis_com:server_uptime{instance_id=~\".*(et-|redis-et).*\", instance_id!~\".*(failover).*\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*instance_id=\"(?projects\\/[\\w\\d\\-]+\\/locations\\/[\\w\\d\\-]+\\/instances\\/(?[\\w\\d\\-]+)).*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "hide": 2, - "includeAll": false, - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*cluster_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-setup-205416", - "value": "prod-setup-205416" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "hide": 2, - "includeAll": false, - "multi": false, - "name": "project", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*project_id=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-5m", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] - }, - "timezone": "", - "title": "Continuous Error Tracking Stream Metrics", - "uid": "xo_osXnSz", - "version": 34, - "weekStart": "" -} \ No newline at end of file diff --git a/Continuous_ET/Weekly_Health_Report.json b/Continuous_ET/Weekly_Health_Report.json deleted file mode 100644 index 21d93d3..0000000 --- a/Continuous_ET/Weekly_Health_Report.json +++ /dev/null @@ -1,783 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 76, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 5, - "panels": [], - "repeat": "namespace", - "repeatDirection": "h", - "title": "$namespace", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.cluster_name%3D%22${cluster}%22%0Aresource.labels.namespace_name%3D%22${namespace}%22%0Alabels.k8s-pod%2Fapp%3D%22${__field.labels.container_name}%22%20severity%3DERROR%20OR%20CRITICAL%0A;aroundTime=${__value.time:date:iso};duration=PT30M?project=${project}" - } - ], - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "error-tracking" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 40, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs (Last 7 Days)", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.cluster_name%3D%22${cluster}%22%0Aresource.labels.namespace_name%3D%22${namespace}%22%20severity%3DERROR%20OR%20CRITICAL%0A;duration=P7D?project=${project}" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Total", - "sortDesc": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(container_name, namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$container\", severity=~\"ERROR|CRITICAL\"}[$__interval]))", - "legendFormat": "{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Errors by service ($namespace)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 3, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs (Last 7 Days)", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.cluster_name%3D%22${cluster}%22%0Aresource.labels.namespace_name%3D%22${namespace}%22%20severity%3DERROR%20OR%20CRITICAL%0A;duration=P7D?project=${project}" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Total", - "sortDesc": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$container\", severity=~\"ERROR|CRITICAL\"}[$__interval]))", - "legendFormat": "Total", - "range": true, - "refId": "A" - } - ], - "title": "Total errors ($namespace)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 22, - "links": [], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Total", - "sortDesc": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(container_name, namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$container\", severity=~\"ERROR|CRITICAL\"}[$__interval] offset 1w))", - "legendFormat": "{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Last week errors by service ($namespace)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 23, - "links": [], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Total", - "sortDesc": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", severity=~\"ERROR|CRITICAL\", container_name=~\"$container\", severity=~\"ERROR|CRITICAL\"}[$__interval] offset 1w))", - "legendFormat": "Total", - "range": true, - "refId": "A" - } - ], - "title": "Last week total errors ($namespace)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 1, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 13 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (namespace, container, image_spec) (kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"$container\"}) * 0 + 1", - "format": "time_series", - "legendFormat": "{{container}}/{{image_spec}}", - "range": true, - "refId": "A" - } - ], - "title": "Releases", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [ - "CET" - ], - "templating": { - "list": [ - { - "allValue": "(ProdSetup|QASetup)-.*", - "current": { - "selected": true, - "text": [ - "ProdSetup-ManagedPrometheus" - ], - "value": [ - "ProdSetup-ManagedPrometheus" - ] - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "(ProdSetup|QASetup)-.*", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": ".*", - "current": { - "selected": true, - "text": [ - "prod-private-uswest1-primary" - ], - "value": [ - "prod-private-uswest1-primary" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*cluster_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": ".*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": true, - "label": "Namespace", - "multi": true, - "name": "namespace", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*namespace_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 2, - "type": "query" - }, - { - "allValue": "et-.*|error-.*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": true, - "label": "Container", - "multi": true, - "name": "container", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*container_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": ".*et-.*|error-.*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container\", pod_name=~\"et-.*|error-.*\"}", - "hide": 0, - "includeAll": true, - "label": "Pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container\", pod_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*pod_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-setup-205416", - "value": "prod-setup-205416" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "hide": 2, - "includeAll": false, - "multi": false, - "name": "project", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"et-.*|error-.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*project_id=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-7d", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Weekly Health Report", - "uid": "g9lWsgGIz", - "version": 13, - "weekStart": "" -} \ No newline at end of file diff --git a/Database/BUILD.bazel b/Database/BUILD.bazel deleted file mode 100644 index 04cda90..0000000 --- a/Database/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Database/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Database/MongoDB_Overview.json b/Database/MongoDB_Overview.json deleted file mode 100644 index 9107346..0000000 --- a/Database/MongoDB_Overview.json +++ /dev/null @@ -1,1472 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": false, - "hide": false, - "iconColor": "#e0752d", - "limit": 100, - "name": "PMM Annotations", - "showIn": 0, - "tags": [ - "pmm_annotation" - ], - "target": { - "limit": 100, - "matchAny": false, - "tags": [ - "pmm_annotation" - ], - "type": "tags" - }, - "type": "tags" - } - ] - }, - "description": "", - "editable": false, - "fiscalYearStartMonth": 0, - "gnetId": 7353, - "graphTooltip": 1, - "id": 20, - "links": [], - "liveNow": false, - "panels": [ - { - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 18, - "panels": [], - "repeat": "host", - "repeatDirection": "h", - "title": "Networking", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "Rate of instance network I/O over the last 5 min.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 20, - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(rate(hardware_system_network_eth0_bytes_in_bytes{instance=\"$host\"}[5m]))", - "legendFormat": "bytes received", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "- sum(rate(hardware_system_network_eth0_bytes_out_bytes{instance=\"$host\"}[5m]))", - "hide": false, - "legendFormat": "bytes sent", - "range": true, - "refId": "B" - } - ], - "title": "$host Network I/O [5min]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "Rate of cluster network I/O over the last 5 min.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 21, - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum(rate(hardware_system_network_eth0_bytes_in_bytes{cl_name=\"$cluster\"}[5m]))", - "legendFormat": "bytes received", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "- sum(rate(hardware_system_network_eth0_bytes_out_bytes{cl_name=\"$cluster\"}[5m]))", - "hide": false, - "legendFormat": "bytes sent", - "range": true, - "refId": "B" - } - ], - "title": "$cluster Network I/O [5min]", - "type": "timeseries" - }, - { - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 13, - "panels": [], - "repeat": "host", - "repeatDirection": "h", - "title": "Memory", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "Instance memory stats", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "deckbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 10 - }, - "id": 15, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "hardware_system_memory_mem_total_kilobytes{instance=\"$host\"}", - "legendFormat": "total memory", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "hardware_system_memory_mem_available_kilobytes{instance=\"$host\"}", - "hide": false, - "legendFormat": "available memory", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "hardware_system_memory_swap_total_kilobytes{instance=\"$host\"}", - "hide": false, - "legendFormat": "swap avail", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "hardware_system_memory_swap_free_kilobytes{instance=\"$host\"}", - "hide": false, - "legendFormat": "swap free", - "range": true, - "refId": "D" - } - ], - "title": "$host Memory Stats", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "Cluster memory stats", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "deckbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 10 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum by(cl_name)(hardware_system_memory_mem_total_kilobytes{cl_name=\"$cluster\"})", - "legendFormat": "total memory", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum by(cl_name)(hardware_system_memory_mem_available_kilobytes{cl_name=\"$cluster\"})", - "hide": false, - "legendFormat": "available memory", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum by(cl_name)(hardware_system_memory_swap_total_kilobytes{cl_name=\"$cluster\"})", - "hide": false, - "legendFormat": "swap avail", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum by(cl_name)(hardware_system_memory_swap_free_kilobytes{cl_name=\"$cluster\"})", - "hide": false, - "legendFormat": "swap free", - "range": true, - "refId": "D" - } - ], - "title": "$cluster Memory Stats", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 2, - "panels": [], - "repeat": "host", - "repeatDirection": "h", - "title": "Disk Information", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 19 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "hardware_disk_metrics_disk_space_free_bytes{instance=\"$host\"}", - "legendFormat": "{{instance}}", - "range": true, - "refId": "A" - } - ], - "title": "$host Free Disk Space", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 19 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum by (cl_name)(hardware_disk_metrics_disk_space_free_bytes{cl_name=\"$cluster\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "$cluster Free Disk Space ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 27 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "hardware_disk_metrics_disk_space_used_bytes{instance=\"$host\"}", - "legendFormat": "{{instance}}", - "range": true, - "refId": "A" - } - ], - "title": "$host Used Disk Space", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 27 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum by (cl_name)(hardware_disk_metrics_disk_space_used_bytes{cl_name=\"$cluster\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "$cluster Used Disk Space ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 35 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "rate(hardware_disk_metrics_read_time_milliseconds{instance=\"$host\"}[$__rate_interval])", - "legendFormat": "read time", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "- rate(hardware_disk_metrics_write_time_milliseconds{instance=\"$host\"}[$__rate_interval])", - "hide": false, - "legendFormat": "write time", - "range": true, - "refId": "B" - } - ], - "title": "$host Total R/W Time of Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 35 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum by(cl_name)(rate(hardware_disk_metrics_read_time_milliseconds{cl_name=\"$cluster\"}[$__rate_interval]))", - "legendFormat": "{{instance}} read time", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "- sum by(cl_name)(rate(hardware_disk_metrics_write_time_milliseconds{cl_name=\"$cluster\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "{{instance}} write time", - "range": true, - "refId": "B" - } - ], - "title": "$cluster Total R/W Time of Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "Number of pages the system has swapped in from or out to disk.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 43 - }, - "id": 23, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "rate(hardware_system_vm_page_swap_in{instance=\"$host\"}[1h])", - "legendFormat": "swap in", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "- rate(hardware_system_vm_page_swap_in{instance=\"$host\"}[1h])", - "hide": false, - "legendFormat": "swap out", - "range": true, - "refId": "B" - } - ], - "title": "$host System VM Page Swap I/O [1h]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "description": "Number of pages the system has swapped in from or out to disk.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 43 - }, - "id": 24, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "sum by(cl_name)(rate(hardware_system_vm_page_swap_in{cl_name=\"$cluster\"}[1h]))", - "legendFormat": "swap in", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "editorMode": "code", - "expr": "- sum by(cl_name)(rate(hardware_system_vm_page_swap_in{instance=\"$host\"}[1h]))", - "hide": false, - "legendFormat": "swap out", - "range": true, - "refId": "B" - } - ], - "title": "$cluster System VM Page Swap I/O [1h]", - "type": "timeseries" - } - ], - "refresh": "5m", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "MongoDB" - ], - "templating": { - "list": [ - { - "allFormat": "blob", - "current": { - "selected": false, - "text": "free-ccm-0", - "value": "free-ccm-0" - }, - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "definition": "label_values(cl_name)", - "hide": 0, - "includeAll": true, - "label": "Cluster", - "multi": false, - "multiFormat": "glob", - "name": "cluster", - "options": [], - "query": { - "query": "label_values(cl_name)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "type": "query", - "useTags": false - }, - { - "allFormat": "glob", - "current": { - "selected": false, - "text": "free-ccm-0-shard-00-03-pri.w7uwj.gcp.mongodb.net:27018", - "value": "free-ccm-0-shard-00-03-pri.w7uwj.gcp.mongodb.net:27018" - }, - "datasource": { - "type": "prometheus", - "uid": "P1519DBA481F5F131" - }, - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Instance", - "multi": false, - "multiFormat": "glob", - "name": "host", - "options": [], - "query": { - "query": "label_values({__name__=~\"mongodb_mongod_connections{cluster=~\\\"$cluster\\\"}|mongodb_up\"}, instance)", - "refId": "STO-Prod-Prometheus-host-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": { - "hidden": false, - "now": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "browser", - "title": "MongoDB Overview", - "uid": "8_DLIX5Vz", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Feature_Flags/BUILD.bazel b/Feature_Flags/BUILD.bazel deleted file mode 100644 index e33daff..0000000 --- a/Feature_Flags/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Feature_Flags/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Feature_Flags/FF_Customer_Dashboard.json b/Feature_Flags/FF_Customer_Dashboard.json deleted file mode 100644 index 7e37f7f..0000000 --- a/Feature_Flags/FF_Customer_Dashboard.json +++ /dev/null @@ -1,1367 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(matched_url_path_rule, response_code) (rate(loadbalancing_googleapis_com:https_request_count{backend_target_name=~\"free-cf-client-backend\", forwarding_rule_name=\"prod-cf-https\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "URL={{matched_url_path_rule}}, Code={{response_code}}", - "range": true, - "refId": "A" - } - ], - "title": "Evaluation Request Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 5, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(matched_url_path_rule, response_code) (rate(loadbalancing_googleapis_com:https_request_count{backend_target_name=~\"free-pushpin-backend\", forwarding_rule_name=\"prod-cf-https\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "URL={{matched_url_path_rule}}, Code={{response_code}}", - "range": true, - "refId": "A" - } - ], - "title": "Stream Request Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "url=/api/1.0/client/env/:environmentUUID/feature-configs" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url, method) (rate(ff_http_requests_total{url=~\"/api/1.0/admin/.*\", namespace=\"$namespace\", account=~\"${AccountID:value}\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "url={{url}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url) (rate(ff_sdk_http_requests_total{namespace=\"$namespace\", account=~\"${AccountID:value}\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "url={{url}}", - "range": true, - "refId": "B" - } - ], - "title": "${AccountID:value} Request Rate By URL", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "sdk=.Net ff-netF48-server-sdk, Version=1.1.9.0, Culture=neutral, PublicKeyToken=null Client, url=/api/1.0/metrics/:environmentUUID" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 21 - }, - "id": 15, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(sdk, url) (rate(ff_sdk_http_requests_total{namespace=\"$namespace\", account=~\"${AccountID:value}\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "sdk={{sdk}}, url={{url}}", - "range": true, - "refId": "B" - } - ], - "title": "${AccountID:value} Request Rate By SDK", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Shows which SDKs are being used", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 16, - "w": 24, - "x": 0, - "y": 34 - }, - "id": 7, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(sdk_language, sdk_version, sdk_type) (rate(ff_metrics_service_sdk_count{namespace=\"harness-nextgen-free\", accountID=~\"${AccountID:value}\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "${AccountID:value} SDK Usage", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Shows which SDKs are being used", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "{accountID=\"QbXF1VIZTIC2-ueN1uTWHQ\", sdk_language=\".NET\", sdk_type=\"server\", sdk_version=\"0.0.0.0\"}" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 16, - "w": 24, - "x": 0, - "y": 50 - }, - "id": 14, - "options": { - "legend": { - "calcs": [ - "min", - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(sdk_language, sdk_version, sdk_type, accountID) (rate(ff_metrics_service_sdk_count{namespace=\"harness-nextgen-free\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": " SDK Usage Grouped By Account", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Shows which SDKs are being used", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "fillOpacity": 80, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineWidth": 1, - "scaleDistribution": { - "type": "linear" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue" - }, - { - "color": "green", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 16, - "w": 18, - "x": 0, - "y": 66 - }, - "id": 8, - "interval": "1d", - "options": { - "barRadius": 0, - "barWidth": 0.97, - "groupWidth": 0.7, - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "orientation": "auto", - "showValue": "auto", - "stacking": "none", - "tooltip": { - "mode": "single", - "sort": "none" - }, - "xTickLabelRotation": 0, - "xTickLabelSpacing": 0 - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(sdk_type) (increase(ff_metrics_service_sdk_count{namespace=\"${namespace}\", accountID=~\"${AccountID:value}\"}[24h]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Total SDK Evaluations By Day", - "type": "barchart" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Shows which SDKs are being used", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue" - }, - { - "color": "green", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 16, - "w": 6, - "x": 18, - "y": 66 - }, - "id": 9, - "interval": "1d", - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(sdk_type) (increase(ff_metrics_service_sdk_count{namespace=\"${namespace}\", accountID=~\"${AccountID:value}\"}[30d]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Total SDK Evaluations Per Month", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 18, - "x": 0, - "y": 82 - }, - "id": 10, - "interval": "1d", - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url) (increase(ff_http_requests_total{url=~\"/api/1.0/client/auth\", namespace=\"$namespace\", account=~\"${AccountID:value}\", method=\"POST\", code=\"200\"}[24h]))", - "legendFormat": "url={{url}}", - "range": true, - "refId": "A" - } - ], - "title": "${AccountID:value} Connections per Day", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 6, - "x": 18, - "y": 82 - }, - "id": 11, - "interval": "1d", - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url) (increase(ff_http_requests_total{url=~\"/api/1.0/stream\", namespace=\"$namespace\", account=~\"${AccountID:value}\", code=\"200\", method=\"GET\"}[30d]))", - "legendFormat": "url={{url}}", - "range": true, - "refId": "A" - } - ], - "title": "${AccountID:value} Connections last 30days", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 18, - "x": 0, - "y": 95 - }, - "id": 12, - "interval": "1d", - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url) (increase(ff_http_requests_total{url=~\"/api/1.0/admin/features\", namespace=\"$namespace\", account=~\"${AccountID:value}\", method=\"POST\", code=\"201\"}[24h]))", - "legendFormat": "url={{url}}", - "range": true, - "refId": "A" - } - ], - "title": "${AccountID:value} Flags Created per Day", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 6, - "x": 18, - "y": 95 - }, - "id": 13, - "interval": "1d", - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url) (increase(ff_http_requests_total{url=~\"/api/1.0/admin/features\", namespace=\"$namespace\", account=~\"${AccountID:value}\", method=\"POST\", code=\"201\"}[30d]))", - "legendFormat": "url={{url}}", - "range": true, - "refId": "A" - } - ], - "title": "${AccountID:value} Flags Created last 30d", - "type": "stat" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "All", - "value": ".*" - }, - "hide": 0, - "includeAll": false, - "label": "Account ID", - "multi": true, - "name": "AccountID", - "options": [ - { - "selected": true, - "text": "All", - "value": ".*" - }, - { - "selected": false, - "text": "Simpplr", - "value": "nh1pCWJXSReBDf3Ibh0kQg" - }, - { - "selected": false, - "text": "SCB", - "value": "_-ITnAA2Sg6fPowwXWzlxg" - }, - { - "selected": false, - "text": "ZeroFlucs", - "value": "rvvu5i6TQ3yTomFmk_NR0g" - }, - { - "selected": false, - "text": "Dkatalis", - "value": "26TRmCAhRRKVB3UUD_q11g" - }, - { - "selected": false, - "text": "Yum Brands", - "value": "LBcoZcDQQUS37ccH4lViQQ" - }, - { - "selected": false, - "text": "The Real Real", - "value": "bzykiJh8S0SHReAeHJr4QQ" - }, - { - "selected": false, - "text": "Harness-FF-Prod1", - "value": "k4e8Jrt5THWe0Owle0Gr-Q" - }, - { - "selected": false, - "text": "Harness-FF-Prod2", - "value": "31bhHXSHSRKo9Ud8U4-1VQ" - }, - { - "selected": false, - "text": "Harness-FF-Prod3", - "value": "Wki8Hz1eRRqJJvLlJAYZOw" - }, - { - "selected": false, - "text": "Goldcast", - "value": "F6yB5uRTQ5Cod6MWQoQXdg" - }, - { - "selected": false, - "text": "BigThree", - "value": "nh1pCWJXSReBDf3Ibh0kQg|-ITnAA2Sg6fPowwXWzlxg|bzykiJh8S0SHReAeHJr4QQ" - }, - { - "selected": false, - "text": "Dfin", - "value": "QbXF1VIZTIC2-ueN1uTWHQ" - }, - { - "selected": false, - "text": "Tessian", - "value": "NtP2d9KbQGmdlL8LEkN-rA" - }, - { - "selected": false, - "text": "Montu", - "value": "X4qbpncMSyKP3yDfAEqHzw" - }, - { - "selected": false, - "text": "Spotana", - "value": "_lnNBBJbQUaiITdI9niH_A" - }, - { - "selected": false, - "text": "LDS", - "value": "BoRV8ufsTfym0JlNGyeqcA" - }, - { - "selected": false, - "text": "Experian", - "value": "89jpOP9RQu22FwOOh_Zpmg" - } - ], - "query": "All : .*, Simpplr : nh1pCWJXSReBDf3Ibh0kQg, SCB : _-ITnAA2Sg6fPowwXWzlxg, ZeroFlucs : rvvu5i6TQ3yTomFmk_NR0g, Dkatalis : 26TRmCAhRRKVB3UUD_q11g, Yum Brands : LBcoZcDQQUS37ccH4lViQQ, The Real Real : bzykiJh8S0SHReAeHJr4QQ, Harness-FF-Prod1 : k4e8Jrt5THWe0Owle0Gr-Q, Harness-FF-Prod2 : 31bhHXSHSRKo9Ud8U4-1VQ, Harness-FF-Prod3 : Wki8Hz1eRRqJJvLlJAYZOw, Goldcast : F6yB5uRTQ5Cod6MWQoQXdg, BigThree : nh1pCWJXSReBDf3Ibh0kQg|-ITnAA2Sg6fPowwXWzlxg|bzykiJh8S0SHReAeHJr4QQ, Dfin : QbXF1VIZTIC2-ueN1uTWHQ, Tessian : NtP2d9KbQGmdlL8LEkN-rA, Montu : X4qbpncMSyKP3yDfAEqHzw, Spotana : _lnNBBJbQUaiITdI9niH_A, LDS : BoRV8ufsTfym0JlNGyeqcA, Experian : 89jpOP9RQu22FwOOh_Zpmg ", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": true, - "text": "harness-nextgen-free", - "value": "harness-nextgen-free" - }, - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [ - { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - { - "selected": true, - "text": "harness-nextgen-free", - "value": "harness-nextgen-free" - }, - { - "selected": false, - "text": "harness-nextgen-comp", - "value": "harness-nextgen-comp" - } - ], - "query": "harness-nextgen, harness-nextgen-free, harness-nextgen-comp", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "", - "hide": 0, - "includeAll": false, - "multi": false, - "name": "query0", - "options": [], - "query": { - "query": "", - "refId": "ProdSetup-ManagedPrometheus-query0-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-7d", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "FF Customer Dashboard", - "uid": "fdhqFEbVz", - "version": 31, - "weekStart": "" -} diff --git a/Feature_Flags/Feature_Flags_Proxy.json b/Feature_Flags/Feature_Flags_Proxy.json deleted file mode 100644 index 0ed2b58..0000000 --- a/Feature_Flags/Feature_Flags_Proxy.json +++ /dev/null @@ -1,1134 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 114, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(code) (rate(ff_proxy_http_requests_total{namespace=\"$namespace\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Requests by Status Code", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(url) (rate(ff_proxy_http_requests_total{namespace=\"$namespace\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Requests by Endpoint", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 10 - }, - "id": 6, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_proxy_http_requests_duration_bucket{namespace=\"harness-nextgen\"}[5m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Duration", - "type": "heatmap" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 10 - }, - "id": 8, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "bytes" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_http_requests_content_length_histogram_bucket{namespace=\"$namespace\"}[5m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Payload Size", - "type": "heatmap" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 20 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_redis_cache_write_count{error=\"false\", namespace=\"$namespace\"}[5m]))", - "legendFormat": "Successful Writes", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "rate(ff_proxy_redis_cache_write_count{error=\"true\"}[5m])", - "hide": false, - "legendFormat": "Failed Writes", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(cluster) (rate(ff_proxy_redis_cache_remove_count{namespace=\"harness-nextgen\"}[5m]))", - "hide": false, - "legendFormat": "Deletes", - "range": true, - "refId": "C" - } - ], - "title": "Redis Writes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 16, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 20 - }, - "id": 12, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(error) (rate(ff_proxy_sse_publish{namespace=\"$namespace\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Forwarded SSE Events", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 30 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(operation) (rate(ff_proxy_redis_cache_write_count{error=\"true\", namespace=\"$namespace\"}[5m]))", - "legendFormat": "Write Error", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(operation) (rate(ff_proxy_redis_cache_read_count{error=\"true\"}[5m]))", - "hide": false, - "legendFormat": "Read Error", - "range": true, - "refId": "B" - } - ], - "title": "Redis Errors", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 30 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_redis_cache_read_count{namespace=\"$namespace\", error=\"false\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Reads", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 40 - }, - "id": 18, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_hit{namespace=\"$namespace\"}[5m]))", - "legendFormat": "Cache Hit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_miss{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Miss", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_hit_with_unmarshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Hit (But had to unmarshall)", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_write_marshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Remote Cache Hit (wrote to local)", - "range": true, - "refId": "D" - } - ], - "title": "Memoize Cache Hits", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 53 - }, - "id": 20, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(error) (rate(ff_proxy_metrics_forwarded{namespace=\"$namespace\"}[5m]))", - "legendFormat": "error={{error}}", - "range": true, - "refId": "A" - } - ], - "title": "Metrics Forwarded", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Shows which SDKs are using the ff-proxy", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 53 - }, - "id": 22, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(sdk_type, sdk_language, sdk_version) (rate(ff_proxy_sdk_usage{namespace=\"$namespace\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "SDK Usage", - "type": "timeseries" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "hide": 0, - "includeAll": false, - "label": "namespace", - "multi": false, - "name": "namespace", - "options": [ - { - "selected": true, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - { - "selected": false, - "text": "harness-nextgen-comp", - "value": "harness-nextgen-comp" - } - ], - "query": "harness-nextgen,harness-nextgen-comp", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Feature Flags Proxy", - "uid": "x7WdWJgIz", - "version": 19, - "weekStart": "" -} \ No newline at end of file diff --git a/Feature_Flags/Feature_Flags_QA.json b/Feature_Flags/Feature_Flags_QA.json deleted file mode 100644 index c1e3b01..0000000 --- a/Feature_Flags/Feature_Flags_QA.json +++ /dev/null @@ -1,3596 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 309, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 57 - }, - "id": 329, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "cloudsql_googleapis_com:database_cpu_utilization{database_id=~\".*qa-setup:cf-qa.*\"}", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Database CPU Utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 57 - }, - "id": 331, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "rate(cloudsql_googleapis_com:database_postgresql_transaction_count{database_id=~\".*qa-setup:cf-qa.*\", database=\"cf_db\"}[$__rate_interval])", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Database Transaction Count", - "type": "timeseries" - } - ], - "title": "Database", - "type": "row" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 31, - "panels": [], - "title": "Load Balancer", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 2 - }, - "id": 39, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "topk(5, sum by(account) (rate(ff_http_requests_total{url=~\"/api/1.0/client/.*|/api/1.0/stream\", namespace=\"${namespace:text}\"}[$__rate_interval])))", - "legendFormat": "account={{account}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Rate By Top 10 Account", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 47, - "interval": "20s", - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(matched_url_path_rule, response_code) (rate(loadbalancing_googleapis_com:https_request_count{backend_target_name=~\"ff.*\", matched_url_path_rule=~\"/api/1.0/client/auth|/api/1.0/client/.*|/api/1.0/metrics|/api/1.0/client\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "URL={{matched_url_path_rule}}, Code={{response_code}}", - "range": true, - "refId": "A" - } - ], - "title": "Evaluation Request Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 49, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(matched_url_path_rule, response_code) (rate(loadbalancing_googleapis_com:https_request_count{backend_target_name=~\"pushpin-1-backend-service\", forwarding_rule_name=\"ff-server-rule\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "URL={{matched_url_path_rule}}, Code={{response_code}}", - "range": true, - "refId": "A" - } - ], - "title": "Stream Request Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 21 - }, - "id": 51, - "interval": "20s", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le, matched_url_path_rule) (rate(loadbalancing_googleapis_com:https_total_latencies_bucket{backend_target_name=~\"ff-.*\", forwarding_rule_name=\"ff-server-rule\", matched_url_path_rule=~\"/api/1.0/client|/api/1.0/client/auth|/api/1.0/metrics\"}[1m])))", - "hide": false, - "legendFormat": "URL={{matched_url_path_rule}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Latency", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 32 - }, - "id": 8, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "C" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 186 - }, - "id": 17, - "interval": "20s", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(rate(kubernetes_io:container_memory_used_bytes{container_name=\"$service\", namespace_name=\"${namespace:text}\", cluster_name=\"qa-private\"}[1m]))", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(kubernetes_io:container_memory_request_bytes{container_name=\"$service\", namespace_name=\"${namespace:text}\", cluster_name=\"qa-private\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(kubernetes_io:container_memory_limit_bytes{container_name=\"$service\", namespace_name=\"${namespace:text}\", cluster_name=\"qa-private\"})", - "hide": false, - "legendFormat": "Limits", - "range": true, - "refId": "C" - } - ], - "title": "Memory usage, requests and limits", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 186 - }, - "id": 21, - "interval": "20s", - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(code) (rate(ff_http_requests_total{namespace=\"${namespace:text}\", job=\"$service\"}[$__interval]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(code) (rate(ff_sdk_http_requests_total{namespace=\"${namespace:text}\", job=\"$service\"}[$__interval]))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Requests by Status Code", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.lineStyle" - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 194 - }, - "id": 12, - "interval": "20s", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(rate(kubernetes_io:container_cpu_core_usage_time{container_name=\"$service\", namespace_name=\"${namespace:text}\", cluster_name=\"qa-private\"}[1m]))", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(kubernetes_io:container_cpu_request_cores{namespace_name=\"${namespace:text}\", container_name=\"$service\", cluster_name=\"qa-private\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - } - ], - "title": "CPU usage and requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 1, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 194 - }, - "id": 23, - "interval": "20s", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sort_desc(sum by(url) (rate(ff_http_requests_total{namespace=\"${namespace:text}\", job=\"$service\"}[$__interval])))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Requests by URL", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 202 - }, - "id": 19, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "go_goroutines{namespace=\"${namespace:text}\", job=\"$service\"}", - "legendFormat": "{{instance}}", - "range": true, - "refId": "A" - } - ], - "title": "Go Routines", - "type": "timeseries" - } - ], - "repeat": "service", - "repeatDirection": "h", - "title": "$service", - "type": "row" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 36 - }, - "id": 351, - "panels": [], - "title": "pushpin-worker events", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 11, - "x": 0, - "y": 37 - }, - "id": 371, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(rate(ff_worker_service_sent_messages{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "Sent Messages", - "range": true, - "refId": "A" - } - ], - "title": "Sent Messages", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "fixed", - "seriesBy": "max" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 13, - "x": 11, - "y": 37 - }, - "id": 373, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(rate(ff_worker_service_dropped_messages{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "Dropped Messages", - "range": true, - "refId": "A" - } - ], - "title": "Dropped Messages", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "blue", - "mode": "fixed" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 11, - "x": 0, - "y": 48 - }, - "id": 375, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(reason) (rate(ff_worker_service_skipped_messages{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "reason={{reason}}", - "range": true, - "refId": "A" - } - ], - "title": "Skipped Messages", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 13, - "x": 11, - "y": 48 - }, - "id": 289, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_worker_service_event_duration_bucket{namespace=\"harness-nextgen\"}[5m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Event Processing Duration", - "type": "heatmap" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 59 - }, - "id": 249, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_worker_service_memoize_cache_hit{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "Cache Hit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_worker_service_memoize_cache_miss{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Miss", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_worker_service_memoize_cache_hit_with_unmarshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Hit (But had to unmarshall)", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_worker_service_memoize_cache_write_marshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Remote Cache Hit (wrote to local)", - "range": true, - "refId": "D" - } - ], - "title": "Memoize Cache Hits", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 72 - }, - "id": 2, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "connections" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.stacking", - "value": { - "group": "A", - "mode": "none" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 56 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "exemplar": false, - "expr": "connection_connected{namespace=\"${namespace:text}\"}", - "hide": false, - "interval": "", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(job) (connection_connected{namespace=\"${namespace:text}\"})", - "hide": false, - "legendFormat": "Total", - "range": true, - "refId": "B" - } - ], - "title": "Pushpin Connected Streams", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 0, - "y": 64 - }, - "id": 245, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "rate(message_sent{namespace=\"${namespace:text}\"}[$__rate_interval])", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Messages Sent", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 11, - "y": 64 - }, - "id": 247, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "rate(message_received{namespace=\"${namespace:text}\"}[$__rate_interval])", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Messages Received", - "type": "timeseries" - } - ], - "title": "Pushpin", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 73 - }, - "id": 135, - "panels": [ - { - "cards": {}, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateRdYlGn", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 12, - "x": 0, - "y": 198 - }, - "heatmap": {}, - "hideZeroBuckets": true, - "highlightCards": true, - "id": 155, - "legend": { - "show": true - }, - "maxDataPoints": 50, - "options": { - "calculate": false, - "calculation": {}, - "cellGap": 2, - "cellValues": { - "unit": "s" - }, - "color": { - "exponent": 0.5, - "fill": "#b4ff00", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 128 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "showValue": "never", - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "9.3.1", - "reverseYBuckets": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_metrics_service_write_duration_bucket{namespace=\"harness-nextgen-free\"}[5m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Write Duration - Distribution", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "yAxis": { - "format": "s", - "logBase": 1, - "show": true - }, - "yBucketBound": "auto" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 13, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 12, - "x": 12, - "y": 198 - }, - "id": 157, - "maxDataPoints": 25, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_metrics_service_write_duration_bucket{namespace=\"harness-nextgen-free\"}[10m])))", - "hide": false, - "legendFormat": "99th Percentile", - "range": true, - "refId": "B" - } - ], - "title": "Avg Write Duration - 99th Percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 210 - }, - "id": 53, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_cache_unmarshalled_requests[$__rate_interval]))", - "hide": false, - "legendFormat": "remote_unmarshalls", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_cached_marshalled_requests[$__rate_interval]))", - "hide": false, - "legendFormat": "remote_marshalls", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_local_cache_unmarshall_requests[$__rate_interval]))", - "hide": false, - "legendFormat": "local_cache_unmarshall_requests", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_local_cached_hits[$__rate_interval]))", - "hide": false, - "legendFormat": "ff_local_cached_hits", - "range": true, - "refId": "E" - } - ], - "title": "Memoize Cache Hits", - "type": "timeseries" - } - ], - "title": "Timescale", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 74 - }, - "id": 73, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 112 - }, - "id": 93, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(code) (rate(ff_proxy_http_requests_total[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Requests by Status Code", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 112 - }, - "id": 100, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(url) (rate(ff_proxy_http_requests_total{namespace=\"harness-nextgen\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Requests by Endpoint", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 122 - }, - "id": 102, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_proxy_http_requests_duration_bucket{namespace=\"harness-nextgen\"}[5m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Duration", - "type": "heatmap" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 122 - }, - "id": 103, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "bytes" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_http_requests_content_length_histogram_bucket{namespace=\"harness-nextgen\"}[5m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Payload Size", - "type": "heatmap" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 132 - }, - "id": 97, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_redis_cache_write_count{error=\"false\"}[5m]))", - "legendFormat": "Successful Writes", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "rate(ff_proxy_redis_cache_write_count{error=\"true\"}[5m])", - "hide": false, - "legendFormat": "Failed Writes", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(cluster) (rate(ff_proxy_redis_cache_remove_count{namespace=\"harness-nextgen\"}[5m]))", - "hide": false, - "legendFormat": "Deletes", - "range": true, - "refId": "C" - } - ], - "title": "Redis Writes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 16, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 132 - }, - "id": 95, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(error) (rate(ff_proxy_sse_publish{namespace=\"harness-nextgen\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Forwarded SSE Events", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 142 - }, - "id": 99, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(operation) (rate(ff_proxy_redis_cache_write_count{error=\"true\"}[5m]))", - "legendFormat": "Write Error", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(operation) (rate(ff_proxy_redis_cache_read_count{error=\"true\"}[5m]))", - "hide": false, - "legendFormat": "Read Error", - "range": true, - "refId": "B" - } - ], - "title": "Redis Errors", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 142 - }, - "id": 98, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_redis_cache_read_count{namespace=\"harness-nextgen\", error=\"false\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Reads", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 152 - }, - "id": 225, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_hit{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "Cache Hit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_miss{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Miss", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_hit_with_unmarshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Hit (But had to unmarshall)", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_write_marshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Remote Cache Hit (wrote to local)", - "range": true, - "refId": "D" - } - ], - "title": "Memoize Cache Hits", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 165 - }, - "id": 131, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(error) (rate(ff_proxy_metrics_forwarded{namespace=\"harness-nextgen\"}[5m]))", - "legendFormat": "error={{error}}", - "range": true, - "refId": "A" - } - ], - "title": "Metrics Forwarded", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "Shows which SDKs are using the ff-proxy", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 173 - }, - "id": 205, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(sdk_type, sdk_language, sdk_version) (rate(ff_proxy_sdk_usage{namespace=\"harness-nextgen\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "SDK Usage", - "type": "timeseries" - } - ], - "title": "FF Proxy", - "type": "row" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "harness-nextgen", - "value": "qa" - }, - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [ - { - "selected": true, - "text": "harness-nextgen", - "value": "qa" - }, - { - "selected": false, - "text": "harness-nextgen-free", - "value": "qafree" - }, - { - "selected": false, - "text": "", - "value": "" - } - ], - "query": "harness-nextgen : qa, harness-nextgen-free : qafree, ", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": true, - "text": [ - "ff-client-server", - "ff-admin-server", - "ff-metrics-server", - "pushpin-worker" - ], - "value": [ - "ff-client-server", - "ff-admin-server", - "ff-metrics-server", - "pushpin-worker" - ] - }, - "hide": 0, - "includeAll": false, - "label": "Service", - "multi": true, - "name": "service", - "options": [ - { - "selected": true, - "text": "ff-client-server", - "value": "ff-client-server" - }, - { - "selected": true, - "text": "ff-admin-server", - "value": "ff-admin-server" - }, - { - "selected": true, - "text": "ff-metrics-server", - "value": "ff-metrics-server" - }, - { - "selected": true, - "text": "pushpin-worker", - "value": "pushpin-worker" - } - ], - "query": "ff-client-server, ff-admin-server, ff-metrics-server,pushpin-worker", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Feature Flags QA", - "uid": "APaL6vEVk", - "version": 63, - "weekStart": "" -} \ No newline at end of file diff --git a/Feature_Flags/Feature_Flags_Services.json b/Feature_Flags/Feature_Flags_Services.json deleted file mode 100644 index 5038802..0000000 --- a/Feature_Flags/Feature_Flags_Services.json +++ /dev/null @@ -1,3871 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Dashboard to monitor the Feature Flag services", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": true, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "{sdk_language=\"JavaScript\", sdk_type=\"client\", sdk_version=\"1.10.0\"}" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 140, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(sdk_language, sdk_type, sdk_version, error_type) (rate(ff_metrics_service_invalid_metric_count[$__rate_interval]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "SDK Metrics Errors", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 133, - "panels": [], - "title": "Database", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 125, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "cloudsql_googleapis_com:database_cpu_utilization{database_id=~\".*cf-prod2.*\"}", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Database CPU Utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 127, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "rate(cloudsql_googleapis_com:database_postgresql_transaction_count{database_id=~\".*cf-prod2.*\", database=\"cf_db\", region=\"${region:value}\"}[$__rate_interval])", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Database Transaction Count", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 17 - }, - "id": 52, - "panels": [], - "title": "Load Balancer", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 88, - "options": { - "legend": { - "calcs": [ - "min", - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "code", - "expr": "topk(5, sum by(account) (rate(ff_http_requests_total{url=~\"/api/1.0/stream\", namespace=\"${namespace:text}\"}[$__rate_interval])))", - "hide": false, - "legendFormat": "account={{account}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "code", - "expr": "topk(5, sum by(account) (rate(ff_sdk_http_requests_total{url=~\"/api/1.0/client/env/.*|/api/1.0/stream\", namespace=\"${namespace:text}\"}[$__rate_interval])))", - "hide": false, - "legendFormat": "account={{account}}", - "range": true, - "refId": "B" - } - ], - "title": "Request Rate By Top 10 Account", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 29 - }, - "id": 130, - "interval": "30s", - "options": { - "legend": { - "calcs": [ - "min", - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "code", - "expr": "sum by(url) (rate(ff_http_requests_total{url=~\"/api/1.0/client/.*|/api/1.0/stream\", namespace=\"${namespace:text}\"}[$__rate_interval]))", - "legendFormat": "url={{url}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "code", - "expr": "sum by(url) (rate(ff_sdk_http_requests_total{namespace=\"${namespace:text}\", url=~\"/api/1.0/client/env/.*|/api/1.0/stream\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "url={{url}}", - "range": true, - "refId": "B" - } - ], - "title": "Evaluation Request Rate By URL", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 42 - }, - "id": 68, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(matched_url_path_rule, response_code) (rate(loadbalancing_googleapis_com:https_request_count{backend_target_name=~\"${namespace:value}-cf.*|prod-cf-auth-backend\"}[$__rate_interval]))", - "legendFormat": "URL={{matched_url_path_rule}}, Code={{response_code}}", - "range": true, - "refId": "A" - } - ], - "title": "Evaluation Request Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 42 - }, - "id": 123, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(matched_url_path_rule, response_code) (rate(loadbalancing_googleapis_com:https_request_count{backend_target_name=~\"${namespace:value}-pushpin-backend\"}[$__rate_interval]))", - "legendFormat": "URL={{matched_url_path_rule}}, Code={{response_code}}", - "range": true, - "refId": "A" - } - ], - "title": "Stream Request Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 50 - }, - "id": 72, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le, matched_url_path_rule) (rate(loadbalancing_googleapis_com:https_total_latencies_bucket{backend_target_name=~\"free-cf-client-backend|free-cf-metric-backend|prod-cf-auth-backend\", forwarding_rule_name=\"prod-cf-https\", matched_url_path_rule=~\"/api/1.0/client|/api/1.0/client/auth|/api/1.0/metrics\"}[1m])))", - "hide": false, - "legendFormat": "URL={{matched_url_path_rule}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Latency", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 61 - }, - "id": 30, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.lineStyle" - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 118 - }, - "id": 116, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"${namespace:text}\", container=\"pushpin-pushpin\"}[5m]))", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum(kube_pod_container_resource_requests{namespace=\"${namespace:text}\", resource=\"cpu\", container=\"pushpin-pushpin\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - } - ], - "title": "CPU usage and requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "C" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 118 - }, - "id": 118, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(rate(container_memory_usage_bytes{namespace=\"${namespace:text}\", container=\"pushpin-pushpin\"}[5m]))", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(kube_pod_container_resource_requests{namespace=\"${namespace:text}\", resource=\"memory\", container=\"pushpin-pushpin\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(kube_pod_container_resource_limits{namespace=\"${namespace:text}\", resource=\"memory\", container=\"pushpin-pushpin\"})", - "hide": false, - "legendFormat": "Limits", - "range": true, - "refId": "C" - } - ], - "title": "Memory usage, requests and limits", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 11, - "x": 0, - "y": 126 - }, - "id": 26, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(message_sent{namespace=\"${namespace:text}\"}[$__rate_interval])", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Messages Sent", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 13, - "x": 11, - "y": 126 - }, - "id": 28, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(message_received{namespace=\"${namespace:text}\"}[$__rate_interval])", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Messages Received", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 0, - "y": 135 - }, - "id": 36, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "rate(request_received{namespace=\"${namespace:text}\"}[$__rate_interval])", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Pushpin Requests Received", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 13, - "x": 11, - "y": 135 - }, - "id": 32, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "connection_minute{namespace=\"${namespace:text}\"}", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Pushpin Connected Minutes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 25, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "connections" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.stacking", - "value": { - "group": "A", - "mode": "none" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 143 - }, - "id": 34, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "exemplar": false, - "expr": "connection_connected{namespace=\"${namespace:text}\"}", - "hide": false, - "interval": "", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (connection_connected{namespace=\"${namespace:text}\"})", - "hide": false, - "legendFormat": "Total", - "range": true, - "refId": "B" - } - ], - "title": "Pushpin Connected Streams", - "type": "timeseries" - } - ], - "title": "Pushpin", - "type": "row" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 62 - }, - "id": 142, - "panels": [], - "title": "pushpin-worker events", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 11, - "x": 0, - "y": 63 - }, - "id": 144, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(rate(ff_worker_service_sent_messages{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "Sent Messages", - "range": true, - "refId": "A" - } - ], - "title": "Sent Messages", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "fixed", - "seriesBy": "max" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 13, - "x": 11, - "y": 63 - }, - "id": 146, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(rate(ff_worker_service_dropped_messages{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "Dropped Messages", - "range": true, - "refId": "A" - } - ], - "title": "Dropped Messages", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "blue", - "mode": "fixed" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 11, - "x": 0, - "y": 74 - }, - "id": 148, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(reason) (rate(ff_worker_service_skipped_messages{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "reason={{reason}}", - "range": true, - "refId": "A" - } - ], - "title": "Skipped Messages", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 13, - "x": 11, - "y": 74 - }, - "id": 150, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_worker_service_event_duration_bucket{namespace=\"harness-nextgen\"}[5m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Event Processing Duration", - "type": "heatmap" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 85 - }, - "id": 152, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_worker_service_memoize_cache_hit{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "Cache Hit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_worker_service_memoize_cache_miss{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Miss", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_worker_service_memoize_cache_hit_with_unmarshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Hit (But had to unmarshall)", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_worker_service_memoize_cache_write_marshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Remote Cache Hit (wrote to local)", - "range": true, - "refId": "D" - } - ], - "title": "Memoize Cache Hits", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 98 - }, - "id": 135, - "panels": [], - "title": "CDN", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 99 - }, - "id": 131, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "min", - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(code) (rate(ff_sdk_http_requests_total{namespace=\"${namespace:text}\", job=\"ff-client-server\", url=~\"/api/1.0/client/env/:environmentUUID/feature-configs|/api/1.0/client/env/:environmentUUID/target-segments|/api/1.0/client/env/:environmentUUID/target-segments/:identifier|/api/1.0/client/env/:environmentUUID/feature-configs/:identifier\", code=~\"200|304\"}[$__interval]))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Sever SDK Requests with 200 vs 304", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 107 - }, - "id": 136, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "min", - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "topk(5, sum by(code, account) (rate(ff_sdk_http_requests_total{namespace=\"${namespace:text}\", job=\"ff-client-server\", url=~\"/api/1.0/client/env/:environmentUUID/feature-configs|/api/1.0/client/env/:environmentUUID/target-segments|/api/1.0/client/env/:environmentUUID/target-segments/:identifier|/api/1.0/client/env/:environmentUUID/feature-configs/:identifier\", code=~\"200|304\"}[$__interval])))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Top 5 Sever SDK Requests by account", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 115 - }, - "id": 137, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "min", - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "topk(10, sum by(code, account) (rate(ff_sdk_http_requests_total{namespace=\"${namespace:text}\", job=\"ff-client-server\", url=~\"/api/1.0/client/env/:environmentUUID/target/:target/evaluations|/api/1.0/client/env/:environmentUUID/target/:target/evaluations/:feature\", code=~\"200|304\"}[$__interval])))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Top 5 Client SDK Requests by account", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 123 - }, - "id": 138, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "min", - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "topk(10, sum by(code, account) (rate(ff_sdk_http_requests_total{namespace=\"${namespace:text}\", job=\"ff-metrics-server\", url=\"/api/1.0/metrics/:environmentUUID\"}[$__interval])))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Top 5 Metrics SDK Requests by account", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 131 - }, - "id": 5, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.lineStyle" - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 69 - }, - "id": 122, - "interval": "20s", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(rate(kubernetes_io:container_cpu_core_usage_time{container_name=\"$service\", namespace_name=\"${namespace:text}\", cluster_name=\"prod-private-uswest1-primary\"}[1m]))", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(kubernetes_io:container_cpu_request_cores{namespace_name=\"${namespace:text}\", container_name=\"$service\", cluster_name=\"prod-private-uswest1-primary\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - } - ], - "title": "CPU usage and requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 69 - }, - "id": 19, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "min", - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(code) (rate(ff_http_requests_total{namespace=\"${namespace:text}\", job=\"$service\"}[$__interval]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(code) (rate(ff_sdk_http_requests_total{namespace=\"${namespace:text}\", job=\"$service\"}[$__interval]))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Requests by Status Code", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "C" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - } - ] - }, - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "Value" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.lineStyle" - }, - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 77 - }, - "id": 120, - "interval": "20s", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(kubernetes_io:container_memory_used_bytes{container_name=\"$service\", namespace_name=\"${namespace:text}\", cluster_name=~\"prod-private-uswest1-primary\"})", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(kubernetes_io:container_memory_request_bytes{container_name=\"$service\", namespace_name=\"${namespace:text}\", cluster_name=~\"prod-private-uswest1-primary\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum(kubernetes_io:container_memory_limit_bytes{container_name=\"$service\", namespace_name=\"${namespace:text}\", cluster_name=~\"prod-private-uswest1-primary\"})", - "hide": false, - "legendFormat": "Limits", - "range": true, - "refId": "C" - } - ], - "title": "Memory usage, requests and limits", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 1, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 77 - }, - "id": 20, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sort_desc(sum by(url) (rate(ff_http_requests_total{namespace=\"${namespace:text}\", job=\"$service\"}[$__interval])))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sort_desc(sum by(url) (rate(ff_sdk_http_requests_total{namespace=\"${namespace:text}\", job=\"$service\"}[$__interval])))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Requests by URL", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 85 - }, - "id": 22, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "go_goroutines{job=\"$service\", namespace=\"${namespace:text}\"}", - "legendFormat": "{{instance}}", - "range": true, - "refId": "A" - } - ], - "title": "Go Routines", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 93 - }, - "id": 24, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "max by(quantile) (go_gc_duration_seconds{namespace=\"${namespace:text}\", job=\"$service\"})", - "legendFormat": "q={{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Garbage Collection Duration", - "type": "timeseries" - } - ], - "repeat": "service", - "repeatDirection": "h", - "title": "$service", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 132 - }, - "id": 107, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 70 - }, - "id": 104, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "label_replace(redis_googleapis_com:stats_memory_usage{instance_id=~\".*redis-cf-${namespace:value}.*\", region=\"${region:value}\"}, \"instance_name\", \"$2\", \"instance_id\", \"(.*)/(.*)\")", - "legendFormat": "name={{instance_name}}, role={{role}}", - "range": true, - "refId": "A" - } - ], - "title": "Redis Memory Usage", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "Keys" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 70 - }, - "id": 105, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "label_replace(redis_googleapis_com:keyspace_keys{instance_id=~\".*redis-cf-${namespace:value}.*\", region=\"${region:value}\"}, \"instance_name\", \"$2\", \"instance_id\", \"(.*)/(.*)\")", - "legendFormat": "name={{instance_name}}, role={{role}} ", - "range": true, - "refId": "A" - } - ], - "title": "Redis Keys in database", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "Cache Hit" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 78 - }, - "id": 128, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_hit{namespace=\"${namespace:text}\"}[$__interval]))", - "legendFormat": "Cache Hit", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_miss{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Miss", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_hit_with_unmarshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Cache Hit (But had to unmarshall)", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (rate(ff_client_service_memoize_cache_write_marshal{namespace=\"${namespace:text}\"}[$__interval]))", - "hide": false, - "legendFormat": "Remote Cache Hit (wrote to local)", - "range": true, - "refId": "D" - } - ], - "title": "Memoize Cache Hits", - "type": "timeseries" - } - ], - "repeat": "region", - "repeatDirection": "h", - "title": "Redis ${region:name} (${region:value})", - "type": "row" - } - ], - "refresh": "10s", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "harness-nextgen-free", - "value": "free" - }, - "description": "", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [ - { - "selected": false, - "text": "harness-nextgen", - "value": "prod" - }, - { - "selected": true, - "text": "harness-nextgen-free", - "value": "free" - }, - { - "selected": false, - "text": "harness-nextgen-compliance", - "value": "comp" - } - ], - "query": "harness-nextgen : prod, harness-nextgen-free : free, harness-nextgen-compliance : comp", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": false, - "text": [ - "ff-client-server" - ], - "value": [ - "ff-client-server" - ] - }, - "hide": 0, - "includeAll": false, - "label": "Service", - "multi": true, - "name": "service", - "options": [ - { - "selected": true, - "text": "ff-client-server", - "value": "ff-client-server" - }, - { - "selected": false, - "text": "ff-admin-server", - "value": "ff-admin-server" - }, - { - "selected": false, - "text": "ff-metrics-server", - "value": "ff-metrics-server" - }, - { - "selected": false, - "text": "pushpin-worker", - "value": "pushpin-worker" - }, - { - "selected": false, - "text": "ff-auth-server", - "value": "ff-auth-server" - } - ], - "query": "ff-client-server, ff-admin-server, ff-metrics-server,pushpin-worker,ff-auth-server", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": false, - "text": "primary", - "value": "us-west1" - }, - "hide": 0, - "includeAll": false, - "label": "Region", - "multi": false, - "name": "region", - "options": [ - { - "selected": true, - "text": "primary", - "value": "us-west1" - }, - { - "selected": false, - "text": "failover", - "value": "us-west2" - } - ], - "query": "primary : us-west1, failover : us-west2", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Feature Flags Services", - "uid": "Zwd0C5xVk", - "version": 58, - "weekStart": "" -} \ No newline at end of file diff --git a/Feature_Flags/Prod2_Feature_Flags.json b/Feature_Flags/Prod2_Feature_Flags.json deleted file mode 100644 index 6a063e5..0000000 --- a/Feature_Flags/Prod2_Feature_Flags.json +++ /dev/null @@ -1,2682 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 13, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 4, - "x": 19, - "y": 0 - }, - "id": 42, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum(increase(ff_http_requests_total{url=~\"/api/1.0/client/.*|/api/1.0/stream|/api/1.0/metrics/:environment\", account=\"nh1pCWJXSReBDf3Ibh0kQg\", namespace=\"harness-nextgen-free\"}[$__rate_interval]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Total Request Rate Simpplr", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 4, - "x": 19, - "y": 11 - }, - "id": 43, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url) (increase(ff_http_requests_total{url=~\"/api/1.0/client/.*|/api/1.0/stream|/api/1.0/metrics/:environment\", account=\"nh1pCWJXSReBDf3Ibh0kQg\", code!=\"200\", namespace=\"harness-nextgen-free\"}[$__rate_interval]))", - "legendFormat": "code={{code}} url={{url}}", - "range": true, - "refId": "A" - } - ], - "title": "Total Error Requests Rate Simpplr", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Shows which SDKs are being used", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 16, - "w": 24, - "x": 0, - "y": 22 - }, - "id": 57, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(sdk_language, sdk_version, sdk_type, accountID) (rate(ff_metrics_service_sdk_count{namespace=\"harness-nextgen-free\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "SDK Usage by Customer", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 38 - }, - "id": 81, - "panels": [], - "title": "Admin Service", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "200" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 11, - "w": 12, - "x": 0, - "y": 39 - }, - "id": 84, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(code) (rate(ff_http_requests_total{url=~\"/api/1.0/admin/.*\", namespace=\"harness-nextgen-free\"}[1m]))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Admin Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 12, - "x": 12, - "y": 39 - }, - "id": 82, - "maxDataPoints": 25, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=~\"/api/1.0/admin/.*\"}[5m])))", - "hide": false, - "legendFormat": "p99", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=~\"/api/1.0/admin/.*\"}[5m])))", - "hide": false, - "legendFormat": "p95", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.9, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=~\"/api/1.0/admin/.*\"}[5m])))", - "hide": false, - "legendFormat": "p90", - "range": true, - "refId": "C" - } - ], - "title": "Avg Req Duration", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 50 - }, - "id": 11, - "panels": [], - "title": "Client Service", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 23, - "x": 0, - "y": 51 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url) (rate(ff_http_requests_total{url=~\"/api/1.0/client/.*|/api/1.0/stream|/api/1.0/metrics/:environment\", namespace=\"harness-nextgen-free\"}[$__rate_interval]))", - "legendFormat": "url={{url}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Rate By URL", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 12, - "x": 0, - "y": 64 - }, - "id": 77, - "maxDataPoints": 25, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/feature-configs\"}[5m])))", - "hide": false, - "legendFormat": "/feature-configs", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/target-segments\"}[5m])))", - "hide": false, - "legendFormat": "/target-segments", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/target/:target/evaluations\"}[5m])))", - "hide": false, - "legendFormat": "/evaluations", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/target/:target/evaluations/:feature\"}[5m])))", - "hide": false, - "legendFormat": "/evaluations/:feature", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/feature-configs/:identifier\"}[5m])))", - "hide": false, - "legendFormat": "/feature-configs/:identifier", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/target-segments/:identifier\"}[5m])))", - "hide": false, - "legendFormat": "/target-segments/:identifier", - "range": true, - "refId": "F" - } - ], - "title": "Avg Req Duration - 99th Percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 12, - "x": 12, - "y": 64 - }, - "id": 79, - "maxDataPoints": 25, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/feature-configs\"}[5m])))", - "hide": false, - "legendFormat": "/feature-configs", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/target-segments\"}[5m])))", - "hide": false, - "legendFormat": "/target-segments", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/target/:target/evaluations\"}[5m])))", - "hide": false, - "legendFormat": "/evaluations", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/target/:target/evaluations/:feature\"}[5m])))", - "hide": false, - "legendFormat": "/evaluations/:feature", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/feature-configs/:identifier\"}[5m])))", - "hide": false, - "legendFormat": "/feature-configs/:identifier", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/client/env/:environmentUUID/target-segments/:identifier\"}[5m])))", - "hide": false, - "legendFormat": "/target-segments/:identifier", - "range": true, - "refId": "F" - } - ], - "title": "Avg Req Duration - 95th Percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 23, - "x": 0, - "y": 75 - }, - "id": 49, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(url, code) (rate(ff_http_requests_total{url=~\"/api/1.0/client/.*|/api/1.0/stream|/api/1.0/metrics/:environment\", code!=\"200\", namespace=\"harness-nextgen-free\"}[$__rate_interval]))", - "legendFormat": "", - "range": true, - "refId": "A" - } - ], - "title": "Error Request Rate By URL", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 89 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "topk(5, sum by(account) (rate(ff_http_requests_total{url=~\"/api/1.0/client/.*|/api/1.0/stream\", namespace=\"harness-nextgen-free\"}[$__rate_interval])))", - "legendFormat": "account={{account}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Rate By Top 10 Account", - "type": "timeseries" - }, - { - "datasource": {}, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 18, - "x": 0, - "y": 100 - }, - "id": 4, - "options": { - "displayMode": "gradient", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "topk(5, sum by(account) (increase(ff_http_requests_total{url=~\"/api/1.0/client/.*\", namespace=\"harness-nextgen-free\"}[$__rate_interval])))", - "interval": "24h", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Total SDK Requests by Account for period", - "transformations": [ - { - "id": "groupBy", - "options": { - "fields": { - "LUrevXAKRam4lXtfLFGYTw": { - "aggregations": [] - } - } - } - } - ], - "type": "bargauge" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 111 - }, - "id": 9, - "panels": [], - "title": "Metrics Service", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 0, - "y": 112 - }, - "id": 27, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(code) (rate(ff_sdk_http_requests_total{url=~\"/api/1.0/metrics/.*\", namespace=\"harness-nextgen-free\"}[5m]))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Metrics Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 13, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 8, - "y": 112 - }, - "id": 69, - "maxDataPoints": 25, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/metrics/:environmentUUID\"}[5m])))", - "hide": false, - "legendFormat": "99th Percentile", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/metrics/:environmentUUID\"}[5m])))", - "hide": false, - "legendFormat": "95th Percentile", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.9, sum by(le) (rate(ff_http_requests_duration_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/metrics/:environmentUUID\"}[5m])))", - "hide": false, - "legendFormat": "90th Percentile", - "range": true, - "refId": "C" - } - ], - "title": "Avg Req Duration", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 13, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 16, - "y": 112 - }, - "id": 71, - "maxDataPoints": 25, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_http_requests_content_length_histogram_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/metrics/:environmentUUID\"}[10m])))", - "hide": false, - "legendFormat": "99th Percentile", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(ff_http_requests_content_length_histogram_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/metrics/:environmentUUID\"}[10m])))", - "hide": false, - "legendFormat": "95th Percentile", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.9, sum by(le) (rate(ff_http_requests_content_length_histogram_bucket{namespace=\"harness-nextgen-free\", url=\"/api/1.0/metrics/:environmentUUID\"}[10m])))", - "hide": false, - "legendFormat": "90th Percentile", - "range": true, - "refId": "C" - } - ], - "title": "Avg Payload Size", - "type": "timeseries" - }, - { - "cards": {}, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateRdYlGn", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 0, - "y": 122 - }, - "heatmap": {}, - "hideZeroBuckets": true, - "highlightCards": true, - "id": 73, - "legend": { - "show": true - }, - "maxDataPoints": 25, - "options": { - "calculate": false, - "calculation": {}, - "cellGap": 2, - "cellValues": {}, - "color": { - "exponent": 0.5, - "fill": "#b4ff00", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 128 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "showValue": "never", - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "9.3.1", - "reverseYBuckets": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_http_requests_duration_bucket{url=\"/api/1.0/metrics/:environmentUUID\", namespace=\"harness-nextgen-free\"}[10m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Request Duration - Distribution", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "yAxis": { - "format": "s", - "logBase": 1, - "show": true - }, - "yBucketBound": "auto" - }, - { - "cards": {}, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateRdYlGn", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 8, - "y": 122 - }, - "heatmap": {}, - "hideZeroBuckets": true, - "highlightCards": true, - "id": 75, - "legend": { - "show": true - }, - "maxDataPoints": 25, - "options": { - "calculate": false, - "calculation": {}, - "cellGap": 2, - "cellValues": {}, - "color": { - "exponent": 0.5, - "fill": "#b4ff00", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 128 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "showValue": "never", - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "bytes" - } - }, - "pluginVersion": "9.3.1", - "reverseYBuckets": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_http_requests_content_length_histogram_bucket{url=~\"/api/1.0/metrics/.*\", namespace=\"harness-nextgen-free\"}[1m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Payload Size Distribution", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "yAxis": { - "format": "bytes", - "logBase": 1, - "show": true - }, - "yBucketBound": "auto" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 16, - "y": 122 - }, - "id": 86, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environmentID) (rate(ff_metrics_service_invalid_target_count{namespace=\"harness-nextgen-free\"}[$__rate_interval]))", - "legendFormat": "env-{{environmentID}}", - "range": true, - "refId": "A" - } - ], - "title": "Invalid Targets", - "type": "timeseries" - }, - { - "datasource": {}, - "description": "Shows which SDKs are being used", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 16, - "w": 24, - "x": 0, - "y": 132 - }, - "id": 17, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(sdk_language, sdk_version, sdk_type) (rate(ff_metrics_service_sdk_count{namespace=\"harness-nextgen-free\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "SDK Usage", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 148 - }, - "id": 37, - "panels": [], - "title": "Redis", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "The rate that we read from the metrics stream in redis", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 8, - "x": 0, - "y": 149 - }, - "id": 23, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(topic, error) (rate(metrics_service_stream_write_count{namespace=\"harness-nextgen-free\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Streams - Write Rate", - "type": "timeseries" - }, - { - "datasource": {}, - "description": "The rate that we read from the Target Stream in redis", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "freemium:streams:cf_feature_metrics_data} - Successful reads" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "freemium:streams:cf_target_metrics - Successful reads" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 11, - "w": 8, - "x": 8, - "y": 149 - }, - "id": 25, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(topic) (rate(metrics_service_target_writer_stream_read_count{topic=\"freemium:streams:cf_target_metrics\", error=\"false\", namespace=\"harness-nextgen-free\"}[1m]))", - "legendFormat": "{{topic}} - Successful reads", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(topic) (rate(metrics_service_target_writer_stream_read_count{topic=\"freemium:streams:cf_target_metrics\", error=\"true\"}[1m]))", - "hide": false, - "legendFormat": "{{topic}} - Failed reads", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(topic) (rate(metrics_service_metrics_writer_stream_read_count{topic=\"freemium:streams:cf_feature_metrics_data\", error=\"false\"}[1m]))", - "hide": false, - "legendFormat": "{{topic}}} - Successful reads", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(topic) (rate(metrics_service_metrics_writer_stream_read_count{topic=\"freemium:streams:cf_feature_metrics_data\", error=\"true\"}[1m]))", - "hide": false, - "legendFormat": "{{topic}}} - Failed reads", - "range": true, - "refId": "D" - } - ], - "title": "Redis Streams - Read Rate", - "type": "timeseries" - }, - { - "cards": {}, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateRdYlGn", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 8, - "x": 16, - "y": 149 - }, - "heatmap": {}, - "hideZeroBuckets": true, - "highlightCards": true, - "id": 67, - "legend": { - "show": true - }, - "maxDataPoints": 50, - "options": { - "calculate": false, - "calculation": {}, - "cellGap": 2, - "cellValues": {}, - "color": { - "exponent": 0.5, - "fill": "#b4ff00", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 128 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "showValue": "never", - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "max": "0.5", - "min": "0.01", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "9.3.1", - "reverseYBuckets": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(metrics_service_stream_write_duration_bucket{namespace=\"harness-nextgen-free\"}[10m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Write Duration - Distribution", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "yAxis": { - "format": "s", - "logBase": 1, - "max": "0.5", - "min": "0.01", - "show": true - }, - "yBucketBound": "auto" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 30, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 8, - "x": 0, - "y": 160 - }, - "id": 65, - "maxDataPoints": 100, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "none", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(metrics_service_stream_write_duration_bucket{namespace=\"harness-nextgen-free\"}[10m])))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "Avg Write Duration - (99th Percentile)", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 171 - }, - "id": 63, - "panels": [], - "title": "Timescale", - "type": "row" - }, - { - "cards": {}, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateRdYlGn", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 12, - "x": 0, - "y": 172 - }, - "heatmap": {}, - "hideZeroBuckets": true, - "highlightCards": true, - "id": 59, - "legend": { - "show": true - }, - "maxDataPoints": 50, - "options": { - "calculate": false, - "calculation": {}, - "cellGap": 2, - "cellValues": { - "unit": "s" - }, - "color": { - "exponent": 0.5, - "fill": "#b4ff00", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 128 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "showValue": "never", - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "9.3.1", - "reverseYBuckets": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_metrics_service_write_duration_bucket{namespace=\"harness-nextgen-free\"}[5m]))", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Write Duration - Distribution", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "yAxis": { - "format": "s", - "logBase": 1, - "show": true - }, - "yBucketBound": "auto" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 13, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 12, - "x": 12, - "y": 172 - }, - "id": 61, - "maxDataPoints": 25, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "builder", - "expr": "histogram_quantile(0.99, sum by(le) (rate(ff_metrics_service_write_duration_bucket{namespace=\"harness-nextgen-free\"}[10m])))", - "hide": false, - "legendFormat": "99th Percentile", - "range": true, - "refId": "B" - } - ], - "title": "Avg Write Duration - 99th Percentile", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Prod2 Feature Flags", - "uid": "jBj9_oZ4z", - "version": 13, - "weekStart": "" -} \ No newline at end of file diff --git a/Feature_Flags/Weekly_Health_Report.json b/Feature_Flags/Weekly_Health_Report.json deleted file mode 100644 index f045ff0..0000000 --- a/Feature_Flags/Weekly_Health_Report.json +++ /dev/null @@ -1,415 +0,0 @@ -{ - "graphTooltip": 1, - "panels": [ - { - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 1, - "repeat": "namespace", - "title": "${namespace}", - "type": "row" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "noValue": 0, - "unit": "short" - } - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://cloudlogging.app.goo.gl/B8abNvYYxqeZAGP69" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by(container_name, namespace_name)\n(label_replace(\n increase(\n logging_googleapis_com:log_entry_count{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n severity=~\"ERROR|CRITICAL\",\n }[$__interval]\n ),\n \"container_name\", \"$1\", \"pod_name\", \"^(ff-[a-z]-server|pushpin).*\"\n))\n", - "legendFormat": "{{container_name}}\n" - } - ], - "title": "Errors by service", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "noValue": 0, - "unit": "short" - } - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 12 - }, - "id": 3, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://cloudlogging.app.goo.gl/B8abNvYYxqeZAGP69" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by(container_name, namespace_name)\n(label_replace(\n increase(\n logging_googleapis_com:log_entry_count{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n severity=~\"ERROR|CRITICAL\",\n }[$__interval] offset 1w\n ),\n \"container_name\", \"$1\", \"pod_name\", \"^(ff-[a-z]-server|pushpin).*\"\n))\n", - "legendFormat": "{{container_name}}\n" - } - ], - "title": "Errors by service (prev week)", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "noValue": 0, - "unit": "short" - } - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 4, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://cloudlogging.app.goo.gl/B8abNvYYxqeZAGP69" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by(namespace_name)\n(increase(\n logging_googleapis_com:log_entry_count{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n severity=~\"ERROR|CRITICAL\",\n }[$__interval]\n))\n", - "legendFormat": "{{container_name}}\n" - } - ], - "title": "Errors total", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "noValue": 0, - "unit": "short" - } - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 12 - }, - "id": 5, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://cloudlogging.app.goo.gl/B8abNvYYxqeZAGP69" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by(namespace_name)\n(increase(\n logging_googleapis_com:log_entry_count{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n severity=~\"ERROR|CRITICAL\",\n }[$__interval] offset 1w\n))\n", - "legendFormat": "{{container_name}}\n" - } - ], - "title": "Errors total (prev week)", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "noValue": 0, - "unit": "short" - } - }, - "gridPos": { - "h": 4, - "w": 24, - "x": 0, - "y": 13 - }, - "id": 6, - "options": { - "legend": { - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by (namespace_name)\n(increase(\n logging_googleapis_com:user_ff_admin_server_new_error_logs{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n }[$__interval]\n))\n", - "legendFormat": "ff-admin\n" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by (namespace_name)\n(increase(\n logging_googleapis_com:user_ff_auth_server_new_error_logs{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n }[$__interval]\n))\n", - "legendFormat": "ff-auth\n" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by (namespace_name)\n(increase(\n logging_googleapis_com:user_ff_client_server_new_error_logs{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n }[$__interval]\n))\n", - "legendFormat": "ff-client\n" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by (namespace_name)\n(increase(\n logging_googleapis_com:user_ff_metrics_server_new_error_logs{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n }[$__interval]\n))\n", - "legendFormat": "ff-metrics\n" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by (namespace_name)\n(increase(\n logging_googleapis_com:user_ff_proxy_new_error_logs{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n }[$__interval]\n))\n", - "legendFormat": "ff-proxy\n" - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by (namespace_name)\n(increase(\n logging_googleapis_com:user_ff_pushpin_new_error_logs{\n monitored_resource=\"k8s_container\",\n cluster_name=~\"$cluster\",\n namespace_name=~\"$namespace\",\n pod_name=~\"$container.*\",\n }[$__interval]\n))\n", - "legendFormat": "pushpin\n" - } - ], - "title": "New error logs", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "stacking": { - "0": "n", - "1": "o", - "2": "r", - "3": "m", - "4": "a", - "5": "l", - "mode": "normal" - } - }, - "noValue": 0, - "unit": "short" - } - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 19 - }, - "id": 7, - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "expr": "sum by (namespace, container, version) (label_replace(kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"$container\"}, \"version\", \"$1\", \"image_spec\", \".*:(.*)\")) * 0 + 1\n", - "legendFormat": "{{container}}: {{version}}\n" - } - ], - "title": "Releases", - "type": "timeseries" - } - ], - "schemaVersion": 36, - "templating": { - "list": [ - { - "name": "datasource", - "query": "prometheus", - "refresh": 1, - "regex": "(ProdSetup|UATSetup|QASetup)-.*", - "type": "datasource" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "name": "cluster", - "query": "label_values(kubernetes_io:container_uptime{container_name=~\"ff-.*|pushpin-.*\"}, cluster_name)", - "refresh": 1, - "sort": 1, - "type": "query" - }, - { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "includeAll": true, - "multi": true, - "name": "namespace", - "query": "label_values(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"ff-.*|pushpin-.*\"}, namespace_name)", - "refresh": 1, - "sort": 1, - "type": "query" - }, - { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "includeAll": "ff-.*|pushpin-.*", - "multi": true, - "name": "container", - "query": "label_values(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"ff-.*|pushpin-worker|pushpin-pushpin\", container_name!~\".*db-migration\"}, container_name)", - "refresh": 1, - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now-7d", - "to": "now" - }, - "timezone": "utc", - "title": "Weekly Health Report", - "uid": "ff_weekly_health", - "version": 1, - "weekStart": "" -} diff --git a/Feature_Flags/database.json b/Feature_Flags/database.json deleted file mode 100644 index 1e27b04..0000000 --- a/Feature_Flags/database.json +++ /dev/null @@ -1,976 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 1, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.8 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 6, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max_over_time(cloudsql_googleapis_com:database_cpu_utilization{monitored_resource=\"cloudsql_database\",database_id=~\"$database_id\"}[${__interval}])", - "legendFormat": "CPU", - "range": true, - "refId": "A" - } - ], - "title": "CPU Utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 22000000000 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 9, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_memory_usage{database_id=~\"$database_id\"}", - "legendFormat": "Usage", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_memory_quota{database_id=~\"$database_id\"}", - "hide": false, - "legendFormat": "Quota", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 5000, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "stepAfter", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 4000 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max_over_time(cloudsql_googleapis_com:database_postgresql_num_backends_by_state{monitored_resource=\"cloudsql_database\",database_id=\"$database_id\", database=\"cf_db\", state=\"idle\"}[${__interval}])", - "hide": false, - "legendFormat": "Idle", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max_over_time(cloudsql_googleapis_com:database_postgresql_num_backends_by_state{monitored_resource=\"cloudsql_database\",database_id=\"$database_id\", database=\"cf_db\", state=\"active\"}[${__interval}])", - "legendFormat": "Active", - "range": true, - "refId": "A" - } - ], - "title": "Connections by status", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 60000 - } - ] - }, - "unit": "µs" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.99,increase(cloudsql_googleapis_com:database_postgresql_insights_aggregate_latencies_bucket{monitored_resource=\"cloudsql_instance_database\",resource_id=\"$database_id\"}[${__interval}]))", - "legendFormat": "99th", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95,increase(cloudsql_googleapis_com:database_postgresql_insights_aggregate_latencies_bucket{monitored_resource=\"cloudsql_instance_database\",resource_id=\"$database_id\"}[${__interval}]))", - "hide": false, - "legendFormat": "95th", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.5,increase(cloudsql_googleapis_com:database_postgresql_insights_aggregate_latencies_bucket{monitored_resource=\"cloudsql_instance_database\",resource_id=\"$database_id\"}[${__interval}]))", - "hide": false, - "legendFormat": "50th", - "range": true, - "refId": "C" - } - ], - "title": "Query Latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 9, - "x": 0, - "y": 13 - }, - "id": 13, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(cloudsql_googleapis_com:database_postgresql_transaction_count{database_id=~\"$database_id\", database=\"cf_db\"}[$__interval])", - "legendFormat": "{{transaction_type}}", - "range": true, - "refId": "A" - } - ], - "title": "Primary Transactions", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 9, - "x": 9, - "y": 13 - }, - "id": 10, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(cloudsql_googleapis_com:database_postgresql_tuples_fetched_count{monitored_resource=\"cloudsql_database\",database_id=~\"$database_id\"}[${__interval}]))", - "legendFormat": "Fetched", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(cloudsql_googleapis_com:database_postgresql_tuples_returned_count{monitored_resource=\"cloudsql_database\",database_id=~\"$database_id\"}[${__interval}]))", - "hide": false, - "legendFormat": "Returned", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(rate(cloudsql_googleapis_com:database_postgresql_tuples_processed_count{monitored_resource=\"cloudsql_database\",database_id=~\"$database_id\"}[${__interval}]))", - "hide": false, - "legendFormat": "Processed", - "range": true, - "refId": "C" - } - ], - "title": "Rows fetched/returned/written (/S)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 18, - "y": 13 - }, - "id": 11, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 150 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_replication_replica_lag{database_id=~\"$database_id\"}", - "legendFormat": "Lag", - "range": true, - "refId": "A" - } - ], - "title": "Replication Lag", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "µs" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 24, - "x": 0, - "y": 19 - }, - "id": 12, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "label_replace(rate(cloudsql_googleapis_com:database_postgresql_insights_perquery_execution_time{resource_id=\"$database_id\", database=\"cf_db\"}[$__interval]), \"short_qs\", \"$1\", \"querystring\", \"^(.{0,200}).*\")", - "legendFormat": "{{short_qs}}", - "range": true, - "refId": "A" - } - ], - "title": "Per Query Execution Time", - "type": "timeseries" - } - ], - "repeat": "database_id", - "repeatDirection": "h", - "title": "$database_id", - "type": "row" - } - ], - "refresh": "30s", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "(ProdSetup|UATSetup|QASetup)-.*", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(cloudsql_googleapis_com:database_uptime{monitored_resource=\"cloudsql_database\" , database_id=~\".*cf.*\"}, database_id)", - "hide": 0, - "includeAll": true, - "label": "Database ID", - "multi": true, - "name": "database_id", - "options": [], - "query": { - "query": "label_values(cloudsql_googleapis_com:database_uptime{monitored_resource=\"cloudsql_database\" , database_id=~\".*cf.*\"}, database_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "(?.*:(?.*))", - "skipUrlSync": false, - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Database Overview", - "uid": "ff_db_overview", - "version": 14, - "weekStart": "" -} diff --git a/Feature_Flags/ff_proxy_v2_qa.json b/Feature_Flags/ff_proxy_v2_qa.json deleted file mode 100644 index 44de209..0000000 --- a/Feature_Flags/ff_proxy_v2_qa.json +++ /dev/null @@ -1,2169 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "10.2.0" - }, - { - "type": "panel", - "id": "heatmap", - "name": "Heatmap", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "Dashboard for monitoring Harness FF Proxy", - "editable": true, - "fiscalYearStartMonth": 0, - "gnetId": 20091, - "graphTooltip": 0, - "id": null, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 23, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 34, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(code) (rate(ff_proxy_http_requests_total[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Requests by Status Code", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(url) (rate(ff_proxy_http_requests_total[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Requests by Endpoint", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 11 - }, - "id": 6, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "10.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_proxy_http_requests_duration_bucket[5m]))", - "format": "heatmap", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "{{le}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Request Duration", - "type": "heatmap" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 11 - }, - "id": 8, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "bytes" - } - }, - "pluginVersion": "10.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_http_requests_content_length_histogram_bucket[5m]))", - "format": "heatmap", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "{{le}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Request Payload Size", - "type": "heatmap" - } - ], - "title": "HTTP Traffic", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 27, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows which SDKs are using the ff-proxy", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 24, - "x": 0, - "y": 2 - }, - "id": 22, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(sdk_type, sdk_language, sdk_version) (rate(ff_proxy_sdk_usage[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SDK Usage", - "type": "timeseries" - } - ], - "title": "SDK Usage", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 2 - }, - "id": 26, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows the rate of metrics being forwarded from the Primary Proxy to Harness Saas and if errors are occuring", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 3 - }, - "id": 20, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(error) (rate(ff_proxy_metrics_forwarded{error=\"false\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Successfully Forwarded Metrics", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(error) (rate(ff_proxy_metrics_forwarded{error=\"true\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Unsuccessfully Forwarded Metrics", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Metrics Forwarded", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows the rate of requests that the Proxy makes to the ff-client-service in Harness SaaS summed by URL", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 3 - }, - "id": 35, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(url) (rate(ff_proxy_to_client_service_requests[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "instant": false, - "legendFormat": "{{url}}", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "rate(ff_proxy_saas_to_primary_sse_consumer_subscription_requests{topic=\"*\"}[5m])", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "/stream", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Requests to Harness Saas", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "scaleDistribution": { - "type": "linear" - } - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 11 - }, - "id": 36, - "maxDataPoints": 50, - "options": { - "calculate": false, - "cellGap": 1, - "color": { - "exponent": 0.5, - "fill": "dark-orange", - "mode": "scheme", - "reverse": false, - "scale": "exponential", - "scheme": "RdYlGn", - "steps": 64 - }, - "exemplars": { - "color": "rgba(255,0,255,0.7)" - }, - "filterValues": { - "le": 1e-9 - }, - "legend": { - "show": true - }, - "rowsFrame": { - "layout": "auto" - }, - "tooltip": { - "show": true, - "yHistogram": false - }, - "yAxis": { - "axisPlacement": "left", - "reverse": false, - "unit": "s" - } - }, - "pluginVersion": "10.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(le) (rate(ff_proxy_to_ff_client_service_requests_duration_bucket[5m]))", - "format": "heatmap", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "{{le}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Harness Saas Request Duration", - "type": "heatmap" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 11 - }, - "id": 37, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le, url) (rate(ff_proxy_to_ff_client_service_requests_duration_bucket[5m])))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Request Duration by URL (p95)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 21 - }, - "id": 38, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "histogram_quantile(0.9, sum by(le, url) (rate(ff_proxy_to_ff_client_service_requests_duration_bucket[5m])))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Request Duration by URL (p90)", - "type": "timeseries" - } - ], - "title": "Proxy -> Harness Saas Communication", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 3 - }, - "id": 25, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows SSE Events being received by the Primary Proxy", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 16, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 12 - }, - "id": 12, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_saas_to_primary_sse_consumer_messages_received{error=\"false\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "SSE Events Received from Saas", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_saas_to_primary_sse_consumer_messages_received{error=\"true\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Failed to Recevie SSE Events", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Harness Saas -> Primary SSE Events", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows SSE Events being forwarded from the Primary Proxy to SDKs. Note this will show data even if you have no SDKs connected to the Primary Proxy", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 16, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 12 - }, - "id": 28, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "sum(rate(ff_proxy_primary_to_sdk_sse_producer_messages_published{error=\"false\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Successfully Forwarded Events", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_primary_to_sdk_sse_producer_messages_published{error=\"true\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Unsuccessfully Forwarded Events", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Primary Proxy-> SDKs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows SSE events being forwarded from the Primary Proxy to Read Replica Proxy's", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 16, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 22 - }, - "id": 29, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_primary_to_replica_sse_producer_messages_published{error=\"false\", topic=\"proxy:sse_events\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Successfully Forwarded Events", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_primary_to_sdk_sse_producer_messages_published{error=\"true\", topic=\"proxy:sse_events\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Unsuccessfully Forwarded Events", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Primary Proxy -> Read Replica Proxy", - "type": "timeseries" - } - ], - "title": "Primary Proxy Stream Activity", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 4 - }, - "id": 32, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows SSE events being received by Read Replica Proxy's", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 16, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 31, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_replica_sse_consumer_messages_received{error=\"false\", topic=\"proxy:sse_events\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Successfully Received SSE Events", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_primary_to_sdk_sse_producer_messages_published{error=\"true\", topic=\"proxy:sse_events\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Successfully Received SSE Events", - "range": true, - "refId": "B", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_primary_to_sdk_sse_producer_messages_published{error=\"false\", topic=\"proxy:primary_to_replica_control_events\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Successfully Received Control Events", - "range": true, - "refId": "C", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_primary_to_sdk_sse_producer_messages_published{error=\"true\", topic=\"proxy:primary_to_replica_control_events\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Unsuccessfully Received Control Events", - "range": true, - "refId": "D", - "useBackend": false - } - ], - "title": "Read Replica Proxy Events Received", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows SSE events being forwarded by Read Replica Proxy's to SDKs", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 16, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 33, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_replica_to_sdk_sse_producer_messages_published{error=\"false\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Successfully Forwarded SSE Events", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_replica_to_sdk_sse_producer_messages_published{error=\"true\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Unsuccessfully Forwarded SSE Events", - "range": true, - "refId": "B", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_primary_to_sdk_sse_producer_messages_published{error=\"false\", topic=\"proxy:primary_to_replica_control_events\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Successfully Received Control Events", - "range": true, - "refId": "C", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_primary_to_sdk_sse_producer_messages_published{error=\"true\", topic=\"proxy:primary_to_replica_control_events\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Unsuccessfully Received Control Events", - "range": true, - "refId": "D", - "useBackend": false - } - ], - "title": "Read Replica -> SDK", - "type": "timeseries" - } - ], - "title": "Read Replica Stream Activity", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 5 - }, - "id": 24, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Show the number of successful and unsuccessful writes to the cache", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 14 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by() (rate(ff_proxy_redis_cache_write_count{error=\"false\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Successful Writes", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "builder", - "expr": "rate(ff_proxy_redis_cache_write_count{error=\"true\"}[5m])", - "hide": false, - "legendFormat": "Failed Writes", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(cluster) (rate(ff_proxy_redis_cache_remove_count[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Deletes", - "range": true, - "refId": "C", - "useBackend": false - } - ], - "title": "Cache Writes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Shows the number of successful and failed reads made to the cache", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 14 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_redis_cache_read_count{error=\"false\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Successful reads", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(ff_proxy_redis_cache_read_count{error=\"true\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Failed reads", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Cache Reads", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 12, - "x": 0, - "y": 24 - }, - "id": 18, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_proxy_memoize_cache_hit[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Cache Hit", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_proxy_memoize_cache_miss[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Cache Miss", - "range": true, - "refId": "B", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_proxy_memoize_cache_hit_with_unmarshal[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Cache Hit (But had to unmarshall)", - "range": true, - "refId": "C", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(job) (rate(ff_proxy_memoize_cache_write_marshal[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Remote Cache Hit (wrote to local)", - "range": true, - "refId": "D", - "useBackend": false - } - ], - "title": "Memoize Cache Hits", - "type": "timeseries" - } - ], - "title": "Cache Activity", - "type": "row" - } - ], - "refresh": "", - "schemaVersion": 38, - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "FF Proxy V2", - "uid": "e15dd63a-1b70-483c-bb0f-653763e8f2ad", - "version": 12, - "weekStart": "" -} diff --git a/Feature_Flags/k8s_overview.json b/Feature_Flags/k8s_overview.json deleted file mode 100644 index 3410b6e..0000000 --- a/Feature_Flags/k8s_overview.json +++ /dev/null @@ -1,2355 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 90, - "panels": [], - "title": "Requests", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 147, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://cloudlogging.app.goo.gl/RZg56H6JtvEb2kDd6" - } - ], - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(backend_target_name, response_code) (rate(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=~\".*(cf|ff|pushpin).*\"}[$__interval]))", - "legendFormat": "{{backend_target_name}} - {{response_code}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(forwarding_rule_name, status) (rate(logging_googleapis_com:user_ff_lb_admin_requests_gateway[$__interval]))", - "hide": false, - "legendFormat": "admin-gateway - {{status}}", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(forwarding_rule_name, status) (rate(logging_googleapis_com:user_ff_lb_admin_requests_prod[$__interval]))", - "hide": false, - "legendFormat": "admin-prod - {{status}}", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(forwarding_rule_name, status) (rate(logging_googleapis_com:user_ff_lb_admin_requests_free[$__interval]))", - "hide": false, - "legendFormat": "admin-free - {{status}}", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(forwarding_rule_name, status) (rate(logging_googleapis_com:user_ff_lb_admin_requests_comp[$__interval]))", - "hide": false, - "legendFormat": "admin-comp - {{status}}", - "range": true, - "refId": "E" - } - ], - "title": "GLB", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 219, - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace, job, code) (rate(ff_auth_service_http_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\", job=~\"$container.*\"}[$__interval]))", - "hide": false, - "legendFormat": "{{namespace}}/{{job}} - {{code}}", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace, job, code) (rate(ff_http_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\", job=~\"$container.*\"}[$__interval]))", - "hide": false, - "legendFormat": "{{namespace}}/{{job}} - {{code}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace, job, code) (rate(request_received{cluster=~\"$cluster\", namespace=~\"$namespace\", job=\"ff-pushpin\"}[$__interval]))", - "hide": false, - "legendFormat": "{{namespace}}/{{job}} - {{code}}", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace, job, code) (rate(ff_proxy_http_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\", job=~\"$container.*\"}[$__interval]))", - "hide": false, - "legendFormat": "{{namespace}}/{{job}} - {{code}}", - "range": true, - "refId": "C" - } - ], - "title": "App", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 15 - }, - "id": 170, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.5, sum by (matched_url_path_rule, backend_target_name, le) (rate(loadbalancing_googleapis_com:https_total_latencies_bucket{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=~\".*(cf|ff|pushpin).*\", matched_url_path_rule!=\"/api/1.0/stream\"}[$__interval])))", - "legendFormat": "{{matched_url_path_rule}} ({{backend_target_name}})", - "range": true, - "refId": "A" - } - ], - "title": "Latency (50th)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 15 - }, - "id": 171, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.9, sum by (matched_url_path_rule, backend_target_name, le) (rate(loadbalancing_googleapis_com:https_total_latencies_bucket{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=~\".*(cf|ff|pushpin).*\", matched_url_path_rule!=\"/api/1.0/stream\"}[$__interval])))", - "legendFormat": "{{matched_url_path_rule}} ({{backend_target_name}})", - "range": true, - "refId": "A" - } - ], - "title": "Latency (90th)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 15 - }, - "id": 172, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le) (rate(loadbalancing_googleapis_com:https_total_latencies_bucket{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=~\".*(cf|ff|pushpin).*\", matched_url_path_rule!=\"/api/1.0/stream\"}[$__interval])))", - "legendFormat": "{{matched_url_path_rule}} ({{backend_target_name}})", - "range": true, - "refId": "A" - } - ], - "title": "Latency (95th)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 23 - }, - "id": 125, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://cloudlogging.app.goo.gl/1V3joJWHQPWUBmn49" - } - ], - "options": { - "legend": { - "calcs": [ - "mean", - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace_name, container_name) (delta(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", severity=~\"ERROR|CRITICAL\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container\", pod_name=~\"$pod\"}[1m]))", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "App Error Rate", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 28 - }, - "id": 10, - "panels": [], - "title": "Health", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 29 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "changeCount" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[5m]), 0.001))", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Uptime", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 34 - }, - "id": 194, - "options": { - "legend": { - "calcs": [ - "max", - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace_name, container_name) (delta(kubernetes_io:container_restart_count{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[2m]) / 2)", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Pod Restarts", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "hidden", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 39 - }, - "id": 173, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace, container, image_spec, version) (label_replace(kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"$container\"}, \"version\", \"$1\", \"image_spec\", \".*/([0-9a-z-]+[:@].*)\")) * 0 + 1", - "legendFormat": "{{namespace}}/{{container}} - {{version}}", - "range": true, - "refId": "A" - } - ], - "title": "Images", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 44 - }, - "id": 282, - "panels": [], - "title": "Pods", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 45 - }, - "id": 4, - "links": [ - { - "targetBlank": true, - "title": "GCP Workloads", - "url": "https://console.cloud.google.com/kubernetes/workload/overview?project=prod-setup-205416&pageState=(%22workload_list_table%22:(%22f%22:%22%255B%257B_22k_22_3A_22_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22ff-_5C_22_22%257D_2C%257B_22k_22_3A_22_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22OR_5C_22_22_2C_22o_22_3Atrue_2C_22s_22_3Atrue%257D_2C%257B_22k_22_3A_22_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22pushpin_5C_22_22_2C_22s_22_3Atrue%257D%255D%22),%22savedViews%22:(%22i%22:%2289fa5a26293b4f3fb89f477b61b30a36%22,%22c%22:%5B%22gke%2Fus-west1%2Fprod-private-uswest1-primary%22%5D,%22n%22:%5B%22harness-nextgen%22,%22harness-nextgen-compliance%22,%22harness-nextgen-free%22%5D))" - } - ], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": true, - "width": 300 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "container", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(kubernetes_io:container_cpu_core_usage_time{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[$__interval])", - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_cpu_request_cores{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}", - "hide": false, - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "$container CPU Utlization ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 45 - }, - "id": 15, - "links": [ - { - "targetBlank": true, - "title": "GCP Workloads", - "url": "https://console.cloud.google.com/kubernetes/workload/overview?project=prod-setup-205416&pageState=(%22workload_list_table%22:(%22f%22:%22%255B%257B_22k_22_3A_22_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22ff-_5C_22_22%257D_2C%257B_22k_22_3A_22_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22OR_5C_22_22_2C_22o_22_3Atrue_2C_22s_22_3Atrue%257D_2C%257B_22k_22_3A_22_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22pushpin_5C_22_22_2C_22s_22_3Atrue%257D%255D%22),%22savedViews%22:(%22i%22:%2289fa5a26293b4f3fb89f477b61b30a36%22,%22c%22:%5B%22gke%2Fus-west1%2Fprod-private-uswest1-primary%22%5D,%22n%22:%5B%22harness-nextgen%22,%22harness-nextgen-compliance%22,%22harness-nextgen-free%22%5D))" - } - ], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": true, - "width": 300 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "container", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_used_bytes{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}) by(namespace_name, pod_name, container_name) ", - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_limit_bytes{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}) by (namespace_name, pod_name, container_name)", - "hide": false, - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "$container Memory Utlization", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 101 - }, - "id": 241, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 1, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 0, - "y": 102 - }, - "id": 243, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "redis_instance", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(instance_id) (rate(redis_googleapis_com:stats_cpu_utilization{instance_id=~\"$redis_instance\", monitored_resource=\"redis_instance\", role=\"primary\"}[$__interval]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "CPU Utilisation ($redis_instance)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 858993459 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 6, - "y": 102 - }, - "id": 245, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "redis_instance", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum (redis_googleapis_com:clients_connected{instance_id=~\"$redis_instance\", monitored_resource=\"redis_instance\", role=\"primary\"})", - "legendFormat": "{{instance_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Connections ($redis_instance)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 858993459 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 12, - "y": 102 - }, - "id": 260, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "redis_instance", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_memory_usage{instance_id=~\"$redis_instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "legendFormat": "{{instance_id}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_memory_maxmemory{instance_id=~\"$redis_instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "hide": false, - "legendFormat": "{{instance_id}}", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilisation ($redis_instance)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 18, - "y": 102 - }, - "id": 247, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "redis_instance", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:keyspace_keys{instance_id=~\"$redis_instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "legendFormat": "{{instance_id}} - keys", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:keyspace_keys_with_expiration{instance_id=~\"$redis_instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "hide": false, - "legendFormat": "{{instance_id}} - keys with exp", - "range": true, - "refId": "B" - } - ], - "title": "Total Keys ($redis_instance)", - "type": "timeseries" - } - ], - "title": "Memorystore Redis", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 102 - }, - "id": 33, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 0, - "y": 134 - }, - "id": 29, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "database_id", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (database_id) (rate(cloudsql_googleapis_com:database_postgresql_transaction_count{database_id=~\"$database_id(-replica)?\", database=\"cf_db\"}[$__interval]))", - "legendFormat": "{{label_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Primary Transactions ($database_id)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 6, - "y": 134 - }, - "id": 36, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "database_id", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_postgresql_num_backends{database_id=~\"$database_id(-replica)?\", database=\"cf_db\"}", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Connections ($database_id) ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 12, - "y": 134 - }, - "id": 41, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "database_id", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(cloudsql_googleapis_com:database_cpu_usage_time{database_id=~\"$database_id(-replica)?\"}[$__interval])", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_cpu_reserved_cores{database_id=~\"$database_id(-replica)?\"}", - "hide": false, - "legendFormat": "{{database_id}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU Utilization ($database_id)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 18, - "y": 134 - }, - "id": 66, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "database_id", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_memory_usage{database_id=~\"$database_id(-replica)?\"}", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_memory_quota{database_id=~\"$database_id(-replica)?\"}", - "hide": false, - "legendFormat": "{{database_id}}", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization ($database_id)", - "type": "timeseries" - } - ], - "title": "PostgreSQL - CloudSQL", - "type": "row" - } - ], - "refresh": "30s", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "allValue": ".*", - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "(ProdSetup|UATSetup|QASetup)-.*", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"ff-.*|pushpin-.*\"}, cluster_name)", - "hide": 0, - "includeAll": true, - "label": "Cluster", - "multi": true, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{container_name=~\"ff-.*|pushpin-.*\"}, cluster_name)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"ff-.*|pushpin-.*\"}, namespace_name)", - "hide": 0, - "includeAll": true, - "label": "Namespace", - "multi": true, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"ff-.*|pushpin-.*\"}, namespace_name)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"(ff-.*|pushpin-worker|pushpin-pushpin)\", container_name!~\".*db-migration\"}, container_name)", - "hide": 0, - "includeAll": true, - "label": "Container", - "multi": true, - "name": "container", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"(ff-.*|pushpin-worker|pushpin-pushpin)\", container_name!~\".*db-migration\"}, container_name)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "ff-.*|pushpin-.*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", container_name!~\".*db-migration\", pod_name=~\"ff-.*|pushpin-.*\"}, pod_name)", - "hide": 0, - "includeAll": true, - "label": "Pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", container_name!~\".*db-migration\", pod_name=~\"ff-.*|pushpin-.*\"}, pod_name)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(cloudsql_googleapis_com:database_uptime{database_id=~\".*cf.*\", database_id!~\".*replica.*\"}, database_id)", - "hide": 0, - "includeAll": true, - "label": "Database ID", - "multi": true, - "name": "database_id", - "options": [], - "query": { - "query": "label_values(cloudsql_googleapis_com:database_uptime{database_id=~\".*cf.*\", database_id!~\".*replica.*\"}, database_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "(?.*:(?[\\w\\d\\-]+))", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "ff-primary-prod1", - "ff-primary-prod2", - "ff-primary-prod3" - ], - "value": [ - "projects/prod-setup-205416/locations/us-west1/instances/ff-primary-prod1", - "projects/prod-setup-205416/locations/us-west1/instances/ff-primary-prod2", - "projects/prod-setup-205416/locations/us-west1/instances/ff-primary-prod3" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(redis_googleapis_com:server_uptime{instance_id=~\".*(ff|cf).*\", instance_id!~\".*(failover).*\", monitored_resource=\"redis_instance\", role=\"primary\"}, instance_id)", - "hide": 0, - "includeAll": true, - "label": "Redis Instance", - "multi": true, - "name": "redis_instance", - "options": [], - "query": { - "query": "label_values(redis_googleapis_com:server_uptime{instance_id=~\".*(ff|cf).*\", instance_id!~\".*(failover).*\", monitored_resource=\"redis_instance\", role=\"primary\"}, instance_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "(?projects\\/[\\w\\d\\-]+\\/locations\\/[\\w\\d\\-]+\\/instances\\/(?[\\w\\d\\-]+))", - "skipUrlSync": false, - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "K8s Overview", - "uid": "ff_k8s_overview", - "version": 2, - "weekStart": "" -} diff --git a/Feature_Flags/redis.json b/Feature_Flags/redis.json deleted file mode 100644 index 695cc2b..0000000 --- a/Feature_Flags/redis.json +++ /dev/null @@ -1,991 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 4, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "max": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 1 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "builder", - "expr": "sum by(instance_id) (rate(redis_googleapis_com:stats_cpu_utilization{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}[$__interval]))", - "legendFormat": "Primary", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (instance_id) (rate(redis_googleapis_com:stats_cpu_utilization_main_thread{instance_id=\"$instance\", monitored_resource=\"redis_instance\", project_id=\"prod-setup-205416\", role=\"replica\"}[$__interval]))", - "hide": false, - "legendFormat": "Replica", - "range": true, - "refId": "B" - } - ], - "title": "CPU Utilisation", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "left", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 858993459 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 8, - "y": 1 - }, - "id": 7, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_memory_usage{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "legendFormat": "Primary", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_memory_usage{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"replica\"}", - "hide": false, - "legendFormat": "Replica", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_memory_maxmemory{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "hide": false, - "legendFormat": "Max", - "range": true, - "refId": "C" - } - ], - "title": "Memory Utilisation", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "max": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 1 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "round(rate(redis_googleapis_com:server_uptime{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}[2m]), 0.1)", - "legendFormat": "Primary", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "round(rate(redis_googleapis_com:server_uptime{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"replica\"}[2m]), 0.1)", - "hide": false, - "legendFormat": "Replica", - "range": true, - "refId": "B" - } - ], - "title": "Uptime", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 10, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_cache_hit_ratio{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "legendFormat": "Primary", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:stats_cache_hit_ratio{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"replica\"}", - "hide": false, - "legendFormat": "Replica", - "range": true, - "refId": "B" - } - ], - "title": "Cache Hit Ratio", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 11, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:keyspace_keys{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "legendFormat": "Primary keys", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "redis_googleapis_com:keyspace_keys_with_expiration{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}", - "hide": false, - "legendFormat": "Primary - keys with exp", - "range": true, - "refId": "C" - } - ], - "title": "Total Keys", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 61, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum (redis_googleapis_com:clients_connected{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"})", - "hide": false, - "legendFormat": "Connected clients", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum (redis_googleapis_com:clients_blocked{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"})", - "hide": false, - "legendFormat": "Blocked clients", - "range": true, - "refId": "B" - } - ], - "title": "Connected/Blocked Clients", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 118, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "increase(redis_googleapis_com:stats_reject_connections_count{monitored_resource=\"redis_instance\",instance_id=\"$instance\",role=\"primary\"}[${__interval}])", - "legendFormat": "Received Connections", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "increase(redis_googleapis_com:stats_connections_total{monitored_resource=\"redis_instance\",instance_id=\"$instance\",role=\"primary\"}[${__interval}])", - "hide": false, - "legendFormat": "Received Connections", - "range": true, - "refId": "B" - } - ], - "title": "Received/Rejected Connections", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0.8 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 19 - }, - "id": 9, - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(redis_googleapis_com:commands_calls{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"primary\"}[$__interval])", - "legendFormat": "Primary - {{cmd}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(redis_googleapis_com:commands_calls{instance_id=\"$instance\", monitored_resource=\"redis_instance\", role=\"replica\"}[$__interval])", - "hide": false, - "legendFormat": "Replica - {{cmd}}", - "range": true, - "refId": "B" - } - ], - "title": "Calls", - "type": "timeseries" - } - ], - "repeat": "instance", - "repeatDirection": "h", - "title": "$instance", - "type": "row" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "(ProdSetup|UATSetup|QASetup)-.*", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(redis_googleapis_com:server_uptime{instance_id=~\".*(ff|cf).*\", instance_id!~\".*(failover).*\", monitored_resource=\"redis_instance\", role=\"primary\"}, instance_id)", - "hide": 0, - "includeAll": true, - "label": "Instance", - "multi": true, - "name": "instance", - "options": [], - "query": { - "query": "label_values(redis_googleapis_com:server_uptime{instance_id=~\".*(ff|cf).*\", instance_id!~\".*(failover).*\", monitored_resource=\"redis_instance\", role=\"primary\"}, instance_id)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "(?projects\\/[\\w\\d\\-]+\\/locations\\/[\\w\\d\\-]+\\/instances\\/(?[\\w\\d\\-]+))", - "skipUrlSync": false, - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Redis", - "uid": "ff_redis_overview", - "version": 13, - "weekStart": "" -} diff --git a/Feature_Flags/slis.json b/Feature_Flags/slis.json deleted file mode 100644 index dccbe25..0000000 --- a/Feature_Flags/slis.json +++ /dev/null @@ -1,3209 +0,0 @@ -{ - "graphTooltip": 1, - "panels": [ - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 1, - "panels": [ - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-auth-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-auth-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-auth-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-auth-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-auth-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"prod-cf-auth-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-auth", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 3, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"prod-cf-auth-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-auth", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{job=\"ff-admin-server\", namespace=\"harness-nextgen\", code=~\"5.*\"}[5m]) OR up * 0)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{job=\"ff-admin-server\", namespace=\"harness-nextgen\"}[5m]) OR up * 0)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-admin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 5, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (job, le)\n(rate(\n ff_http_requests_duration_bucket{\n job=\"ff-admin-server\",\n namespace=\"harness-nextgen\"\n }[5m])\n))\n", - "legendFormat": "{{job}}" - } - ], - "title": "Request latency: ff-admin", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 6, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-client-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-client-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-client-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-client-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-client-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"prod-cf-client-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-client", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 7, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"prod-cf-client-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-client", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 19 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-metric-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-metric-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-metric-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-metric-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-cf-metric-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"prod-cf-metric-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-metric", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 19 - }, - "id": 9, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"prod-cf-metric-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-metric", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 25 - }, - "id": 10, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-pushpin-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-pushpin-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-pushpin-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-pushpin-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"prod-pushpin-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"prod-pushpin-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: pushpin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - } - ], - "title": "Prod 1", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 30 - }, - "id": 11, - "panels": [ - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 31 - }, - "id": 12, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{job=\"ff-admin-server\", namespace=\"harness-nextgen-free\", code=~\"5.*\"}[5m]) OR up * 0)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{job=\"ff-admin-server\", namespace=\"harness-nextgen-free\"}[5m]) OR up * 0)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-admin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 31 - }, - "id": 13, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (job, le)\n(rate(\n ff_http_requests_duration_bucket{\n job=\"ff-admin-server\",\n namespace=\"harness-nextgen-free\"\n }[5m])\n))\n", - "legendFormat": "{{job}}" - } - ], - "title": "Request latency: ff-admin", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 37 - }, - "id": 14, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-client-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-client-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-client-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-client-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-client-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"free-cf-client-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-client", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 37 - }, - "id": 15, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"free-cf-client-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-client", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 43 - }, - "id": 16, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-metric-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-metric-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-metric-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-metric-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-cf-metric-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"free-cf-metric-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-metric", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 43 - }, - "id": 17, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"free-cf-metric-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-metric", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 49 - }, - "id": 18, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-pushpin-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-pushpin-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-pushpin-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-pushpin-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"free-pushpin-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"free-pushpin-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: pushpin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - } - ], - "title": "Prod 2", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 55 - }, - "id": 19, - "panels": [ - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 56 - }, - "id": 20, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{job=\"ff-admin-server\", namespace=\"harness-nextgen-compliance\", code=~\"5.*\"}[5m]) OR up * 0)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{job=\"ff-admin-server\", namespace=\"harness-nextgen-compliance\"}[5m]) OR up * 0)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-admin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 56 - }, - "id": 21, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (job, le)\n(rate(\n ff_http_requests_duration_bucket{\n job=\"ff-admin-server\",\n namespace=\"harness-nextgen-compliance\"\n }[5m])\n))\n", - "legendFormat": "{{job}}" - } - ], - "title": "Request latency: ff-admin", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 62 - }, - "id": 22, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-client-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-client-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-client-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-client-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-client-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"comp-cf-client-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-client", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 62 - }, - "id": 23, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"comp-cf-client-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-client", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 68 - }, - "id": 24, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-metric-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-metric-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-metric-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-metric-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-cf-metric-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"comp-cf-metric-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-metric", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 68 - }, - "id": 25, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"comp-cf-metric-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-metric", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 74 - }, - "id": 26, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-pushpin-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-pushpin-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-pushpin-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-pushpin-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"comp-pushpin-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"comp-pushpin-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: pushpin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - } - ], - "title": "Prod 3", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 80 - }, - "id": 27, - "panels": [ - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 81 - }, - "id": 28, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-auth-server-backend-service\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-auth-server-backend-service\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-auth-server-backend-service\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-auth-server-backend-service\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-auth-server-backend-service\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"ff-auth-server-backend-service\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-auth", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 81 - }, - "id": 29, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"ff-auth-server-backend-service\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-auth", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 87 - }, - "id": 30, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{cluster=\"qa-private\", namespace=\"harness-nextgen\", job=\"ff-admin-server\", code=~\"5.*\"}[5m]) OR up * 0)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{cluster=\"qa-private\", namespace=\"harness-nextgen\", job=\"ff-admin-server\"}[5m]) OR up * 0)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-admin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 87 - }, - "id": 31, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (job, le)\n(rate(\n ff_http_requests_duration_bucket{\n cluster=\"qa-private\",\n job=\"ff-admin-server\",\n namespace=\"harness-nextgen\"\n }[5m])\n))\n", - "legendFormat": "{{job}}" - } - ], - "title": "Request latency: ff-admin", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 93 - }, - "id": 32, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-client-server-1-backend-service\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-client-server-1-backend-service\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-client-server-1-backend-service\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-client-server-1-backend-service\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-client-server-1-backend-service\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"ff-client-server-1-backend-service\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-client", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 93 - }, - "id": 33, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"ff-client-server-1-backend-service\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-client", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 99 - }, - "id": 34, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-metrics-server-qa-backend-service\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-metrics-server-qa-backend-service\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-metrics-server-qa-backend-service\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-metrics-server-qa-backend-service\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"ff-metrics-server-qa-backend-service\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"ff-metrics-server-qa-backend-service\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-metric", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 99 - }, - "id": 35, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"ff-metrics-server-qa-backend-service\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-metric", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 105 - }, - "id": 36, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"pushpin-1-backend-service\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"pushpin-1-backend-service\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"pushpin-1-backend-service\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"pushpin-1-backend-service\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"pushpin-1-backend-service\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "QASetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"pushpin-1-backend-service\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: pushpin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - } - ], - "title": "QA", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 111 - }, - "id": 37, - "panels": [ - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 112 - }, - "id": 38, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-auth-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-auth-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-auth-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-auth-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-auth-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"uat-ff-auth-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-auth", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 112 - }, - "id": 39, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"uat-ff-auth-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-auth", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 118 - }, - "id": 40, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{job=\"ff-admin-server\", namespace=\"harness-nextgen\", code=~\"5.*\"}[5m]) OR up * 0)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum (rate(ff_http_requests_total{job=\"ff-admin-server\", namespace=\"harness-nextgen\"}[5m]) OR up * 0)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-admin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 118 - }, - "id": 41, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (job, le)\n(rate(\n ff_http_requests_duration_bucket{\n job=\"ff-admin-server\",\n namespace=\"harness-nextgen\"\n }[5m])\n))\n", - "legendFormat": "{{job}}" - } - ], - "title": "Request latency: ff-admin", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 124 - }, - "id": 42, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-client-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-client-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-client-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-client-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-client-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"uat-ff-client-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-client", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 124 - }, - "id": 43, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"uat-ff-client-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-client", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 130 - }, - "id": 44, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-metric-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-metric-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-metric-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-metric-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-ff-metric-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"uat-ff-metric-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: ff-metric", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 35000, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 30000 - } - ] - }, - "unit": "ms" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 130 - }, - "id": 45, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "histogram_quantile(0.95, sum by (matched_url_path_rule, backend_target_name, le)\n(rate(\n loadbalancing_googleapis_com:https_total_latencies_bucket{\n backend_target_name=\"uat-ff-metric-backend\",\n matched_url_path_rule!=\"UNMATCHED\"\n }[5m])\n))\n", - "legendFormat": "{{matched_url_path_rule}}" - } - ], - "title": "Request latency: ff-metric", - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "custom": { - "axisSoftMax": 0.059999999999999998, - "thresholdsStyle": { - "mode": "area" - } - }, - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "dark-red", - "value": 0.050000000000000003 - } - ] - }, - "unit": "percentunit" - } - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 136 - }, - "id": 46, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by () (\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-pushpin-backend\", response_code=\"500\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-pushpin-backend\", response_code=\"501\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-pushpin-backend\", response_code=\"502\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-pushpin-backend\", response_code=\"503\"}[5m]) OR\n count_over_time(loadbalancing_googleapis_com:https_request_count{matched_url_path_rule!=\"UNMATCHED\", backend_target_name=\"uat-pushpin-backend\", response_code=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx" - }, - { - "datasource": { - "type": "prometheus", - "uid": "UATSetup-ManagedPrometheus" - }, - "expr": "sum by (matched_url_path_rule) (\n count_over_time(loadbalancing_googleapis_com:https_request_count{\n matched_url_path_rule!=\"UNMATCHED\",\n backend_target_name=\"uat-pushpin-backend\"\n }[5m])\n)\n", - "legendFormat": "all" - } - ], - "title": "Rate of 5xx errors: pushpin", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [ ], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - } - ], - "title": "UAT", - "type": "row" - } - ], - "schemaVersion": 36, - - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "SLIs", - "uid": "ff_slis", - "version": 1, - "weekStart": "" -} diff --git a/IAC/BUILD.bazel b/IAC/BUILD.bazel deleted file mode 100644 index a53821c..0000000 --- a/IAC/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/IAC/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/IAC/K8s_Overview.json b/IAC/K8s_Overview.json deleted file mode 100644 index fe91192..0000000 --- a/IAC/K8s_Overview.json +++ /dev/null @@ -1,1813 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 90, - "panels": [], - "title": "Requests", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 147, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\"}[$__interval])", - "legendFormat": "Prod1 Server ({{status}})", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(logging_googleapis_com:user_iac_server_free_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\"}[$__interval])", - "hide": false, - "legendFormat": "Prod2 Server ({{status}})", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(logging_googleapis_com:user_iac_manager_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\"}[$__interval])", - "hide": false, - "legendFormat": "Prod1 Manager ({{status}})", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(logging_googleapis_com:user_iac_manager_free_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\"}[$__interval])", - "hide": false, - "legendFormat": "Prod2 Manager ({{status}})", - "range": true, - "refId": "D" - } - ], - "title": "GLB Total Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 208, - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace, job, status) (rate(iac_http_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\", job=~\"$container.*\"}[$__interval]))", - "hide": false, - "legendFormat": "{{namespace}}/{{job}} - {{status}}", - "range": true, - "refId": "A" - } - ], - "title": "App", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 15 - }, - "id": 214, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (job) (histogram_quantile(0.5, rate(iac_http_requests_duration_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\", job=~\"$container.*\"}[$__interval])))\n", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Latency (50th)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 15 - }, - "id": 215, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (job) (histogram_quantile(0.9, rate(iac_http_requests_duration_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\", job=~\"$container.*\"}[$__interval])))\n", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Latency (90th)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 15 - }, - "id": 216, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (job) (histogram_quantile(0.95, rate(iac_http_requests_duration_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\", job=~\"$container.*\"}[$__interval])))\n", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Latency (95th)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 23 - }, - "id": 218, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://cloudlogging.app.goo.gl/1V3joJWHQPWUBmn49" - } - ], - "options": { - "legend": { - "calcs": [ - "mean", - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace_name, container_name) (delta(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", severity=~\"ERROR|CRITICAL\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container\", pod_name=~\"$pod\"}[1m]))", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "App Error Rate", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 28 - }, - "id": 10, - "panels": [], - "title": "Health", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 29 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "changeCount" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[5m]), 0.001))", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Uptime", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 34 - }, - "id": 194, - "options": { - "legend": { - "calcs": [ - "max", - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace_name, container_name) (delta(kubernetes_io:container_restart_count{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[2m]) / 2)", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Pod Restarts", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 39 - }, - "id": 173, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace, container, image_spec) (kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"$container.*\"})", - "legendFormat": "{{namespace}}/{{container}}/{{image_spec}}", - "range": true, - "refId": "A" - } - ], - "title": "Images", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 44 - }, - "id": 224, - "panels": [], - "title": "Pods", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 45 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "container", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace_name, pod_name) (rate(kubernetes_io:container_cpu_core_usage_time{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[$__interval]))", - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace_name, pod_name) (kubernetes_io:container_cpu_request_cores{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"})", - "hide": false, - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "$container CPU Utlization ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 45 - }, - "id": 15, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "container", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace_name, pod_name) (kubernetes_io:container_memory_used_bytes{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"})", - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace_name, pod_name) (kubernetes_io:container_memory_limit_bytes{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"})", - "hide": false, - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "$container Memory Utlization", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 69 - }, - "id": 33, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 0, - "y": 86 - }, - "id": 29, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "database_id", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(cloudsql_googleapis_com:database_postgresql_transaction_count{database_id=~\"$database_id(-replica)?\", database=\"iac_db\"}[$__interval])", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Primary Transactions ($database_id)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 6, - "y": 86 - }, - "id": 36, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "database_id", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_postgresql_num_backends{database_id=~\"$database_id(-replica)?\", database=\"iac_db\"}", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - } - ], - "title": "Connections ($database_id) ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 12, - "y": 86 - }, - "id": 41, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "database_id", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(cloudsql_googleapis_com:database_cpu_usage_time{database_id=~\"$database_id(-replica)?\"}[$__interval])", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_cpu_reserved_cores{database_id=~\"$database_id(-replica)?\"}", - "hide": false, - "legendFormat": "{{database_id}}", - "range": true, - "refId": "B" - } - ], - "title": "CPU Utilization ($database_id)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 18, - "y": 86 - }, - "id": 66, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "database_id", - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_memory_usage{database_id=~\"$database_id(-replica)?\"}", - "legendFormat": "{{database_id}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "cloudsql_googleapis_com:database_memory_quota{database_id=~\"$database_id(-replica)?\"}", - "hide": false, - "legendFormat": "{{database_id}}", - "range": true, - "refId": "B" - } - ], - "title": "Memory Utilization ($database_id)", - "type": "timeseries" - } - ], - "title": "PostgreSQL - CloudSQL", - "type": "row" - } - ], - "refresh": "30s", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "allValue": "", - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": true, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "(ProdSetup|QASetup)-.*", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": ".*", - "current": { - "selected": true, - "text": [ - "prod-private-uswest1-primary" - ], - "value": [ - "prod-private-uswest1-primary" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"iac.*\"}", - "hide": 0, - "includeAll": true, - "label": "Cluster", - "multi": true, - "name": "cluster", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"iac.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*cluster_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"iac.*\"}", - "hide": 0, - "includeAll": true, - "label": "Namespace", - "multi": true, - "name": "namespace", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"iac.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*namespace_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "iac.*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_cpu_core_usage_time{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"iac.*\"}", - "hide": 0, - "includeAll": true, - "label": "Container", - "multi": true, - "name": "container", - "options": [], - "query": { - "query": "kubernetes_io:container_cpu_core_usage_time{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"iac.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*container_name=\\\"([\\w\\d\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "iac.*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kube_pod_info{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"iac.*\"}", - "hide": 0, - "includeAll": true, - "label": "Pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "kube_pod_info{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"iac.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*created_by_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "cloudsql_googleapis_com:database_uptime{database_id=~\".*iac.*\", database_id!~\".*replica.*\"}", - "hide": 0, - "includeAll": true, - "label": "Database ID", - "multi": true, - "name": "database_id", - "options": [], - "query": { - "query": "cloudsql_googleapis_com:database_uptime{database_id=~\".*iac.*\", database_id!~\".*replica.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "/.*database_id=\\\"([\\w\\-\\:]+)\\\".*/", - "skipUrlSync": false, - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "K8s Overview", - "uid": "iac_k8s_overview", - "version": 1, - "weekStart": "" -} diff --git a/IAC/Weekly_Health_Report.json b/IAC/Weekly_Health_Report.json deleted file mode 100644 index 6322b29..0000000 --- a/IAC/Weekly_Health_Report.json +++ /dev/null @@ -1,1181 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 123, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 5, - "panels": [], - "title": "Prod 1", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 40, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aseverity%3DERROR%0Aresource.labels.container_name%3D%22iacm-manager%22%20OR%0Aresource.labels.container_name%3D%22iac-server%22;cursorTimestamp=2023-08-30T15:14:47.754864542Z;duration=PT1H?project=prod-setup-205416" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 300 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(container_name, namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"iac-server|harness-nextgen\", severity=~\"ERROR|CRITICAL\", pod_name=~\"$container\"}[$__interval]))", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Errors by service", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 3, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aseverity%3DERROR%0Aresource.labels.container_name%3D%22iacm-manager%22%20OR%0Aresource.labels.container_name%3D%22iac-server%22;cursorTimestamp=2023-08-30T15:14:47.754864542Z;duration=PT1H?project=prod-setup-205416" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(monitored_resource) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"iac-server|harness-nextgen\", severity=~\"ERROR|CRITICAL\", pod_name=~\"$container\"}[$__interval]))", - "legendFormat": "Total", - "range": true, - "refId": "A" - } - ], - "title": "Total errors", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 22, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aseverity%3DERROR%0Aresource.labels.container_name%3D%22iacm-manager%22%20OR%0Aresource.labels.container_name%3D%22iac-server%22;cursorTimestamp=2023-08-30T15:14:47.754864542Z;duration=PT1H?project=prod-setup-205416" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 300 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(container_name, namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"iac-server|harness-nextgen\", severity=~\"ERROR|CRITICAL\", pod_name=~\"$container\"}[$__interval] offset 1w))", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Last week errors by service", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 48, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aseverity%3DERROR%0Aresource.labels.container_name%3D%22iacm-manager%22%20OR%0Aresource.labels.container_name%3D%22iac-server%22;cursorTimestamp=2023-08-30T15:14:47.754864542Z;duration=PT1H?project=prod-setup-205416" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(monitored_resource) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"iac-server|harness-nextgen\", severity=~\"ERROR|CRITICAL\", pod_name=~\"$container\"}[$__interval] offset 1w))", - "legendFormat": "Total", - "range": true, - "refId": "A" - } - ], - "title": "Last week total errors", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 1, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 13 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (namespace, container, image_spec) (kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"iac-server|harness-nextgen\", container=~\"$container\"}) * 0 + 1", - "format": "time_series", - "legendFormat": "{{container}}/{{image_spec}}", - "range": true, - "refId": "A" - } - ], - "title": "Releases", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 19 - }, - "id": 42, - "panels": [], - "title": "Prod 2", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 20 - }, - "id": 46, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aseverity%3DERROR%0Aresource.labels.container_name%3D%22iacm-manager%22%20OR%0Aresource.labels.container_name%3D%22iac-server%22;cursorTimestamp=2023-08-30T15:14:47.754864542Z;duration=PT1H?project=prod-setup-205416" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 300 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(container_name, namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"iac-server-free|harness-nextgen-free\", severity=~\"ERROR|CRITICAL\", pod_name=~\"$container\"}[$__interval]))", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Errors by service", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 20 - }, - "id": 47, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aseverity%3DERROR%0Aresource.labels.container_name%3D%22iacm-manager%22%20OR%0Aresource.labels.container_name%3D%22iac-server%22;cursorTimestamp=2023-08-30T15:14:47.754864542Z;duration=PT1H?project=prod-setup-205416" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(monitored_resource) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"iac-server-free|harness-nextgen-free\", severity=~\"ERROR|CRITICAL\", pod_name=~\"$container\"}[$__interval]))", - "legendFormat": "Total", - "range": true, - "refId": "A" - } - ], - "title": "Total errors", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 26 - }, - "id": 44, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aseverity%3DERROR%0Aresource.labels.container_name%3D%22iacm-manager%22%20OR%0Aresource.labels.container_name%3D%22iac-server%22;cursorTimestamp=2023-08-30T15:14:47.754864542Z;duration=PT1H?project=prod-setup-205416" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 300 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(container_name, namespace_name) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"iac-server-free|harness-nextgen-free\", severity=~\"ERROR|CRITICAL\", pod_name=~\"$container\"}[$__interval] offset 1w))", - "legendFormat": "{{namespace_name}}/{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Last week errors by service", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 26 - }, - "id": 23, - "links": [ - { - "targetBlank": true, - "title": "GCP Logs", - "url": "https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aseverity%3DERROR%0Aresource.labels.container_name%3D%22iacm-manager%22%20OR%0Aresource.labels.container_name%3D%22iac-server%22;cursorTimestamp=2023-08-30T15:14:47.754864542Z;duration=PT1H?project=prod-setup-205416" - } - ], - "options": { - "legend": { - "calcs": [ - "sum" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeatDirection": "v", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(monitored_resource) (increase(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", cluster_name=~\"$cluster\", namespace_name=~\"iac-server-free|harness-nextgen-free\", severity=~\"ERROR|CRITICAL\", pod_name=~\"$container\"}[$__interval] offset 1w))", - "legendFormat": "Total", - "range": true, - "refId": "A" - } - ], - "title": "Last week total errors", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 1, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 32 - }, - "id": 43, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (namespace, container, image_spec) (kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"iac-server-free|harness-nextgen-free\", container=~\"$container\"}) * 0 + 1", - "format": "time_series", - "legendFormat": "{{container}}/{{image_spec}}", - "range": true, - "refId": "A" - } - ], - "title": "Releases", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "allValue": "(ProdSetup|QASetup)-.*", - "current": { - "selected": true, - "text": [ - "ProdSetup-ManagedPrometheus" - ], - "value": [ - "ProdSetup-ManagedPrometheus" - ] - }, - "hide": 0, - "includeAll": true, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "(ProdSetup|QASetup)-.*", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": [ - "prod-private-uswest1-primary" - ], - "value": [ - "prod-private-uswest1-primary" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"iac.*\"}", - "hide": 0, - "includeAll": true, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"iac.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*cluster_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": "iac.*", - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"iac.*\"}", - "hide": 0, - "includeAll": true, - "label": "Container", - "multi": true, - "name": "container", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"iac.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*container_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now-7d", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Weekly Health Report", - "uid": "iac_weekly_health_report", - "version": 1, - "weekStart": "" -} diff --git a/IAC/slis.json b/IAC/slis.json deleted file mode 100644 index 11cb5a2..0000000 --- a/IAC/slis.json +++ /dev/null @@ -1,1032 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 208, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 5, - "panels": [ - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 0.02, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "dark-red", - "value": 0.01 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "sum(\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"500\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"501\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"502\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"503\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"504\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"400\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"401\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"402\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"403\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"404\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"405\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"406\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"407\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"408\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"409\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "Errors", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "sum(\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "all", - "range": true, - "refId": "B" - } - ], - "title": "API's Error rate: iac-server", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "Errors", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 0.02, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "dark-red", - "value": 0.01 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 18, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "sum(\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"500\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"501\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"502\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"503\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "sum(\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "all", - "range": true, - "refId": "B" - } - ], - "title": "Rate of 5xx errors: iac-server", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "string" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 6 - }, - "id": 19, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "up{job=\"iac-server-sprox\", namespace=\"iac-server\"}", - "legendFormat": "{{job}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "up{job=\"iacm-manager\", namespace=\"harness-nextgen\"}", - "hide": false, - "legendFormat": "{{job}}", - "range": true, - "refId": "B" - } - ], - "title": "Uptime: iac-server", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 1500, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "dark-red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 6 - }, - "id": 11, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by (job, le)\n(rate(\n iac_http_requests_duration_bucket{\n job=\"iac-server-sprox\",\n namespace=\"iac-server\"\n }[5m])\n))\n", - "legendFormat": "{{job}}", - "range": true, - "refId": "A" - } - ], - "title": "Requests latency 95th percentile: iac-server", - "type": "timeseries" - } - ], - "title": "Prod1", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 7, - "panels": [ - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 0.02, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "dark-red", - "value": 0.01 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 12 - }, - "id": 20, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "sum(\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"500\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"501\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"502\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"503\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"504\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"400\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"401\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"402\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"403\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"404\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"405\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"406\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"407\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"408\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"409\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "Errors", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "sum(\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "all", - "range": true, - "refId": "B" - } - ], - "title": "API's Error rate: iac-server", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "Errors", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 0.02, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "dark-red", - "value": 0.01 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 12 - }, - "id": 21, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "sum(\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"500\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"501\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"502\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"503\"}[5m]) OR\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\", status=\"504\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "5xx", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "sum(\n count_over_time(logging_googleapis_com:user_iac_server_lb_requests{log=\"requests\", monitored_resource=\"l7_lb_rule\"}[5m]) OR\n up * 0\n)\n", - "legendFormat": "all", - "range": true, - "refId": "B" - } - ], - "title": "Rate of 5xx errors: iac-server", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "string" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 17 - }, - "id": 24, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "up{job=\"iac-server-sprox\", namespace=\"iac-server-free\"}", - "legendFormat": "{{job}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "up{job=\"iacm-manager\", namespace=\"harness-nextgen\"}", - "hide": false, - "legendFormat": "{{job}}", - "range": true, - "refId": "B" - } - ], - "title": "Uptime: iac-server", - "transformations": [ - { - "id": "calculateField", - "options": { - "binary": { - "left": "5xx", - "operator": "/", - "reducer": "sum", - "right": "all" - }, - "mode": "binary", - "reduce": { - "include": [], - "reducer": "allValues" - }, - "replaceFields": true - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Mixed --" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 1500, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "noValue": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "dark-red", - "value": 1000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 17 - }, - "id": 23, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "v10.1.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ProdSetup-ManagedPrometheus" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum by (job, le)\n(rate(\n iac_http_requests_duration_bucket{\n job=\"iac-server-sprox\",\n namespace=\"iac-server\"\n }[5m])\n))\n", - "legendFormat": "{{job}}", - "range": true, - "refId": "A" - } - ], - "title": "Requests latency 95th percentile: iac-server", - "type": "timeseries" - } - ], - "title": "Prod2", - "type": "row" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "SLIs", - "uid": "iac_slis", - "version": 1, - "weekStart": "" -} diff --git a/LICENSE.md b/LICENSE.md index a39ba59..5e51942 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright 2022 Harness Inc. +Copyright 2025 Harness Inc. The Harness CD Community Edition is licensed under the [PolyForm Shield License 1.0.0](./licenses/PolyForm-Shield-1.0.0.txt). You may obtain a copy of this license in the licenses directory at the root of this repository. diff --git a/Monitoring_System/BUILD.bazel b/Monitoring_System/BUILD.bazel deleted file mode 100644 index 3a540c4..0000000 --- a/Monitoring_System/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Monitoring_System/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Monitoring_System/Grafana_Metrics.json b/Monitoring_System/Grafana_Metrics.json deleted file mode 100644 index 72951d4..0000000 --- a/Monitoring_System/Grafana_Metrics.json +++ /dev/null @@ -1,1259 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Metrics about Grafana", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 7, - "links": [ - { - "icon": "external link", - "tags": [], - "targetBlank": true, - "title": "Available metrics", - "type": "link", - "url": "/metrics" - }, - { - "icon": "external link", - "tags": [], - "targetBlank": true, - "title": "Grafana docs", - "type": "link", - "url": "https://grafana.com/docs/grafana/latest/" - }, - { - "icon": "external link", - "tags": [], - "targetBlank": true, - "title": "Prometheus docs", - "type": "link", - "url": "http://prometheus.io/docs/introduction/overview/" - } - ], - "liveNow": false, - "panels": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "0": { - "text": ":(" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "rgba(222, 3, 3, 0.9)", - "value": null - }, - { - "color": "rgb(234, 245, 234)", - "value": 1 - }, - { - "color": "rgb(235, 244, 235)", - "value": 10000 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 5, - "x": 0, - "y": 0 - }, - "id": 4, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "up{job=\"grafana\"}", - "format": "time_series", - "instant": true, - "intervalFactor": 2, - "refId": "A", - "step": 60 - } - ], - "title": "Active instances", - "type": "stat" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 5, - "x": 5, - "y": 0 - }, - "id": 8, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "grafana_stat_totals_dashboard", - "format": "time_series", - "instant": true, - "intervalFactor": 2, - "refId": "A", - "step": 60 - } - ], - "title": "Dashboard count", - "type": "stat" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 5, - "x": 10, - "y": 0 - }, - "id": 9, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "grafana_stat_total_users", - "format": "time_series", - "instant": true, - "intervalFactor": 2, - "refId": "A", - "step": 60 - } - ], - "title": "User count", - "type": "stat" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 5, - "x": 15, - "y": 0 - }, - "id": 10, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "grafana_stat_total_playlists", - "format": "time_series", - "instant": true, - "intervalFactor": 2, - "refId": "A", - "step": 60 - } - ], - "title": "Playlist count", - "type": "stat" - }, - { - "columns": [], - "datasource": { - "uid": "QA_Cluster" - }, - "fontSize": "100%", - "gridPos": { - "h": 5, - "w": 4, - "x": 20, - "y": 0 - }, - "id": 17, - "links": [], - "scroll": false, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "link": false, - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "topk(1, grafana_info or grafana_build_info)", - "format": "time_series", - "instant": true, - "intervalFactor": 2, - "legendFormat": "{{version}}", - "refId": "A", - "step": 20 - } - ], - "title": "Grafana version", - "transform": "timeseries_to_rows", - "type": "table-old" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "400" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#447EBC", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "500" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#BF1B00", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 10, - "w": 10, - "x": 0, - "y": 5 - }, - "id": 15, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "sum by (statuscode) (irate(http_request_total{job='grafana'}[5m]))", - "format": "time_series", - "intervalFactor": 3, - "legendFormat": "{{statuscode}}", - "refId": "B", - "step": 15, - "target": "dev.grafana.cb-office.alerting.active_alerts" - } - ], - "title": "http status codes", - "type": "timeseries" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "400" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#447EBC", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "500" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#BF1B00", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 10, - "w": 10, - "x": 10, - "y": 5 - }, - "id": 11, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "sum(irate(grafana_api_response_status_total[5m]))", - "format": "time_series", - "intervalFactor": 4, - "legendFormat": "api", - "refId": "A", - "step": 20 - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "sum(irate(grafana_proxy_response_status_total[5m]))", - "format": "time_series", - "intervalFactor": 4, - "legendFormat": "proxy", - "refId": "B", - "step": 20 - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "sum(irate(grafana_page_response_status_total[5m]))", - "format": "time_series", - "intervalFactor": 4, - "legendFormat": "web", - "refId": "C", - "step": 20 - } - ], - "title": "Requests by routing group", - "type": "timeseries" - }, - { - "columns": [], - "datasource": { - "uid": "QA_Cluster" - }, - "fontSize": "100%", - "gridPos": { - "h": 10, - "w": 4, - "x": 20, - "y": 5 - }, - "height": "", - "id": 12, - "links": [], - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "link": false, - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "sort(topk(8, sum by (handler) (http_request_total{job=\"grafana\"})))", - "format": "time_series", - "instant": true, - "intervalFactor": 10, - "legendFormat": "{{handler}}", - "refId": "A", - "step": 100 - } - ], - "title": "Most used handlers", - "transform": "timeseries_to_rows", - "type": "table-old" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "alerting" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#890F02", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "ok" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#7EB26D", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 15 - }, - "id": 6, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "increase(grafana_alerting_active_alerts[1m])", - "format": "time_series", - "intervalFactor": 3, - "legendFormat": "{{state}}", - "refId": "A", - "step": 15 - } - ], - "title": "Grafana active alerts", - "type": "timeseries" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "alerting" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#890F02", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "alertname" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#BF1B00", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "firing alerts" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#BF1B00", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "ok" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#7EB26D", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 15 - }, - "id": 18, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": " sum (ALERTS)", - "format": "time_series", - "intervalFactor": 3, - "legendFormat": "firing alerts", - "refId": "A", - "step": 15 - } - ], - "title": "Prometheus alerts", - "type": "timeseries" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "description": "Aggregated over all Grafana nodes.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "avg gc duration" - }, - "properties": [ - { - "id": "unit", - "value": "decbytes" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "allocated memory" - }, - "properties": [ - { - "id": "unit", - "value": "decbytes" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "used memory" - }, - "properties": [ - { - "id": "unit", - "value": "decbytes" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "memory usage" - }, - "properties": [ - { - "id": "unit", - "value": "decbytes" - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 20 - }, - "id": 7, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "sum(go_goroutines{job=\"grafana\"})", - "format": "time_series", - "hide": false, - "intervalFactor": 4, - "legendFormat": "go routines", - "refId": "A", - "step": 8, - "target": "select metric", - "type": "timeserie" - }, - { - "datasource": { - "uid": "QA_Cluster" - }, - "expr": "sum(process_resident_memory_bytes{job=\"grafana\"})", - "format": "time_series", - "intervalFactor": 4, - "legendFormat": "memory usage", - "refId": "B", - "step": 8 - } - ], - "title": "Grafana performance", - "type": "timeseries" - } - ], - "revision": "1.0", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "grafana", - "prometheus" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-6h", - "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": "", - "title": "Grafana metrics", - "uid": "isFoa0z7k", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/Monitoring_System/Proemtheus_2.0_Stats.json b/Monitoring_System/Proemtheus_2.0_Stats.json deleted file mode 100644 index b0ab133..0000000 --- a/Monitoring_System/Proemtheus_2.0_Stats.json +++ /dev/null @@ -1,1515 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 1, - "id": 8, - "links": [ - { - "icon": "info", - "tags": [], - "targetBlank": true, - "title": "Grafana Docs", - "tooltip": "", - "type": "link", - "url": "https://grafana.com/docs/grafana/latest/" - }, - { - "icon": "info", - "tags": [], - "targetBlank": true, - "title": "Prometheus Docs", - "type": "link", - "url": "http://prometheus.io/docs/introduction/overview/" - } - ], - "liveNow": false, - "panels": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "prometheus" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#C15C17", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "{instance=\"localhost:9090\",job=\"prometheus\"}" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#CCA300", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 0, - "y": 0 - }, - "id": 3, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "sum(irate(prometheus_tsdb_head_samples_appended_total{job=\"prometheus\"}[5m]))", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "samples", - "metric": "", - "refId": "A", - "step": 20 - } - ], - "title": "Samples Appended", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 6, - "y": 0 - }, - "id": 14, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "topk(5, max(scrape_duration_seconds) by (job))", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{job}}", - "metric": "", - "refId": "A", - "step": 20 - } - ], - "title": "Scrape Duration", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 12, - "y": 0 - }, - "id": 16, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "sum(process_resident_memory_bytes{job=\"prometheus\"})", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "p8s process resident memory", - "refId": "D", - "step": 20 - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "process_virtual_memory_bytes{job=\"prometheus\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 2, - "legendFormat": "virtual memory", - "refId": "C", - "step": 20 - } - ], - "title": "Memory Profile", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "text": "None" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "rgba(50, 172, 45, 0.97)", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 0.1 - }, - { - "color": "rgba(245, 54, 54, 0.9)", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 18, - "y": 0 - }, - "id": 37, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "max" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "prometheus_tsdb_wal_corruptions_total{job=\"prometheus\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "", - "refId": "A", - "step": 60 - } - ], - "title": "WAL Corruptions", - "type": "stat" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 0, - "y": 6 - }, - "id": 29, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "sum(prometheus_tsdb_head_active_appenders{job=\"prometheus\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "active_appenders", - "metric": "", - "refId": "A", - "step": 20 - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "sum(process_open_fds{job=\"prometheus\"})", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "open_fds", - "refId": "B", - "step": 20 - } - ], - "title": "Active Appenders", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "prometheus" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#F9BA8F", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#F9BA8F", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 6, - "y": 6 - }, - "id": 2, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "prometheus_tsdb_blocks_loaded{job=\"prometheus\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "blocks", - "refId": "A", - "step": 20 - } - ], - "title": "Blocks Loaded", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 12, - "y": 6 - }, - "id": 33, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "prometheus_tsdb_head_chunks{job=\"prometheus\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "chunks", - "refId": "A", - "step": 20 - } - ], - "title": "Head Chunks", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "duration-p99" - }, - "properties": [ - { - "id": "unit", - "value": "s" - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 18, - "y": 6 - }, - "id": 36, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "prometheus_tsdb_head_gc_duration_seconds{job=\"prometheus\",quantile=\"0.99\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "duration-p99", - "refId": "A", - "step": 20 - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "irate(prometheus_tsdb_head_gc_duration_seconds_count{job=\"prometheus\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "collections", - "refId": "B", - "step": 20 - } - ], - "title": "Head Block GC Activity", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "duration-p99" - }, - "properties": [ - { - "id": "unit", - "value": "s" - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 12 - }, - "id": 20, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "histogram_quantile(0.99, sum(rate(prometheus_tsdb_compaction_duration_bucket{job=\"prometheus\"}[5m])) by (le))", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "duration-{{p99}}", - "refId": "A", - "step": 20 - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "irate(prometheus_tsdb_compactions_total{job=\"prometheus\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "compactions", - "refId": "B", - "step": 20 - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "irate(prometheus_tsdb_compactions_failed_total{job=\"prometheus\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "failed", - "refId": "C", - "step": 20 - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "irate(prometheus_tsdb_compactions_triggered_total{job=\"prometheus\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "triggered", - "refId": "D", - "step": 20 - } - ], - "title": "Compaction Activity", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 8, - "y": 12 - }, - "id": 32, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "rate(prometheus_tsdb_reloads_total{job=\"prometheus\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "reloads", - "refId": "A", - "step": 20 - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "rate(prometheus_tsdb_reloads_failures_total{job=\"prometheus\"}[5m])", - "format": "time_series", - "hide": false, - "intervalFactor": 2, - "legendFormat": "failures", - "refId": "B", - "step": 20 - } - ], - "title": "Reload Count", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 12 - }, - "id": 38, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "prometheus_engine_query_duration_seconds{job=\"prometheus\", quantile=\"0.99\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{slice}}_p99", - "refId": "A", - "step": 20 - } - ], - "title": "Query Durations", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 35, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "max(prometheus_rule_group_duration_seconds{job=\"prometheus\"}) by (quantile)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{quantile}}", - "refId": "A", - "step": 10 - } - ], - "title": "Rule Group Eval Duration", - "type": "timeseries" - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 39, - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.1.0-pre", - "targets": [ - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "rate(prometheus_rule_group_iterations_missed_total{job=\"prometheus\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "missed", - "refId": "B", - "step": 10 - }, - { - "datasource": { - "uid": "BareMetal-Prometheus" - }, - "expr": "rate(prometheus_rule_group_iterations_total{job=\"prometheus\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "iterations", - "refId": "A", - "step": 10 - } - ], - "title": "Rule Group Eval Activity", - "type": "timeseries" - } - ], - "refresh": "1m", - "revision": "1.0", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "prometheus" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": { - "now": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "browser", - "title": "Prometheus 2.0 Stats", - "uid": "UDdpyzz7z", - "version": 3, - "weekStart": "" -} \ No newline at end of file diff --git a/Platform/BUILD.bazel b/Platform/BUILD.bazel deleted file mode 100644 index 7c8c3cf..0000000 --- a/Platform/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Platform/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Platform/Delegate_admin_Dashboard.json b/Platform/Delegate_admin_Dashboard.json deleted file mode 100644 index c1788d3..0000000 --- a/Platform/Delegate_admin_Dashboard.json +++ /dev/null @@ -1,1244 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 94, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "fixed" - }, - "custom": { - "align": "center", - "displayMode": "auto", - "filterable": true, - "inspect": true - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "ringName" - }, - "properties": [ - { - "id": "custom.width", - "value": 191 - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 11, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "editorMode": "code", - "expr": "heartbeat_received{cluster=\"$cluster\", environment=\"$env\", accountId=~\"$account_id\"}", - "format": "table", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Ring information", - "transformations": [ - { - "id": "groupBy", - "options": { - "fields": { - "Value": { - "aggregations": [] - }, - "accountId": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "accountName": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "cluster": { - "aggregations": [ - "last" - ] - }, - "companyName": { - "aggregations": [ - "last" - ] - }, - "delegateImageTag": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "delegateJREVersion": { - "aggregations": [ - "last" - ] - }, - "delegateVersion": { - "aggregations": [ - "last" - ] - }, - "ringName": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "upgraderImageTag": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "watcherJREVersion": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "watcherVersion": { - "aggregations": [ - "last" - ] - } - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Value": true - }, - "indexByName": { - "accountId": 0, - "accountName (last)": 1, - "ringName": 2 - }, - "renameByName": { - "accountName (last)": "accountName", - "cluster (last)": "cluster", - "companyName (last)": "companyName", - "delegateImageTag (last)": "", - "ringName (last)": "ring" - } - } - } - ], - "type": "table" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "center", - "displayMode": "auto", - "filterable": true, - "inspect": true - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "watcherVersion (last)" - }, - "properties": [ - { - "id": "custom.width", - "value": 166 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "delegateId (last)" - }, - "properties": [ - { - "id": "custom.width", - "value": 230 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "accountId" - }, - "properties": [ - { - "id": "custom.width", - "value": 217 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "delegateId" - }, - "properties": [ - { - "id": "custom.width", - "value": 231 - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 9, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "editorMode": "builder", - "expr": "heartbeat_received{delegateConnectionStatus=\"CONNECTED\", environment=\"$env\", accountId=~\"$account_id\"}", - "format": "table", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Active Delegates List", - "transformations": [ - { - "id": "convertFieldType", - "options": { - "conversions": [ - { - "destinationType": "time", - "targetField": "Value" - } - ], - "fields": {} - } - }, - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "accountId", - "accountName", - "cluster", - "companyName", - "delegateEventType", - "delegateId", - "delegateImageTag", - "delegateJREVersion", - "delegateName", - "delegateVersion", - "environment", - "instance", - "isImmutable", - "isNg", - "job", - "location", - "namespace", - "pod", - "project_id", - "ringName", - "upgraderImageTag", - "watcherJREVersion", - "watcherVersion", - "orgId", - "projectId", - "Value" - ] - } - } - }, - { - "id": "groupBy", - "options": { - "fields": { - "Time": { - "aggregations": [], - "operation": "groupby" - }, - "Value": { - "aggregations": [ - "max" - ], - "operation": "aggregate" - }, - "__name__": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "accountId": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "accountName": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "cluster": { - "aggregations": [ - "last" - ] - }, - "companyName": { - "aggregations": [ - "last" - ] - }, - "delegateConnectionStatus": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "delegateEventType": { - "aggregations": [ - "last" - ] - }, - "delegateId": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "delegateImageTag": { - "aggregations": [ - "last" - ] - }, - "delegateJREVersion": { - "aggregations": [ - "last" - ] - }, - "delegateName": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "delegateVersion": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "environment": { - "aggregations": [ - "last" - ] - }, - "instance": { - "aggregations": [ - "last" - ] - }, - "isImmutable": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "isNg": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "job": { - "aggregations": [ - "last" - ] - }, - "location": { - "aggregations": [ - "last" - ] - }, - "namespace": { - "aggregations": [ - "last" - ] - }, - "orgId": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "pod": { - "aggregations": [ - "last" - ] - }, - "projectId": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "project_id": { - "aggregations": [ - "last" - ] - }, - "ringName": { - "aggregations": [ - "last" - ] - }, - "time": { - "aggregations": [ - "last" - ] - }, - "upgraderImageTag": { - "aggregations": [ - "last" - ] - }, - "watcherJREVersion": { - "aggregations": [ - "last" - ] - }, - "watcherVersion": { - "aggregations": [ - "last" - ] - } - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "orgId (last)": false, - "projectId (last)": false, - "time (last)": true - }, - "indexByName": { - "Value (last)": 3, - "accountId (last)": 1, - "accountName (last)": 0, - "delegateId": 2, - "delegateName (last)": 4, - "delegateVersion (last)": 5, - "isImmutable (last)": 6, - "isNg (last)": 7, - "orgId (last)": 9, - "projectId (last)": 10, - "ringName (last)": 8 - }, - "renameByName": { - "Value": "Heart_Beat", - "Value (last)": "Last HeartBeat (PST)", - "Value (max)": "lastHeartbeatTime", - "accountId (last)": "accountId", - "accountName (last)": "accountName", - "cluster (last)": "cluster", - "companyName (last)": "companyName", - "delegateConnectionStatus": "", - "delegateConnectionStatus (last)": "delegate_connection_status", - "delegateEventType (last)": "delegate_event_type", - "delegateId (last)": "delegateId", - "delegateImageTag (last)": "delegate_Image_Tag", - "delegateJREVersion (last)": "delegate_JRE_Version", - "delegateName (last)": "delegateName", - "delegateVersion (last)": "delegateVersion", - "environment (last)": "environment", - "instance (last)": "instance", - "isImmutable (last)": "isImmutable", - "isNg (last)": "isNg", - "job (last)": "Job", - "location (last)": "location", - "namespace (last)": "namespace", - "orgId (last)": "orgId", - "pod (last)": "pod", - "projectId (last)": "projectId", - "project_id (last)": "project_id", - "ringName (last)": "ring_name", - "time (last)": "time", - "upgraderImageTag (last)": "upgrader_Image_Tag", - "watcherJREVersion (last)": "watcher_JRE_Version", - "watcherVersion (last)": "watcher_Version" - } - } - }, - { - "id": "convertFieldType", - "options": { - "conversions": [ - { - "destinationType": "time", - "targetField": "Value (max)" - } - ], - "fields": {} - } - } - ], - "type": "table" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "center", - "displayMode": "auto", - "filterable": true, - "inspect": true - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "ringName" - }, - "properties": [ - { - "id": "custom.width", - "value": 191 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Time (last)" - }, - "properties": [ - { - "id": "custom.width", - "value": 181 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "time" - }, - "properties": [ - { - "id": "custom.width", - "value": 199 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "delegateImageTag (last)" - }, - "properties": [ - { - "id": "custom.width", - "value": 277 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "accountId" - }, - "properties": [ - { - "id": "custom.width", - "value": 228 - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 16 - }, - "id": 10, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [ - { - "desc": true, - "displayName": "time" - } - ] - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "heartbeat_received{accountId=~\"$account_id\", environment=\"$env\", cluster=\"$cluster\"}", - "format": "table", - "hide": false, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Delegate Event", - "transformations": [ - { - "id": "convertFieldType", - "options": { - "conversions": [ - { - "destinationType": "time", - "targetField": "Value" - } - ], - "fields": {} - } - }, - { - "id": "groupBy", - "options": { - "fields": { - "Time": { - "aggregations": [ - "last" - ] - }, - "Value": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "accountId": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "delegateConnectionStatus": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "delegateEventType": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "delegateId": { - "aggregations": [], - "operation": "groupby" - }, - "delegateImageTag": { - "aggregations": [ - "last" - ] - }, - "delegateJREVersion": { - "aggregations": [ - "last" - ] - }, - "delegateName": { - "aggregations": [ - "last" - ] - }, - "delegateVersion": { - "aggregations": [ - "last" - ] - }, - "isImmutable": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "isNg": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "time": { - "aggregations": [], - "operation": "groupby" - } - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": false, - "Value": false, - "__name__": true, - "accountId (last)": false, - "accountName": true, - "cluster": true, - "companyName": true, - "delegateConnectionStatus (last)": false, - "delegateEventType (last)": false, - "delegateId": false, - "delegateImageTag": true, - "delegateJREVersion": true, - "delegateName": true, - "delegateVersion": true, - "environment": true, - "instance": true, - "isImmutable (last)": false, - "isNg (last)": false, - "job": true, - "location": true, - "namespace": true, - "orgId": true, - "pod": true, - "projectId": true, - "project_id": true, - "ringName": true, - "upgraderImageTag": true, - "watcherJREVersion": true, - "watcherVersion": true - }, - "indexByName": { - "Value": 6, - "accountId (last)": 0, - "delegateConnectionStatus (last)": 3, - "delegateEventType (last)": 2, - "delegateId": 1, - "isImmutable (last)": 4, - "isNg (last)": 5 - }, - "renameByName": { - "Value": "time", - "Value (last)": "time", - "accountId (last)": "accountId", - "accountName (last)": "accountName", - "cluster (last)": "cluster", - "companyName (last)": "companyName", - "ringName (last)": "ring" - } - } - }, - { - "id": "sortBy", - "options": { - "fields": {}, - "sort": [ - { - "desc": true, - "field": "time" - } - ] - } - } - ], - "type": "table" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "center", - "displayMode": "auto", - "filterable": true, - "inspect": true - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "ringName" - }, - "properties": [ - { - "id": "custom.width", - "value": 191 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "accountId (last)" - }, - "properties": [ - { - "id": "custom.width", - "value": 340 - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 23 - }, - "id": 6, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [ - { - "desc": true, - "displayName": "time" - } - ] - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "editorMode": "builder", - "expr": "heartbeat_received{accountId=~\"$account_id\", environment=\"$env\", cluster=\"$cluster\"}", - "format": "table", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Delegate Upgrade History", - "transformations": [ - { - "id": "groupBy", - "options": { - "fields": { - "Value": { - "aggregations": [ - "first" - ], - "operation": "aggregate" - }, - "accountId": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "accountName": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "cluster": { - "aggregations": [ - "last" - ] - }, - "companyName": { - "aggregations": [ - "last" - ] - }, - "delegateId": { - "aggregations": [ - "last" - ] - }, - "delegateName": { - "aggregations": [], - "operation": "groupby" - }, - "delegateVersion": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "ringName": { - "aggregations": [ - "last" - ] - }, - "upgraderImageTag": { - "aggregations": [ - "last" - ] - }, - "watcherJREVersion": { - "aggregations": [ - "last" - ] - }, - "watcherVersion": { - "aggregations": [ - "last" - ] - } - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Value": true - }, - "indexByName": { - "Value (first)": 2, - "accountId (last)": 3, - "accountName (last)": 4, - "delegateId (last)": 5, - "delegateName": 0, - "delegateVersion": 1 - }, - "renameByName": { - "Value (first)": "time", - "accountName (last)": "accountName", - "cluster (last)": "cluster", - "companyName (last)": "companyName", - "ringName (last)": "ring" - } - } - }, - { - "id": "convertFieldType", - "options": { - "conversions": [ - { - "destinationType": "time", - "targetField": "time" - } - ], - "fields": {} - } - } - ], - "type": "table" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "QASetup-ManagedPrometheus", - "value": "QASetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "data_source", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/ManagedPrometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "qa", - "value": "qa" - }, - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "definition": "label_values({__name__=\"heartbeat_received\"}, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values({__name__=\"heartbeat_received\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "qa-private", - "value": "qa-private" - }, - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "definition": "label_values({__name__=\"heartbeat_received\"}, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values({__name__=\"heartbeat_received\"}, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "BdsgiWzwT7CQFeJl9XkQ3A" - ], - "value": [ - "BdsgiWzwT7CQFeJl9XkQ3A" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "definition": "label_values({__name__=\"heartbeat_received\"}, accountId)", - "hide": 0, - "includeAll": false, - "label": "AcccountID", - "multi": true, - "name": "account_id", - "options": [], - "query": { - "query": "label_values({__name__=\"heartbeat_received\"}, accountId)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${data_source}" - }, - "filters": [], - "hide": 0, - "name": "Filters", - "skipUrlSync": false, - "type": "adhoc" - } - ] - }, - "time": { - "from": "now-5m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Delegate Admin Board", - "uid": "8Lj9eFZIk", - "version": 83, - "weekStart": "" -} diff --git a/Platform/Delegate_ring.json b/Platform/Delegate_ring.json deleted file mode 100644 index f21aef1..0000000 --- a/Platform/Delegate_ring.json +++ /dev/null @@ -1,489 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Delegate Ring & Account information", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 114, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "align": "center", - "displayMode": "auto", - "filterable": true, - "inspect": true - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 4, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "heartbeat_received{cluster=\"$cluster\", environment=\"$env\", accountId=~\"$account_id\"}", - "format": "table", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Ring information", - "transformations": [ - { - "id": "groupBy", - "options": { - "fields": { - "Value": { - "aggregations": [] - }, - "accountId": { - "aggregations": [ - "last" - ] - }, - "accountName": { - "aggregations": [ - "last" - ] - }, - "cluster": { - "aggregations": [ - "last" - ] - }, - "companyName": { - "aggregations": [ - "last" - ] - }, - "delegateImageTag": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "delegateJREVersion": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "delegateVersion": { - "aggregations": [ - "last" - ] - }, - "ringName": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "upgraderImageTag": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "watcherJREVersion": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "watcherVersion": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - } - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Value": true - }, - "indexByName": { - "delegateImageTag (last)": 1, - "delegateJREVersion (last)": 5, - "delegateVersion (last)": 6, - "ringName": 0, - "upgraderImageTag (last)": 3, - "watcherJREVersion (last)": 4, - "watcherVersion (last)": 2 - }, - "renameByName": { - "delegateImageTag (last)": "Immutable Image", - "upgraderImageTag (last)": "upgrader image" - } - } - } - ], - "type": "table" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "fixed" - }, - "custom": { - "align": "center", - "displayMode": "auto", - "filterable": true, - "inspect": true - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "ringName" - }, - "properties": [ - { - "id": "custom.width", - "value": 191 - } - ] - } - ] - }, - "gridPos": { - "h": 20, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 5, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "heartbeat_received{cluster=\"$cluster\", environment=\"$env\", accountId=~\"$account_id\"}", - "format": "table", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Ring-Account Information", - "transformations": [ - { - "id": "groupBy", - "options": { - "fields": { - "Value": { - "aggregations": [] - }, - "accountId": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "accountName": { - "aggregations": [ - "last" - ], - "operation": "aggregate" - }, - "cluster": { - "aggregations": [ - "last" - ] - }, - "companyName": { - "aggregations": [ - "last" - ] - }, - "delegateVersion": { - "aggregations": [ - "last" - ] - }, - "ringName": { - "aggregations": [ - "last" - ], - "operation": "groupby" - }, - "upgraderImageTag": { - "aggregations": [ - "last" - ] - }, - "watcherJREVersion": { - "aggregations": [ - "last" - ] - }, - "watcherVersion": { - "aggregations": [ - "last" - ] - } - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Value": true - }, - "indexByName": { - "accountId": 0, - "accountName (last)": 1, - "ringName": 2 - }, - "renameByName": { - "accountName (last)": "accountName", - "cluster (last)": "cluster", - "companyName (last)": "companyName", - "ringName (last)": "ring" - } - } - } - ], - "type": "table" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "QASetup-ManagedPrometheus", - "value": "QASetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/ManagedPrometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "filters": [], - "hide": 0, - "name": "Filters", - "skipUrlSync": false, - "type": "adhoc" - }, - { - "current": { - "selected": false, - "text": "qa", - "value": "qa" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"heartbeat_received\"}, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values({__name__=\"heartbeat_received\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "qa-private", - "value": "qa-private" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"heartbeat_received\"}, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values({__name__=\"heartbeat_received\"}, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "wFHXHD0RRQWoO8tIZT5YVw" - ], - "value": [ - "wFHXHD0RRQWoO8tIZT5YVw" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"heartbeat_received\"}, accountId)", - "hide": 0, - "includeAll": false, - "label": "AcccountID", - "multi": true, - "name": "account_id", - "options": [], - "query": { - "query": "label_values({__name__=\"heartbeat_received\"}, accountId)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-30m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Delegate Ring", - "uid": "d2jkS2MIz", - "version": 11, - "weekStart": "" -} diff --git a/SCM/BUILD.bazel b/SCM/BUILD.bazel deleted file mode 100644 index 7f1ede2..0000000 --- a/SCM/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/SCM/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/SCM/Code_QA.json b/SCM/Code_QA.json deleted file mode 100644 index dbc0ca8..0000000 --- a/SCM/Code_QA.json +++ /dev/null @@ -1,472 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 33, - "links": [], - "liveNow": false, - "panels": [ - { - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 4, - "panels": [], - "repeat": "service", - "repeatDirection": "h", - "title": "$service", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.lineStyle" - }, - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 8, - "interval": "30s", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum(rate(kubernetes_io:container_cpu_core_usage_time{container_name=\"$service\", namespace_name=\"harness-qa\", cluster_name=\"qa-private\"}[1m]))", - "legendFormat": "Used", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_cpu_request_cores{container_name=\"$service\", namespace_name=\"harness-qa\", cluster_name=\"qa-private\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - } - ], - "title": "CPU usage and requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "B" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "C" - }, - "properties": [ - { - "id": "custom.lineStyle", - "value": { - "dash": [ - 10, - 10 - ], - "fill": "dash" - } - }, - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "A" - }, - "properties": [ - { - "id": "custom.lineStyle" - }, - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 2, - "interval": "30s", - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum(rate(kubernetes_io:container_memory_used_bytes{container_name=\"$service\", namespace_name=\"harness-qa\", cluster_name=\"qa-private\"}[$__interval]))", - "legendFormat": "Used", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_request_bytes{container_name=\"$service\", namespace_name=\"harness-qa\", cluster_name=\"qa-private\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_limit_bytes{container_name=\"$service\", namespace_name=\"harness-qa\", cluster_name=\"qa-private\"})", - "hide": false, - "legendFormat": "Limit", - "range": true, - "refId": "C" - } - ], - "title": "Memory usage, requests and limits", - "type": "timeseries" - } - ], - "refresh": "30s", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": [ - "gitrpc", - "gitness" - ], - "value": [ - "gitrpc", - "gitness" - ] - }, - "hide": 1, - "includeAll": true, - "label": "Service Name", - "multi": true, - "name": "service", - "options": [ - { - "selected": false, - "text": "All", - "value": "$__all" - }, - { - "selected": true, - "text": "gitness", - "value": "gitness" - }, - { - "selected": true, - "text": "gitrpc", - "value": "gitrpc" - } - ], - "query": "gitness,gitrpc", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": false, - "text": "harness-qa", - "value": "qa" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "namespace", - "options": [ - { - "selected": true, - "text": "harness-qa", - "value": "qa" - } - ], - "query": "harness-qa : qa", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Code QA", - "uid": "HCByoHU4k", - "version": 10, - "weekStart": "" -} \ No newline at end of file diff --git a/SMP_Database/MongoDB_Overview.json b/SMP_Database/MongoDB_Overview.json deleted file mode 100644 index f4090fc..0000000 --- a/SMP_Database/MongoDB_Overview.json +++ /dev/null @@ -1,1531 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "4.4.3" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "singlestat", - "name": "Singlestat", - "version": "" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": false, - "iconColor": "#e0752d", - "limit": 100, - "name": "PMM Annotations", - "showIn": 0, - "tags": [ - "pmm_annotation" - ], - "type": "tags" - } - ] - }, - "description": "Dashboard from Percona Monitoring and Management project. https://github.com/percona/grafana-dashboards", - "editable": true, - "fiscalYearStartMonth": 0, - "gnetId": 7353, - "graphTooltip": 1, - "id": 29, - "links": [ - { - "icon": "dashboard", - "includeVars": true, - "keepTime": true, - "tags": [ - "QAN" - ], - "targetBlank": false, - "title": "Query Analytics", - "type": "link", - "url": "/graph/dashboard/db/_pmm-query-analytics" - }, - { - "asDropdown": true, - "includeVars": true, - "keepTime": true, - "tags": [ - "OS" - ], - "targetBlank": false, - "title": "OS", - "type": "dashboards" - }, - { - "asDropdown": true, - "includeVars": true, - "keepTime": true, - "tags": [ - "MySQL" - ], - "targetBlank": false, - "title": "MySQL", - "type": "dashboards" - }, - { - "asDropdown": true, - "includeVars": true, - "keepTime": true, - "tags": [ - "MongoDB" - ], - "targetBlank": false, - "title": "MongoDB", - "type": "dashboards" - }, - { - "asDropdown": true, - "includeVars": true, - "keepTime": true, - "tags": [ - "HA" - ], - "targetBlank": false, - "title": "HA", - "type": "dashboards" - }, - { - "asDropdown": true, - "includeVars": true, - "keepTime": true, - "tags": [ - "Cloud" - ], - "targetBlank": false, - "title": "Cloud", - "type": "dashboards" - }, - { - "asDropdown": true, - "includeVars": true, - "keepTime": true, - "tags": [ - "Insight" - ], - "targetBlank": false, - "title": "Insight", - "type": "dashboards" - }, - { - "asDropdown": true, - "includeVars": true, - "keepTime": true, - "tags": [ - "PMM" - ], - "targetBlank": false, - "title": "PMM", - "type": "dashboards" - } - ], - "liveNow": false, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "description": "Shows how many times a command is executed per second on average during the selected interval.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 0 - }, - "hiddenSeries": false, - "id": 15, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideZero": true, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_op_counters_total{instance=\"$host\", type!=\"command\"}[$interval]) or \nirate(mongodb_mongod_op_counters_total{instance=\"$host\", type!=\"command\"}[5m]) or \nrate(mongodb_mongos_op_counters_total{instance=\"$host\", type!=\"command\"}[$interval]) or \nirate(mongodb_mongos_op_counters_total{instance=\"$host\", type!=\"command\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{type}}", - "refId": "J", - "step": 300 - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type!~\"(command|query|getmore)\"}[$interval]) or \nirate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type!~\"(command|query|getmore)\"}[5m]) or\nrate(mongodb_mongos_op_counters_repl_total{instance=\"$host\", type!~\"(command|query|getmore)\"}[$interval]) or \nirate(mongodb_mongos_op_counters_repl_total{instance=\"$host\", type!~\"(command|query|getmore)\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "repl_{{type}}", - "refId": "A", - "step": 300 - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_metrics_ttl_deleted_documents_total{instance=\"$host\"}[$interval]) or \nirate(mongodb_mongod_metrics_ttl_deleted_documents_total{instance=\"$host\"}[5m]) or\nrate(mongodb_mongos_metrics_ttl_deleted_documents_total{instance=\"$host\"}[$interval]) or \nirate(mongodb_mongos_metrics_ttl_deleted_documents_total{instance=\"$host\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "ttl_delete", - "refId": "B", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Command Operations", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "ops", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "description": "Keep in mind the hard limit on the maximum number of connections set by your distribution.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 7 - }, - "height": "250px", - "hiddenSeries": false, - "id": 38, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "editorMode": "code", - "expr": "mongodb_connections{instance=\"$host\", state=\"current\"} or\nmongodb_ss_connections{instance=\"$host\", state=\"current\"}", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Connections", - "range": true, - "refId": "J", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Connections", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "short", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "description": "Helps identify why connections are increasing. Shows active cursors compared to cursors being automatically killed after 10 minutes due to an application not closing the connection.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 7 - }, - "height": "250px", - "hiddenSeries": false, - "id": 25, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideZero": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "mongodb_mongod_metrics_cursor_open{instance=\"$host\"} or\nmongodb_mongod_cursors{instance=\"$host\"} or\nmongodb_mongos_metrics_cursor_open{instance=\"$host\"} or \nmongodb_mongos_cursors{instance=\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{state}}", - "refId": "J", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Cursors", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "short", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "description": "When used in combination with 'Command Operations', this graph can help identify write amplification. For example, when one insert or update command actually inserts or updates hundreds, thousands, or even millions of documents.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 14 - }, - "height": "250px", - "hiddenSeries": false, - "id": 36, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideZero": true, - "max": true, - "min": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_metrics_document_total{instance=\"$host\"}[$interval]) or \nirate(mongodb_mongod_metrics_document_total{instance=\"$host\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{state}}", - "refId": "J", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Document Operations", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "ops", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "description": "Any number of queued operations for long periods of time is an indication of possible issues. Find the cause and fix it before requests get stuck in the queue.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 14 - }, - "height": "250px", - "hiddenSeries": false, - "id": 40, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideZero": false, - "max": true, - "min": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "mongodb_mongod_global_lock_current_queue{instance=\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{type}}", - "refId": "J", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Queued Operations", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "ops", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 2, - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 21 - }, - "height": "250px", - "hiddenSeries": false, - "id": 63, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": true, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(increase(mongodb_mongod_metrics_query_executor_total{instance=\"$host\", state=\"scanned_objects\"}[5m]))/sum(increase(mongodb_mongod_metrics_document_total{instance=\"$host\", state=\"returned\"}[5m]))", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Document", - "refId": "J", - "step": 300 - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(increase(mongodb_mongod_metrics_query_executor_total{instance=\"$host\", state=\"scanned\"}[5m]))/sum(increase(mongodb_mongod_metrics_document_total{instance=\"$host\", state=\"returned\"}[5m]))", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Index", - "refId": "A", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Query Efficiency", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "percentunit", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "none", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 21 - }, - "hiddenSeries": false, - "id": 64, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideZero": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_metrics_query_executor_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_query_executor_total{instance=\"$host\"}[5m])", - "format": "time_series", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{state}}", - "metric": "", - "refId": "A", - "step": 300 - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_metrics_record_moves_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_record_moves_total{instance=\"$host\"}[5m])", - "format": "time_series", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "moved", - "refId": "B", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Scanned and Moved Objects", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ops", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "description": "This is useful for write-heavy workloads to understand how long it takes to verify writes and how many concurrent writes are occurring.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 28 - }, - "hiddenSeries": false, - "id": 41, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds{instance=\"$host\"}[$interval]) or \nirate(mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds{instance=\"$host\"}[5m]) or\nrate(mongodb_mongos_metrics_get_last_error_wtime_total_milliseconds{instance=\"$host\"}[$interval]) or \nirate(mongodb_mongos_metrics_get_last_error_wtime_total_milliseconds{instance=\"$host\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Write Wait Time", - "refId": "J", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "getLastError Write Time", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "ms", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "description": "This is useful for write-heavy workloads to understand how long it takes to verify writes and how many concurrent writes are occurring.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 28 - }, - "height": "250px", - "hiddenSeries": false, - "id": 62, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideZero": true, - "max": true, - "min": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_metrics_get_last_error_wtime_num_total{instance=\"$host\"}[$interval]) or \nirate(mongodb_mongod_metrics_get_last_error_wtime_num_total{instance=\"$host\"}[5m]) or\nrate(mongodb_mongos_metrics_get_last_error_wtime_num_total{instance=\"$host\"}[$interval]) or \nirate(mongodb_mongos_metrics_get_last_error_wtime_num_total{instance=\"$host\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Total", - "refId": "J", - "step": 300 - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "rate(mongodb_mongod_metrics_get_last_error_wtimeouts_total{instance=\"$host\"}[$interval]) or\nirate(mongodb_mongod_metrics_get_last_error_wtimeouts_total{instance=\"$host\"}[5m]) or\nrate(mongodb_mongos_metrics_get_last_error_wtimeouts_total{instance=\"$host\"}[$interval]) or\nirate(mongodb_mongos_metrics_get_last_error_wtimeouts_total{instance=\"$host\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Timeouts", - "refId": "A", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "getLastError Write Operations", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "ops", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "description": "Asserts are not important by themselves, but you can correlate spikes with other graphs.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 35 - }, - "height": "250px", - "hiddenSeries": false, - "id": 37, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideZero": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "editorMode": "code", - "expr": "rate(mongodb_asserts_total{instance=\"$host\"}[$interval]) or \nirate(mongodb_asserts_total{instance=\"$host\"}[5m]) or\nrate(mongodb_asserts_total{instance=\"$host\"}[$interval]) or \nirate(mongodb_asserts_total{instance=\"$host\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{type}}", - "range": true, - "refId": "J", - "step": 300 - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "", - "hide": false, - "instant": false, - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Assert Events", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "short", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "description": "Page faults indicate that requests are processed from disk either because an index is missing or there is not enough memory for the data set. Consider increasing memory or sharding out.", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": { - "leftLogBase": 1, - "leftMin": 0, - "rightLogBase": 1 - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 35 - }, - "height": "250px", - "hiddenSeries": false, - "id": 39, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "editorMode": "code", - "expr": "rate(mongodb_extra_info_page_faults_total{instance=\"$host\"}[$interval]) or\nirate(mongodb_extra_info_page_faults_total{instance=\"$host\"}[5m]) or\nrate(mongodb_extra_info_page_faults_total{instance=\"$host\"}[$interval]) or \nirate(mongodb_extra_info_page_faults_total{instance=\"$host\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Faults", - "range": true, - "refId": "J", - "step": 300 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Page Faults", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "y-axis": true, - "y_formats": [ - "short", - "short" - ], - "yaxes": [ - { - "format": "short", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "refresh": "1m", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "MongoDB", - "Percona" - ], - "templating": { - "list": [ - { - "allFormat": "glob", - "auto": true, - "auto_count": 200, - "auto_min": "1s", - "current": { - "selected": false, - "text": "auto", - "value": "$__auto_interval_interval" - }, - "datasource": "${DS_PROMETHEUS}", - "hide": 0, - "includeAll": false, - "label": "Interval", - "multi": false, - "multiFormat": "glob", - "name": "interval", - "options": [ - { - "selected": true, - "text": "auto", - "value": "$__auto_interval_interval" - }, - { - "selected": false, - "text": "1s", - "value": "1s" - }, - { - "selected": false, - "text": "5s", - "value": "5s" - }, - { - "selected": false, - "text": "1m", - "value": "1m" - }, - { - "selected": false, - "text": "5m", - "value": "5m" - }, - { - "selected": false, - "text": "1h", - "value": "1h" - }, - { - "selected": false, - "text": "6h", - "value": "6h" - }, - { - "selected": false, - "text": "1d", - "value": "1d" - } - ], - "query": "1s,5s,1m,5m,1h,6h,1d", - "refresh": 2, - "skipUrlSync": false, - "type": "interval" - }, - { - "allFormat": "blob", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": "${DS_PROMETHEUS}", - "definition": "", - "hide": 0, - "includeAll": true, - "label": "Cluster", - "multi": false, - "multiFormat": "glob", - "name": "cluster", - "options": [], - "query": "label_values(cluster)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "type": "query", - "useTags": false - }, - { - "allFormat": "glob", - "current": { - "selected": true, - "text": "30d", - "value": "30d" - }, - "datasource": "${DS_PROMETHEUS}", - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Instance", - "multi": false, - "multiFormat": "glob", - "name": "host", - "options": [], - "query": "label_values({__name__=~\"mongodb_mongod_connections{cluster=~\\\"$cluster\\\"}|mongodb_up\"}, instance)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": { - "hidden": false, - "now": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "browser", - "title": "MongoDB Overview", - "uid": "6Lk9wMHik", - "version": 2, - "weekStart": "" - } \ No newline at end of file diff --git a/SMP_Database/Postgres_Overview.json b/SMP_Database/Postgres_Overview.json deleted file mode 100644 index e8b2d67..0000000 --- a/SMP_Database/Postgres_Overview.json +++ /dev/null @@ -1,1411 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "Performance metrics for Postgres", - "editable": true, - "fiscalYearStartMonth": 0, - "gnetId": 455, - "graphTooltip": 0, - "id": 37, - "links": [], - "liveNow": false, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 20, - "x": 0, - "y": 0 - }, - "hiddenSeries": false, - "id": 1, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "fetched", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "expr": "sum(irate(pg_stat_database_tup_fetched{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "fetched", - "measurement": "postgresql", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "tup_fetched" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "10s" - ], - "type": "non_negative_derivative" - } - ] - ], - "step": 120, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "fetched", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "expr": "sum(irate(pg_stat_database_tup_returned{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "returned", - "measurement": "postgresql", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "tup_fetched" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "10s" - ], - "type": "non_negative_derivative" - } - ] - ], - "step": 120, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "fetched", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "expr": "sum(irate(pg_stat_database_tup_inserted{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "inserted", - "measurement": "postgresql", - "policy": "default", - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "tup_fetched" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "10s" - ], - "type": "non_negative_derivative" - } - ] - ], - "step": 120, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "fetched", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "expr": "sum(irate(pg_stat_database_tup_updated{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "updated", - "measurement": "postgresql", - "policy": "default", - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "tup_fetched" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "10s" - ], - "type": "non_negative_derivative" - } - ] - ], - "step": 120, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "fetched", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "expr": "sum(irate(pg_stat_database_tup_deleted{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "deleted", - "measurement": "postgresql", - "policy": "default", - "refId": "E", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "tup_fetched" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "10s" - ], - "type": "non_negative_derivative" - } - ] - ], - "step": 120, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Rows", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "uid": "$datasource" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 20, - "y": 0 - }, - "id": 11, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.1.4", - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "expr": "sum(irate(pg_stat_database_xact_commit{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])) + sum(irate(pg_stat_database_xact_rollback{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "measurement": "postgresql", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "xact_commit" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "10s" - ], - "type": "non_negative_derivative" - } - ] - ], - "step": 1800, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - } - ], - "title": "QPS", - "transparent": true, - "type": "stat" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "decimals": 1, - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 7 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideZero": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "Buffers Allocated", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "editorMode": "code", - "expr": "irate(pg_stat_bgwriter_buffers_alloc_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "buffers_alloc", - "measurement": "postgresql", - "policy": "default", - "range": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "buffers_alloc" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [], - "type": "difference" - } - ] - ], - "step": 240, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "Buffers Allocated", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "editorMode": "code", - "expr": "irate(pg_stat_bgwriter_buffers_backend_fsync_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "buffers_backend_fsync", - "measurement": "postgresql", - "policy": "default", - "range": true, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "buffers_alloc" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [], - "type": "difference" - } - ] - ], - "step": 240, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "Buffers Allocated", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "editorMode": "code", - "expr": "irate(pg_stat_bgwriter_buffers_backend_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "buffers_backend", - "measurement": "postgresql", - "policy": "default", - "range": true, - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "buffers_alloc" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [], - "type": "difference" - } - ] - ], - "step": 240, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "Buffers Allocated", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "editorMode": "code", - "expr": "irate(pg_stat_bgwriter_buffers_clean_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "buffers_clean", - "measurement": "postgresql", - "policy": "default", - "range": true, - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "buffers_alloc" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [], - "type": "difference" - } - ] - ], - "step": 240, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "Buffers Allocated", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "editorMode": "code", - "expr": "irate(pg_stat_bgwriter_buffers_checkpoint_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "buffers_checkpoint", - "measurement": "postgresql", - "policy": "default", - "range": true, - "refId": "E", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "buffers_alloc" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [], - "type": "difference" - } - ] - ], - "step": 240, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Buffers", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 7 - }, - "hiddenSeries": false, - "id": 3, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "conflicts", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "expr": "sum(rate(pg_stat_database_deadlocks{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "deadlocks", - "measurement": "postgresql", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "conflicts" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [], - "type": "difference" - } - ] - ], - "step": 240, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - }, - { - "alias": "deadlocks", - "datasource": { - "uid": "$datasource" - }, - "dsType": "prometheus", - "expr": "sum(rate(pg_stat_database_conflicts{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "intervalFactor": 2, - "legendFormat": "conflicts", - "measurement": "postgresql", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "deadlocks" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [], - "type": "difference" - } - ] - ], - "step": 240, - "tags": [ - { - "key": "instance", - "operator": "=~", - "value": "/^$instance$/" - } - ] - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Conflicts/Deadlocks", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 14 - }, - "hiddenSeries": false, - "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": true, - "pluginVersion": "10.1.4", - "pointradius": 1, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum by (datname) (rate(pg_stat_database_blks_hit{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])) / (sum by (datname)(rate(pg_stat_database_blks_hit{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])) + sum by (datname)(rate(pg_stat_database_blks_read{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])))", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{datname}} - cache hit rate", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Cache hit ratio", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percentunit", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 14 - }, - "hiddenSeries": false, - "id": 13, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "pg_stat_database_numbackends{datname=~\"$db\",job=~\"$job\",instance=~\"$instance\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{datname}} - {{__name__}}", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Number of active connections", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "postgres", - "timescaledb" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "Prometheus", - "value": "By6zGQL4k" - }, - "hide": 0, - "includeAll": false, - "label": "Data Source", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": ".+", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "uid": "$datasource" - }, - "definition": "label_values(pg_up, job)", - "hide": 0, - "includeAll": true, - "label": "job", - "multi": true, - "name": "job", - "options": [], - "query": "label_values(pg_up, job)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": ".+", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "uid": "$datasource" - }, - "definition": "", - "hide": 0, - "includeAll": true, - "label": "instance", - "multi": true, - "name": "instance", - "options": [], - "query": "label_values(up{job=~\"$job\"},instance)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": ".+", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "uid": "$datasource" - }, - "definition": "label_values(pg_stat_database_tup_fetched{instance=~\"$instance\",datname!~\"template.*|postgres\"},datname)", - "hide": 0, - "includeAll": true, - "label": "db", - "multi": false, - "name": "db", - "options": [], - "query": "label_values(pg_stat_database_tup_fetched{instance=~\"$instance\",datname!~\"template.*|postgres\"},datname)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "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": "browser", - "title": "Postgres Overview", - "uid": "wGgaPlciz", - "version": 1, - "weekStart": "" - } \ No newline at end of file diff --git a/SMP_Database/Redis_Overview.json b/SMP_Database/Redis_Overview.json deleted file mode 100644 index 65795a7..0000000 --- a/SMP_Database/Redis_Overview.json +++ /dev/null @@ -1,1520 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "3.1.1" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "singlestat", - "name": "Singlestat", - "version": "" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "Redis Dashboard for Prometheus Redis Exporter 1.x", - "editable": true, - "fiscalYearStartMonth": 0, - "gnetId": 763, - "graphTooltip": 1, - "id": 13, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 0, - "y": 0 - }, - "id": 9, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.1.4", - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "max(max_over_time(redis_uptime_in_seconds{instance=~\"$instance\"}[$__interval]))", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "", - "metric": "", - "refId": "A", - "step": 1800 - } - ], - "title": "Max Uptime", - "type": "stat" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 3, - "y": 0 - }, - "hideTimeOverride": true, - "id": 12, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "10.1.4", - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(redis_connected_clients{instance=~\"$instance\"})", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "", - "metric": "", - "refId": "A", - "step": 2 - } - ], - "timeFrom": "1m", - "title": "Clients", - "type": "stat" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 8, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 9, - "x": 6, - "y": 0 - }, - "hiddenSeries": false, - "id": 18, - "legend": { - "avg": false, - "current": false, - "hideEmpty": false, - "hideZero": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(rate(redis_commands_total{instance=~\"$instance\"} [1m])) by (cmd)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ cmd }}", - "metric": "redis_command_calls_total", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Commands / sec", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 2, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 9, - "x": 15, - "y": 0 - }, - "hiddenSeries": false, - "id": 1, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": true, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "irate(redis_keyspace_hits_total{instance=~\"$instance\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "hits, {{ instance }}", - "metric": "", - "refId": "A", - "step": 240, - "target": "" - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "irate(redis_keyspace_misses_total{instance=~\"$instance\"}[5m])", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "misses, {{ instance }}", - "metric": "", - "refId": "B", - "step": 240, - "target": "" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Hits / Misses per Sec", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": "${DS_PROMETHEUS}", - "description": "Ratio of memory allocated by the operating system to memory requested by Redis.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 21, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(redis_mem_fragmentation_bytes)", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Memory Fragmentation Ratio", - "type": "timeseries" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 22, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(redis_commands_processed_total[$__rate_interval]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Redis Commands Processed Total ", - "type": "timeseries" - }, - { - "aliasColors": { - "max": "#BF1B00" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 15 - }, - "hiddenSeries": false, - "id": 7, - "legend": { - "avg": false, - "current": false, - "hideEmpty": false, - "hideZero": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null as zero", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "redis_memory_used_bytes{instance=~\"$instance\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "used, {{ instance }}", - "metric": "", - "refId": "A", - "step": 240, - "target": "" - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "redis_memory_max_bytes{instance=~\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 2, - "legendFormat": "max, {{ instance }}", - "refId": "B", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Memory Usage", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 15 - }, - "hiddenSeries": false, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(rate(redis_net_input_bytes_total{instance=~\"$instance\"}[5m]))", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ input }}", - "refId": "A", - "step": 240 - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(rate(redis_net_output_bytes_total{instance=~\"$instance\"}[5m]))", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ output }}", - "refId": "B", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Network I/O", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 7, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 22 - }, - "hiddenSeries": false, - "id": 5, - "legend": { - "alignAsTable": false, - "avg": false, - "current": true, - "hideEmpty": false, - "hideZero": true, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum (redis_db_keys{instance=~\"$instance\"}) by (db, instance)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ db }}, {{ instance }}", - "refId": "A", - "step": 240, - "target": "" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Items per DB", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 7, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 22 - }, - "hiddenSeries": false, - "id": 13, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum (redis_db_keys{instance=~\"$instance\"}) by (instance) - sum (redis_db_keys_expiring{instance=~\"$instance\"}) by (instance)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "not expiring, {{ instance }}", - "refId": "A", - "step": 240, - "target": "" - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum (redis_db_keys_expiring{instance=~\"$instance\"}) by (instance)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "expiring, {{ instance }}", - "metric": "", - "refId": "B", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Expiring vs Not-Expiring Keys", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": { - "evicts": "#890F02", - "memcached_items_evicted_total{instance=\"172.17.0.1:9150\",job=\"prometheus\"}": "#890F02", - "reclaims": "#3F6833" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 29 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "reclaims", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(rate(redis_expired_keys_total{instance=~\"$instance\"}[5m])) by (instance)", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "expired, {{ instance }}", - "metric": "", - "refId": "A", - "step": 240, - "target": "" - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(rate(redis_evicted_keys_total{instance=~\"$instance\"}[5m])) by (instance)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "evicted, {{ instance }}", - "refId": "B", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Expired/Evicted Keys", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 29 - }, - "hiddenSeries": false, - "id": 16, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(redis_connected_clients{instance=~\"$instance\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "connected", - "refId": "A" - }, - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(redis_blocked_clients{instance=~\"$instance\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "blocked", - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Connected/Blocked Clients", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 2, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 36 - }, - "hiddenSeries": false, - "id": 20, - "legend": { - "avg": false, - "current": false, - "hideEmpty": false, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(irate(redis_commands_duration_seconds_total{instance =~ \"$instance\"}[1m])) by (cmd)\n /\nsum(irate(redis_commands_total{instance =~ \"$instance\"}[1m])) by (cmd)\n", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ cmd }}", - "metric": "redis_command_calls_total", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Average Time Spent by Command / sec", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "s", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 8, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 36 - }, - "hiddenSeries": false, - "id": 14, - "legend": { - "avg": false, - "current": false, - "hideEmpty": false, - "hideZero": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "10.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "expr": "sum(irate(redis_commands_duration_seconds_total{instance=~\"$instance\"}[1m])) by (cmd) != 0", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ cmd }}", - "metric": "redis_command_calls_total", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Total Time Spent by Command / sec", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "s", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "prometheus", - "redis" - ], - "templating": { - "list": [ - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": "${DS_PROMETHEUS}", - "definition": "label_values(redis_up, namespace)", - "hide": 0, - "includeAll": false, - "multi": false, - "name": "namespace", - "options": [], - "query": "label_values(redis_up, namespace)", - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "10.4.5.28:9121", - "value": "10.4.5.28:9121" - }, - "datasource": "${DS_PROMETHEUS}", - "definition": "label_values(redis_up{namespace=~\"$namespace\"}, instance)", - "hide": 0, - "includeAll": false, - "multi": true, - "name": "instance", - "options": [], - "query": "label_values(redis_up{namespace=~\"$namespace\"}, instance)", - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-30m", - "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": "browser", - "title": "Redis Dashboard for Prometheus Redis Exporter 1.x", - "uid": "d7b5db94", - "version": 2, - "weekStart": "" - } \ No newline at end of file diff --git a/SRM/BUILD.bazel b/SRM/BUILD.bazel deleted file mode 100644 index 21f9dde..0000000 --- a/SRM/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/SRM/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/SRM/Learning_Engine_Dashboard_Free.json b/SRM/Learning_Engine_Dashboard_Free.json deleted file mode 100644 index a9e39b3..0000000 --- a/SRM/Learning_Engine_Dashboard_Free.json +++ /dev/null @@ -1,1507 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 127, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(sum(rate(custom_googleapis_com:opencensus_learning_engine_task_success_count{monitored_resource=\"k8s_container\",environment=\"$env\"}[5m])) by (environment) )", - "instant": false, - "legendFormat": "Success", - "range": true, - "refId": "Success" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(rate(custom_googleapis_com:opencensus_learning_engine_task_failed_count{monitored_resource=\"k8s_container\",environment=\"$env\"}[5m])) by (environment) )", - "hide": false, - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(rate(custom_googleapis_com:opencensus_learning_engine_task_timeout_count{monitored_resource=\"k8s_container\",environment=\"$env\"}[5m])) by (environment) )", - "hide": false, - "legendFormat": "Timeout", - "range": true, - "refId": "Timeout" - } - ], - "title": "LE tasks completion rate (count/s)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_task_queued_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Overall queued", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_deployment_task_queued_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Deployment queued", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_service_health_task_queued_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Service health queued", - "range": true, - "refId": "F" - } - ], - "title": "LE tasks queued count (max)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(max(custom_googleapis_com:opencensus_learning_engine_max_queued_time_free{monitored_resource=\"k8s_container\"}))/1000", - "instant": false, - "legendFormat": "Overall", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(max(custom_googleapis_com:opencensus_learning_engine_deployment_max_queued_time_free{monitored_resource=\"k8s_container\"}))/1000", - "hide": false, - "legendFormat": "Deployment", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(max(custom_googleapis_com:opencensus_learning_engine_service_health_max_queued_time_free{monitored_resource=\"k8s_container\"}))/1000", - "hide": false, - "legendFormat": "Service health", - "range": true, - "refId": "Timeout" - } - ], - "title": "LE tasks max queued time (s)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 27 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_task_running_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Overall running", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_deployment_task_running_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Deployment running", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_service_health_task_running_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Service health running", - "range": true, - "refId": "F" - } - ], - "title": "LE tasks running count (max)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 36 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(custom_googleapis_com:opencensus_learning_engine_task_success_count{monitored_resource=\"k8s_container\",environment=\"$env\"}) by (environment)", - "instant": false, - "legendFormat": "Success", - "range": true, - "refId": "Success" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(custom_googleapis_com:opencensus_learning_engine_task_failed_count{monitored_resource=\"k8s_container\",environment=\"$env\"})by (environment)", - "hide": false, - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(custom_googleapis_com:opencensus_learning_engine_task_timeout_count{monitored_resource=\"k8s_container\",environment=\"$env\"}) by (environment) ", - "hide": false, - "legendFormat": "Timeout", - "range": true, - "refId": "Timeout" - } - ], - "title": "LE tasks completion count", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 45 - }, - "id": 17, - "panels": [], - "title": "LE Task Type Specific Metrics", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 46 - }, - "id": 15, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"0\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "0-15 s", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "15-30 s", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "30-60s", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "60-120s", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "120-240s", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "240-480s", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "480-960s", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "960-1920s", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": ">1920s", - "range": true, - "refId": "I" - } - ], - "title": "Number of tasks completed with different wait time buckets", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 57 - }, - "id": 13, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"0\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "0-15 s", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "15-30 s", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "30-60s", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "60-120s", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "120-240s", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "240-480s", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "480-960s", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "960-1920s", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": ">1920s", - "range": true, - "refId": "I" - } - ], - "title": "% of tasks completed with different wait time buckets", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 68 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"0\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "0-15 s", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "15-30 s", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "30-60s", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "60-120s", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "120-240s", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "240-480s", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "480-960s", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "960-1920s", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": ">1920s", - "range": true, - "refId": "I" - } - ], - "title": "Number of tasks completed with different running time buckets", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 79 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"0\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "0-15 s", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "15-30 s", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "30-60s", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "60-120s", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "120-240s", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "240-480s", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "480-960s", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "960-1920s", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": ">1920s", - "range": true, - "refId": "I" - } - ], - "title": "% of tasks completed with different running time buckets", - "type": "timeseries" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [ - "SRM" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "canary_deployment_time_series", - "value": "canary_deployment_time_series" - }, - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "definition": "label_values(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\"}, leTaskType)", - "hide": 0, - "includeAll": false, - "label": "LE Task Type", - "multi": false, - "name": "leTaskType", - "options": [], - "query": { - "query": "label_values(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\"}, leTaskType)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod", - "value": "prod" - }, - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [ - { - "selected": true, - "text": "free", - "value": "free" - } - ], - "query": "free", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Learning engine dashboard Free", - "uid": "VDbFoZnIz", - "version": 4, - "weekStart": "" -} \ No newline at end of file diff --git a/SRM/Learning_Engine_Dashboard_Prod.json b/SRM/Learning_Engine_Dashboard_Prod.json deleted file mode 100644 index e9b0f62..0000000 --- a/SRM/Learning_Engine_Dashboard_Prod.json +++ /dev/null @@ -1,1507 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 126, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(sum(rate(custom_googleapis_com:opencensus_learning_engine_task_success_count{monitored_resource=\"k8s_container\",environment=\"$env\"}[5m])) by (environment) )", - "instant": false, - "legendFormat": "Success", - "range": true, - "refId": "Success" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(rate(custom_googleapis_com:opencensus_learning_engine_task_failed_count{monitored_resource=\"k8s_container\",environment=\"$env\"}[5m])) by (environment) )", - "hide": false, - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(rate(custom_googleapis_com:opencensus_learning_engine_task_timeout_count{monitored_resource=\"k8s_container\",environment=\"$env\"}[5m])) by (environment) )", - "hide": false, - "legendFormat": "Timeout", - "range": true, - "refId": "Timeout" - } - ], - "title": "LE tasks completion rate (count/s)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_task_queued_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Overall queued", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_deployment_task_queued_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Deployment queued", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_service_health_task_queued_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Service health queued", - "range": true, - "refId": "F" - } - ], - "title": "LE tasks queued count (max)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(max(custom_googleapis_com:opencensus_learning_engine_max_queued_time_prod{monitored_resource=\"k8s_container\"}))/1000", - "instant": false, - "legendFormat": "Overall", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(max(custom_googleapis_com:opencensus_learning_engine_deployment_max_queued_time_prod{monitored_resource=\"k8s_container\"}))/1000", - "hide": false, - "legendFormat": "Deployment", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(max(custom_googleapis_com:opencensus_learning_engine_service_health_max_queued_time_prod{monitored_resource=\"k8s_container\"}))/1000", - "hide": false, - "legendFormat": "Service health", - "range": true, - "refId": "Timeout" - } - ], - "title": "LE tasks max queued time (s)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 27 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_task_running_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Overall running", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_deployment_task_running_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Deployment running", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(custom_googleapis_com:opencensus_learning_engine_service_health_task_running_count{monitored_resource='k8s_container',environment=\"$env\"})", - "hide": false, - "legendFormat": "Service health running", - "range": true, - "refId": "F" - } - ], - "title": "LE tasks running count (max)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 36 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(custom_googleapis_com:opencensus_learning_engine_task_success_count{monitored_resource=\"k8s_container\",environment=\"$env\"}) by (environment)", - "instant": false, - "legendFormat": "Success", - "range": true, - "refId": "Success" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(custom_googleapis_com:opencensus_learning_engine_task_failed_count{monitored_resource=\"k8s_container\",environment=\"$env\"})by (environment)", - "hide": false, - "legendFormat": "Failed", - "range": true, - "refId": "Failed" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(custom_googleapis_com:opencensus_learning_engine_task_timeout_count{monitored_resource=\"k8s_container\",environment=\"$env\"}) by (environment) ", - "hide": false, - "legendFormat": "Timeout", - "range": true, - "refId": "Timeout" - } - ], - "title": "LE tasks completion count", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 45 - }, - "id": 17, - "panels": [], - "title": "LE Task Type Specific Metrics", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 46 - }, - "id": 15, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"0\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "0-15 s", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "15-30 s", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "30-60s", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "60-120s", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "120-240s", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "240-480s", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "480-960s", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "960-1920s", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": ">1920s", - "range": true, - "refId": "I" - } - ], - "title": "Number of tasks completed with different wait time buckets", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 57 - }, - "id": 13, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"0\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "0-15 s", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "15-30 s", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "30-60s", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "60-120s", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "120-240s", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "240-480s", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "480-960s", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "960-1920s", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_wait_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": ">1920s", - "range": true, - "refId": "I" - } - ], - "title": "% of tasks completed with different wait time buckets", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 68 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"0\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "0-15 s", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "15-30 s", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "30-60s", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "60-120s", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "120-240s", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "240-480s", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "480-960s", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": "960-1920s", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}[5m])) by (environment))-(sum(increase(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}[5m])) by (environment))", - "hide": false, - "interval": "300s", - "legendFormat": ">1920s", - "range": true, - "refId": "I" - } - ], - "title": "Number of tasks completed with different running time buckets", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 79 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"0\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "0-15 s", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"15000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "15-30 s", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"30000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "30-60s", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"60000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "60-120s", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"120000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "120-240s", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"240000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "240-480s", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"480000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "480-960s", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"960000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": "960-1920s", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "100*(((sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)) - (sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"1920000\",environment=\"$env\"}) by (environment)))/(sum(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\",leTaskType=\"$leTaskType\",le=\"+Inf\",environment=\"$env\"}) by (environment)))", - "hide": false, - "interval": "300s", - "legendFormat": ">1920s", - "range": true, - "refId": "I" - } - ], - "title": "% of tasks completed with different running time buckets", - "type": "timeseries" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [ - "SRM" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "service_guard_log_analysis", - "value": "service_guard_log_analysis" - }, - "datasource": { - "type": "prometheus", - "uid": "aoIl1JLVk" - }, - "definition": "label_values(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\"}, leTaskType)", - "hide": 0, - "includeAll": false, - "label": "LE Task Type", - "multi": false, - "name": "leTaskType", - "options": [], - "query": { - "query": "label_values(custom_googleapis_com:opencensus_learning_engine_task_running_time_bucket{monitored_resource=\"k8s_container\"}, leTaskType)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "prod", - "value": "prod" - }, - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [ - { - "selected": true, - "text": "prod", - "value": "prod" - } - ], - "query": "prod", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - } - ] - }, - "time": { - "from": "now-12h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Learning engine dashboard Prod", - "uid": "ruAIoZnSz", - "version": 3, - "weekStart": "" -} \ No newline at end of file diff --git a/SRM/SRM_SLI_Dashboard.json b/SRM/SRM_SLI_Dashboard.json deleted file mode 100644 index 8f1a1a6..0000000 --- a/SRM/SRM_SLI_Dashboard.json +++ /dev/null @@ -1,3935 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 12, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 34, - "panels": [], - "title": "Prod1", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 24, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{namespace=\"harness-nextgen\", method=\"saveSLOV2Data\", resource=\"ServiceLevelObjectiveV2Resource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Create 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 2000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 60, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"saveSLOV2Data\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Create API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 68, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"updateSLOV2Data\", resource=\"ServiceLevelObjectiveV2Resource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Update 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 2000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 61, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"updateSLOV2Data\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Update API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 15 - }, - "id": 25, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"getServiceLevelObjectivesV2\", resource=\"ServiceLevelObjectiveV2Resource\", statusCode=\"5xx\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Get 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 15 - }, - "id": 62, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"getServiceLevelObjectiveV2\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO get API latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 22 - }, - "id": 20, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"saveMonitoredService\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Save monitored service 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 22 - }, - "id": 63, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"saveMonitoredService\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Save MS API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 29 - }, - "id": 21, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"updateMonitoredService\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Update Monitored Service 5xx [5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 29 - }, - "id": 64, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"updateMonitoredService\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Update MS API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 36 - }, - "id": 22, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"getListV2\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Monitored service List 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 36 - }, - "id": 65, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen\", method=\"getListV2\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "MS List API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 43 - }, - "id": 53, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "shades" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 2 - }, - "id": 54, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"saveSLOV2Data\", resource=\"ServiceLevelObjectiveV2Resource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Create 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 2 - }, - "id": 28, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"saveSLOV2Data\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Create API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 55, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"updateSLOV2Data\", resource=\"ServiceLevelObjectiveV2Resource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Update 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 44, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"updateSLOV2Data\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Update API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 16 - }, - "id": 56, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{statusCode=\"5xx\", cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"getServiceLevelObjectivesV2\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO List 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 16 - }, - "id": 46, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"getServiceLevelObjectivesV2\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO List API latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 23 - }, - "id": 57, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"saveMonitoredService\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Save monitored service 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 23 - }, - "id": 48, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"saveMonitoredService\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Save MS API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 30 - }, - "id": 58, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"updateMonitoredService\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Update Monitored Service 5xx [5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 30 - }, - "id": 50, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"updateMonitoredService\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Update MS API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 37 - }, - "id": 59, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"getListV2\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Monitored service List 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 37 - }, - "id": 52, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-free\", method=\"getListV2\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "MS List API Request latency [95th percentile] ", - "type": "timeseries" - } - ], - "title": "prod2", - "type": "row" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 44 - }, - "id": 67, - "panels": [], - "title": "prod3", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "shades" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "fieldMinMax": true, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 45 - }, - "id": 41, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "exemplar": false, - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"saveSLOV2Data\", resource=\"ServiceLevelObjectiveV2Resource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\"}[5m]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Create 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 45 - }, - "id": 42, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"saveSLOV2Data\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Create API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 52 - }, - "id": 43, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"updateSLOV2Data\", resource=\"ServiceLevelObjectiveV2Resource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Update 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 52 - }, - "id": 66, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"updateSLOV2Data\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO Update API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 59 - }, - "id": 45, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{statusCode=\"5xx\", cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"getServiceLevelObjectivesV2\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO List 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 59 - }, - "id": 38, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"getServiceLevelObjectivesV2\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "SLO List API latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 66 - }, - "id": 47, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=~\"saveMonitoredService\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Save monitored service 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 66 - }, - "id": 39, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"saveMonitoredService\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Save MS API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 73 - }, - "id": 49, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"updateMonitoredService\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Update Monitored Service 5xx [5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 73 - }, - "id": 40, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"updateMonitoredService\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Update MS API Request latency [95th percentile] ", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "#6ED0E0", - "value": 5 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 80 - }, - "id": 51, - "options": { - "legend": { - "calcs": [ - "min", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"getListV2\", resource=\"MonitoredServiceResource\", statusCode=\"5xx\"}[5m])) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Monitored service List 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 80 - }, - "id": 37, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"harness-nextgen-compliance\", method=\"getListV2\", quantile=\"0.95\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "MS List API Request latency [95th percentile] ", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "tags": [ - "SRM" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "e4a3d5a0-c094-488c-b9dd-ba946db96bea" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/ManagedPrometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_harness_cvng_resources_request_filtering_count, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(io_harness_cvng_resources_request_filtering_count, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "SRM SLI Dashboard", - "uid": "cde5ba4a-97f5-43c5-b010-2b8a49d949ca", - "version": 156, - "weekStart": "" -} diff --git a/SRM/SRM_Service_Metrics.json b/SRM/SRM_Service_Metrics.json deleted file mode 100644 index 6711a98..0000000 --- a/SRM/SRM_Service_Metrics.json +++ /dev/null @@ -1,710 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 4, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "cpm" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_requests_count{namespace=\"$namespace\", method=\"get\"}[5m])) * 60", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "GET", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_requests_count{namespace=\"$namespace\", method=\"post\"}[5m])) * 60", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "POST", - "range": true, - "refId": "B", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_requests_count{namespace=\"$namespace\", method=\"put\"}[5m])) * 60", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "PUT", - "range": true, - "refId": "C", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_requests_count{namespace=\"$namespace\", method=\"delete\"}[5m])) * 60", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "DELETE", - "range": true, - "refId": "D", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "sum(rate(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_requests_count{namespace=\"$namespace\",method=\"\"}[5m])) * 60", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Total", - "range": true, - "refId": "E", - "useBackend": false - } - ], - "title": "Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "max(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_requests{namespace=\"$namespace\", quantile=\"0.95\", method=\"\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "95th percentile", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "max(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_requests{namespace=\"$namespace\", quantile=\"0.99\", method=\"\"}) * 1000", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "99th percentile", - "range": true, - "refId": "B", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "exemplar": false, - "expr": "max(io_harness_custom_metric_io_dropwizard_jetty_MutableServletContextHandler_requests_mean{namespace=\"$namespace\"}) * 1000", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "Average", - "range": true, - "refId": "C", - "useBackend": false - } - ], - "title": "Latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_percent{namespace=\"$namespace\", duration=\"1m\", statusCode=\"4xx\"})", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "[1m]-4xx", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_percent{namespace=\"$namespace\", duration=\"5m\", statusCode=\"4xx\"})", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "[5m]-4xx", - "range": true, - "refId": "B", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_percent{namespace=\"$namespace\", duration=\"15m\", statusCode=\"4xx\"})", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "[15m]-4xx", - "range": true, - "refId": "C", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_percent{namespace=\"$namespace\", duration=\"1m\", statusCode=\"5xx\"})", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "[1m]-5xx", - "range": true, - "refId": "D", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_percent{namespace=\"$namespace\", duration=\"5m\", statusCode=\"5xx\"})", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "[5m]-5xx", - "range": true, - "refId": "E", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_percent{namespace=\"$namespace\", duration=\"15m\", statusCode=\"5xx\"})", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "[15m]-5xx", - "range": true, - "refId": "F", - "useBackend": false - } - ], - "title": "HTTP Error Percentage[1m],[5m],[15m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "cpm" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 27 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_responses_total_total{namespace=\"$namespace\", statusCode=\"4xx\"}[5m])) * 60", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "4xx", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(io_harness_cvng_io_dropwizard_jetty_MutableServletContextHandler_responses_total_total{namespace=\"$namespace\", statusCode=\"5xx\"}[5m])) * 60", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "legendFormat": "5xx", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "HTTP Errors Rate[5m]", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "CVNG", - "SRM" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "e4a3d5a0-c094-488c-b9dd-ba946db96bea" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/ManagedPrometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_harness_cvng_resources_request_filtering_count,cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(io_harness_cvng_resources_request_filtering_count,cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen-free", - "value": "harness-nextgen-free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_harness_cvng_resources_request_filtering_count,namespace)", - "hide": 0, - "includeAll": false, - "label": "namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(io_harness_cvng_resources_request_filtering_count,namespace)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "CVNG Service Metrics", - "uid": "SwcnugnSk", - "version": 38, - "weekStart": "" -} \ No newline at end of file diff --git a/SRM/SRM_Transaction_Metrics.json b/SRM/SRM_Transaction_Metrics.json deleted file mode 100644 index 0002505..0000000 --- a/SRM/SRM_Transaction_Metrics.json +++ /dev/null @@ -1,749 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "CVNG", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 5, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 10, - "panels": [], - "title": "Latency", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(method) (io_harness_cvng_resources_total{cluster=\"$cluster\", namespace=\"$env\", method=~\"$method\", quantile=\"0.95\", resource=\"$resource\"}) * 1000", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "95th percentile Request (ms)", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 13 - }, - "id": 6, - "panels": [], - "title": "Error", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 14 - }, - "id": 19, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "(sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"$env\", method=~\"$method\", resource=\"$resource\", statusCode=\"4xx\"}[5m])) * 100) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"$env\", method=~\"$method\", resource=\"$resource\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Error % per min 4xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 26 - }, - "id": 20, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "(sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"$env\", method=~\"$method\", resource=\"$resource\", statusCode=\"5xx\"}[5m])) * 100) / sum by(method) (rate(io_harness_cvng_resources_responses_total{cluster=\"$cluster\", namespace=\"$env\", method=~\"$method\", resource=\"$resource\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Error % per min 5xx[5m]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "cpm" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 38 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_exceptions_total{cluster=\"$cluster\", namespace=\"$env\", method=~\"$method\", resource=\"$resource\"}[5m])) * 60", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Error Rate[5m](per min)", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 50 - }, - "id": 4, - "panels": [], - "title": "Traffic (User Demand)", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "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": { - "h": 12, - "w": 24, - "x": 0, - "y": 51 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(method) (rate(io_harness_cvng_resources_total_count{cluster=\"$cluster\", namespace=\"$env\", method=~\"$method\", resource=\"$resource\"}[5m])) * 60", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "HTTP Requests Rate[5m](per min)", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 63 - }, - "id": 18, - "panels": [], - "title": "Saturation", - "type": "row" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "CVNG", - "SRM" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "e4a3d5a0-c094-488c-b9dd-ba946db96bea" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/ManagedPrometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_harness_cvng_resources_request_filtering_count, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(io_harness_cvng_resources_request_filtering_count, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen-free", - "value": "harness-nextgen-free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_harness_cvng_resources_request_filtering_count, namespace)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(io_harness_cvng_resources_request_filtering_count, namespace)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "MonitoredServiceResource" - ], - "value": [ - "MonitoredServiceResource" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_harness_cvng_resources_request_filtering_count, resource)", - "hide": 0, - "includeAll": false, - "label": "Resource", - "multi": false, - "name": "resource", - "options": [], - "query": { - "query": "label_values(io_harness_cvng_resources_request_filtering_count, resource)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "delete", - "deleteSLOV2Data", - "getList", - "updateMonitoredService", - "updateMonitoredServiceFromTemplateInput", - "getListV2", - "getAnomaliesSummary", - "getAllMonitoredServicesWithHealthSources", - "saveMonitoredServiceFromYaml", - "getSLOAssociatedMonitoredServices" - ], - "value": [ - "delete", - "deleteSLOV2Data", - "getList", - "updateMonitoredService", - "updateMonitoredServiceFromTemplateInput", - "getListV2", - "getAnomaliesSummary", - "getAllMonitoredServicesWithHealthSources", - "saveMonitoredServiceFromYaml", - "getSLOAssociatedMonitoredServices" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_harness_cvng_resources_request_filtering_count, method)", - "hide": 0, - "includeAll": false, - "label": "Method", - "multi": true, - "name": "method", - "options": [], - "query": { - "query": "label_values(io_harness_cvng_resources_request_filtering_count, method)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Key Transaction Metrics", - "uid": "r0EApeZIz1", - "version": 24, - "weekStart": "" -} \ No newline at end of file diff --git a/STO/BUILD.bazel b/STO/BUILD.bazel deleted file mode 100644 index 3256669..0000000 --- a/STO/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/STO/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/STO/STO_Core_Ticket_Service.json b/STO/STO_Core_Ticket_Service.json deleted file mode 100644 index 4c2c149..0000000 --- a/STO/STO_Core_Ticket_Service.json +++ /dev/null @@ -1,1184 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 28, - "links": [], - "liveNow": false, - "panels": [ - { - "aliasColors": { - "Limits": "semi-dark-red" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "decimals": 3, - "description": "", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "hiddenSeries": false, - "id": 5, - "interval": "5m", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "maxPerRow": 2, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "repeat": "podname", - "repeatDirection": "v", - "seriesOverrides": [ - { - "alias": "Limits", - "color": "#FF7383", - "dashes": true, - "lines": false - }, - { - "alias": "Requests", - "color": "#FFB357", - "dashes": true, - "lines": false - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(pod) (rate(container_cpu_usage_seconds_total{namespace=\"$namespace\"}[5m]))", - "format": "time_series", - "hide": false, - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg(kube_pod_container_resource_requests{namespace=\"$namespace\",resource=\"cpu\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg(kube_pod_container_resource_limits{namespace=\"$namespace\",resource=\"cpu\"})", - "hide": false, - "legendFormat": "Limits", - "range": true, - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "CPU usage, requests and limits", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:173", - "decimals": 3, - "format": "short", - "label": "CPU", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:174", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "log": 10, - "type": "log" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "max": 16, - "min": 0.01, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "s" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{namespace=\"ticket-service-free\",cluster=\"prod-private-uswest1-primary\"}[5m])) by (le))" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "histogram_quantile(0.9, sum(rate(http_request_duration_seconds_bucket{namespace=\"ticket-service-free\",cluster=\"prod-private-uswest1-primary\"}[5m])) by (le))" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "light-yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "q=0.9" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "q=0.95" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "semi-dark-orange", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "exemplar": false, - "expr": "histogram_quantile(0.5, sum(rate(http_request_duration_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le))", - "legendFormat": "q=0.5", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.9, sum(rate(http_request_duration_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le))", - "hide": false, - "legendFormat": "q=0.9", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le))", - "hide": false, - "legendFormat": "q=0.95", - "range": true, - "refId": "C" - } - ], - "title": "Response Latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "500" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "204" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "400" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "404" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (code) (rate(http_requests_total{namespace=\"$namespace\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Requests by Status Code", - "type": "timeseries" - }, - { - "aliasColors": { - "Limits": "transparent" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "decimals": 3, - "description": "", - "fieldConfig": { - "defaults": { - "links": [], - "unit": "bytes" - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "hiddenSeries": false, - "id": 6, - "interval": "5m", - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "maxPerRow": 2, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "repeatDirection": "v", - "seriesOverrides": [ - { - "alias": "Limits", - "color": "#FF7383", - "dashes": true, - "lines": false - }, - { - "alias": "Requests", - "color": "#FFB357", - "dashes": true, - "lines": false - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(pod) (container_memory_usage_bytes{namespace=\"$namespace\"})", - "format": "time_series", - "hide": false, - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg(kube_pod_container_resource_requests{namespace=\"$namespace\",resource=\"memory\"})", - "hide": false, - "legendFormat": "Requests", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg(kube_pod_container_resource_limits{namespace=\"$namespace\",resource=\"memory\"})", - "hide": false, - "legendFormat": "Limits", - "range": true, - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Memory usage, requests and limits", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:173", - "decimals": 3, - "format": "bytes", - "label": "Memory", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:174", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 14 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (method) (rate(http_requests_total{namespace=\"$namespace\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Requests by Method", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "go_goroutines{namespace=\"$namespace\"}", - "legendFormat": "{{pod}}", - "range": true, - "refId": "A" - } - ], - "title": "Go Routines", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 21 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (method) (http_request_size_bytes_sum{namespace=\"$namespace\"}) / sum by (method) (http_request_size_bytes_count{namespace=\"$namespace\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Request Size by Method", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 26 - }, - "id": 13, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "max by (quantile) (go_gc_duration_seconds{namespace=\"$namespace\"})", - "legendFormat": "q={{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Garbage Collection Time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 28 - }, - "id": 15, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by (method) (http_response_size_bytes_sum{namespace=\"$namespace\"}) / sum by (method) (http_response_size_bytes_count{namespace=\"$namespace\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Response Size by Method", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ticket-service-free", - "value": "ticket-service-free" - }, - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [ - { - "selected": false, - "text": "sto", - "value": "sto" - }, - { - "selected": false, - "text": "sto-free", - "value": "sto-free" - }, - { - "selected": false, - "text": "sto-compliance", - "value": "sto-compliance" - }, - { - "selected": false, - "text": "ticket-service", - "value": "ticket-service" - }, - { - "selected": true, - "text": "ticket-service-free", - "value": "ticket-service-free" - }, - { - "selected": false, - "text": "ticket-service-compliance", - "value": "ticket-service-compliance" - } - ], - "query": "sto, sto-free, sto-compliance, ticket-service, ticket-service-free, ticket-service-compliance", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "STO Core and Ticket Service", - "uid": "-zsEc0J4k", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/System_Health/BUILD.bazel b/System_Health/BUILD.bazel deleted file mode 100644 index fb6c93d..0000000 --- a/System_Health/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/System_Health/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/System_Health/CAE_Error_Tracking.json b/System_Health/CAE_Error_Tracking.json deleted file mode 100644 index 6f5f73a..0000000 --- a/System_Health/CAE_Error_Tracking.json +++ /dev/null @@ -1,412 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 1, - "links": [ - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": true, - "tags": [], - "targetBlank": true, - "title": "Production Metrics Dashboard", - "tooltip": "", - "type": "link", - "url": "https://grafana.harness.io/d/F9dOkEgIk/production-metrics-dashboard?orgId=1" - }, - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": true, - "tags": [], - "targetBlank": true, - "title": "MicroService Versions Dashboard", - "tooltip": "", - "type": "link", - "url": "https://grafana.harness.io/d/ZJD3rKZIz/microservice-version-dashboard?orgId=1" - }, - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": true, - "tags": [], - "targetBlank": true, - "title": "MicroService Health Dashboard", - "tooltip": "", - "type": "link", - "url": "https://grafana.harness.io/d/mToVpMeVk/microservices-health-dashboard?orgId=1" - } - ], - "liveNow": true, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "panels": [], - "title": "Logging Errors", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "Error count", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "max": 10000, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": "" - }, - { - "color": "red", - "value": 5000 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 0, - "y": 1 - }, - "id": 4, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(container_name) (increase(logging_googleapis_com:user_k8_prod_severity_error_and_above{cluster_name=\"prod-private-uswest1-primary\",namespace_name=\"harness-nextgen\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Rate of Error Logs [Prod1]", - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "Error count", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "max": 10000, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": "" - }, - { - "color": "red", - "value": 5000 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 8, - "y": 1 - }, - "id": 5, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(container_name) (increase(logging_googleapis_com:user_k8_prod_severity_error_and_above{cluster_name=\"prod-private-uswest1-primary\",namespace_name=\"harness-nextgen-free\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Rate of Error Logs [Prod2]", - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "Error count", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 500 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 16, - "y": 1 - }, - "id": 6, - "interval": "1m", - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(container_name) (increase(logging_googleapis_com:user_k8_prod_severity_error_and_above{cluster_name=\"prod-private-uswest1-primary\",namespace_name=\"harness-nextgen-compliance\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Rate of Error Logs [Prod3]", - "transparent": true, - "type": "timeseries" - } - ], - "refresh": "1m", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "1m", - "5m", - "15m" - ] - }, - "timezone": "utc", - "title": "Microservice Change and Stability Monitor", - "uid": "CrU8DceVk", - "version": 9, - "weekStart": "" -} \ No newline at end of file diff --git a/System_Health/MicroService_Monitoring.json b/System_Health/MicroService_Monitoring.json deleted file mode 100644 index b1365f0..0000000 --- a/System_Health/MicroService_Monitoring.json +++ /dev/null @@ -1,985 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 120, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 0, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "This dashboard has 8 charts to display the metrics for the microservices in our [demo application](https://github.com/GoogleCloudPlatform/microservices-demo). The metrics include request count, response latencies, and request/response bytes.", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "refId": "A" - } - ], - "title": "MicroService Monitoring", - "type": "text" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 1, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "istio.io/service/server/request_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Server Request Count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 3 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "istio.io/service/server/response_latencies", - "perSeriesAligner": "ALIGN_PERCENTILE_99", - "projectName": "$project", - "unit": "ms", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Server Response Latencies", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 11 - }, - "hiddenSeries": false, - "id": 3, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "istio.io/service/server/response_bytes", - "perSeriesAligner": "ALIGN_PERCENTILE_99", - "projectName": "$project", - "unit": "By", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Server Response Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 11 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_container" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "istio.io/service/server/request_bytes", - "perSeriesAligner": "ALIGN_PERCENTILE_99", - "projectName": "$project", - "unit": "By", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Server Request Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 19 - }, - "hiddenSeries": false, - "id": 5, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_pod" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "istio.io/service/client/roundtrip_latencies", - "perSeriesAligner": "ALIGN_PERCENTILE_99", - "projectName": "$project", - "unit": "ms", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Client Roundtrip Latencies", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 19 - }, - "hiddenSeries": false, - "id": 6, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_pod" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "istio.io/service/client/request_count", - "perSeriesAligner": "ALIGN_RATE", - "projectName": "$project", - "unit": "1", - "valueType": "INT64" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Client Request Count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 27 - }, - "hiddenSeries": false, - "id": 7, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_pod" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "istio.io/service/client/response_bytes", - "perSeriesAligner": "ALIGN_PERCENTILE_99", - "projectName": "$project", - "unit": "By", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Client Response Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 27 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 220, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "metricQuery": { - "aliasBy": "", - "alignmentPeriod": "$alignmentPeriod", - "filters": [ - "resource.type", - "=", - "k8s_pod" - ], - "groupBys": [], - "metricKind": "DELTA", - "metricType": "istio.io/service/client/request_bytes", - "perSeriesAligner": "ALIGN_PERCENTILE_99", - "projectName": "$project", - "unit": "By", - "valueType": "DISTRIBUTION" - }, - "queryType": "metrics", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Client Request Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [ - "Microservices", - "Cloud Monitoring", - "GCP" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "Google Cloud Monitoring", - "value": "Google Cloud Monitoring" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "stackdriver", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": {}, - "datasource": { - "uid": "$datasource" - }, - "definition": "Google Cloud Monitoring - Projects", - "hide": 0, - "includeAll": false, - "label": "Project", - "multi": false, - "name": "project", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [], - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "projects", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "grafana auto", - "value": "grafana-auto" - }, - "datasource": { - "uid": "${datasource}" - }, - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Alignment Period", - "multi": false, - "name": "alignmentPeriod", - "options": [], - "query": { - "labelKey": "", - "loading": false, - "projectName": "$project", - "projects": [ - { - "name": "project-1", - "value": "project-1" - }, - { - "name": "project-2", - "value": "project-2" - } - ], - "refId": "CloudMonitoringVariableQueryEditor-VariableQuery", - "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", - "selectedQueryType": "alignmentPeriods", - "selectedSLOService": "", - "selectedService": "actions.googleapis.com", - "sloServices": [] - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "MicroService Monitoring", - "uid": "flT9skzSk", - "version": 1, - "weekStart": "" -} \ No newline at end of file diff --git a/System_Health/Ops-Dashboard.json b/System_Health/Ops-Dashboard.json deleted file mode 100644 index 7dde46d..0000000 --- a/System_Health/Ops-Dashboard.json +++ /dev/null @@ -1,9424 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [ - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": true, - "tags": [], - "targetBlank": true, - "title": "MicroService Versions Dashboard", - "tooltip": "", - "type": "link", - "url": "https://grafana.harness.io/d/ZJD3rKZIz/microservice-version-dashboard?orgId=1" - }, - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": true, - "tags": [], - "targetBlank": true, - "title": "Production Metrics Dashboard", - "tooltip": "", - "type": "link", - "url": "https://grafana.harness.io/d/F9dOkEgIk/production-metrics-dashboard?orgId=1" - }, - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": true, - "tags": [], - "targetBlank": true, - "title": "MicroService Change and Stability Monitor", - "tooltip": "", - "type": "link", - "url": "https://grafana.harness.io/d/CrU8DceVk/cae-error-tracking?orgId=1" - } - ], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 0 - }, - "id": 81, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n Service Health\n \n \n

\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 0 - }, - "id": 83, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n QA\n \n \n

\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 0 - }, - "id": 86, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "\n\n

\n \n \n Prod1\n \n \n

", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 0 - }, - "id": 85, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "\n\n

\n \n \n Prod2\n \n \n

\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 0 - }, - "id": 84, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "\n

\n \n \n Prod3\n \n \n

\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 2 - }, - "id": 79, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n ng-manager\n \n \n

\n\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "QA_NG_Manager_Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=qa&var-service=ng-manager&var-job=ng-manager&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 2 - }, - "id": 74, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"ng-manager\", job=\"ng-manager\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"ng-manager\", job=\"ng-manager\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"ng-manager\", job=\"ng-manager\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"qa\", serviceName=\"ng-manager\", job=\"ng-manager\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=prod&var-service=ng-manager&var-job=ng-manager-prod&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 2 - }, - "id": 75, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"ng-manager\", job=\"ng-manager-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"ng-manager\", job=\"ng-manager-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"ng-manager\", job=\"ng-manager-prod\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"ng-manager\", job=\"ng-manager-prod\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=free&var-service=ng-manager&var-job=ng-manager-free&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 2 - }, - "id": 76, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"ng-manager\", job=\"ng-manager-free\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"ng-manager\", job=\"ng-manager-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"ng-manager\", job=\"ng-manager-free\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"ng-manager\", job=\"ng-manager-free\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=compliance&var-service=ng-manager&var-job=ng-manager-compliance&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 2 - }, - "id": 90, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"ng-manager\", job=\"ng-manager-compliance\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"ng-manager\", job=\"ng-manager-compliance\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"ng-manager\", job=\"ng-manager-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"ng-manager\", job=\"ng-manager-compliance\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 4 - }, - "id": 87, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n cg-manager\n \n \n

\n\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=qa&var-service=cg-manager&var-job=manager&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 4 - }, - "id": 45, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"cg-manager\", job=\"manager\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"cg-manager\", job=\"manager\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"cg-manager\", job=\"manager\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"qa\", serviceName=\"cg-manager\", job=\"manager\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=prod&var-service=cg-manager&var-job=manager-prod&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 4 - }, - "id": 46, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"cg-manager\", job=\"manager-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"cg-manager\", job=\"manager-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"cg-manager\", job=\"manager-prod\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"cg-manager\", job=\"manager-prod\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=free&var-service=cg-manager&var-job=manager-free&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 4 - }, - "id": 47, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"cg-manager\", job=\"manager-free\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"cg-manager\", job=\"manager-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"cg-manager\", job=\"manager-free\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"cg-manager\", job=\"manager-free\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=compliance&var-service=cg-manager&var-job=manager-compliance&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 4 - }, - "id": 91, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"cg-manager\", job=\"manager-compliance\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"cg-manager\", job=\"manager-compliance\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"cg-manager\", job=\"manager-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"cg-manager\", job=\"manager-compliance\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 6 - }, - "id": 88, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n access-control\n \n \n

\n\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=qa&var-service=access-control&var-job=access-control&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 6 - }, - "id": 50, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"access-control\", job=\"access-control\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"access-control\", job=\"access-control\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"access-control\", job=\"access-control\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"qa\", serviceName=\"access-control\", job=\"access-control\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=prod&var-service=access-control&var-job=access-control-prod&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 6 - }, - "id": 51, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"access-control\", job=\"access-control-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"access-control\", job=\"access-control-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"access-control\", job=\"access-control-prod\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"access-control\", job=\"access-control-prod\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=free&var-service=access-control&var-job=access-control-free&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 6 - }, - "id": 52, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"access-control\", job=\"access-control-free\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"access-control\", job=\"access-control-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"access-control\", job=\"access-control-free\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"access-control\", job=\"access-control-free\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=compliance&var-service=access-control&var-job=access-control-compliance&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 6 - }, - "id": 89, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"access-control\", job=\"access-control-compliance\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"access-control\", job=\"access-control-compliance\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"access-control\", job=\"access-control-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"access-control\", job=\"access-control-compliance\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 8 - }, - "id": 96, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n pipeline-service\n \n \n

\n\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=qa&var-service=pipeline-service&var-job=pipeline-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 8 - }, - "id": 98, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"pipeline-service\", job=\"pipeline-service\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"pipeline-service\", job=\"pipeline-service\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"pipeline-service\", job=\"pipeline-service\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"qa\", serviceName=\"pipeline-service\", job=\"pipeline-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=prod&var-service=pipeline-service&var-job=pipeline-service-prod&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 8 - }, - "id": 101, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"pipeline-service\", job=\"pipeline-service-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"pipeline-service\", job=\"pipeline-service-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"pipeline-service\", job=\"pipeline-service-prod\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"pipeline-service\", job=\"pipeline-service-prod\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/platform-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-cluster=prod-private-uswest1-primary&var-env=free&var-service=pipeline-service&var-job=pipeline-service-free&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 8 - }, - "id": 102, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"pipeline-service\", job=\"pipeline-service-free\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"pipeline-service\", job=\"pipeline-service-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"pipeline-service\", job=\"pipeline-service-free\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"pipeline-service\", job=\"pipeline-service-free\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=compliance&var-service=pipeline-service&var-job=pipeline-service-compliance&from=$__from&to=$__to&var-pod=All" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 8 - }, - "id": 106, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"pipeline-service\", job=\"pipeline-service-compliance\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"pipeline-service\", job=\"pipeline-service-compliance\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"pipeline-service\", job=\"pipeline-service-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"pipeline-service\", job=\"pipeline-service-compliance\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 10 - }, - "id": 107, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n gitops-service\n \n \n

\n\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=qa&var-service=pipeline-service&var-job=pipeline-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 10 - }, - "id": 113, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"gitops-service\", job=\"gitops-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"gitops-service\", job=\"gitops-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"gitops-service\", job=\"gitops-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"qa\", serviceName=\"pipeline-service\", job=\"pipeline-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=qa&var-service=pipeline-service&var-job=pipeline-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 10 - }, - "id": 114, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"gitops-service\", job=\"gitops-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"gitops-service\", job=\"gitops-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"gitops-service\", job=\"gitops-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"prod\", serviceName=\"pipeline-service\", job=\"pipeline-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=qa&var-service=pipeline-service&var-job=pipeline-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 10 - }, - "id": 116, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"gitops-service\", job=\"gitops-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"gitops-service\", job=\"gitops-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"gitops-service\", job=\"gitops-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"free\", serviceName=\"pipeline-service\", job=\"pipeline-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=qa&var-service=pipeline-service&var-job=pipeline-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 10 - }, - "id": 117, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"gitops-service\", job=\"gitops-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"gitops-service\", job=\"gitops-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"gitops-service\", job=\"gitops-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"compliance\", serviceName=\"pipeline-service\", job=\"pipeline-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 12 - }, - "id": 92, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n platform-service\n \n \n

\n\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=localhost&var-service=platform-service&var-job=platform-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 12 - }, - "id": 108, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/platform-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-cluster=qa-private&var-env=localhost&var-service=ce-nextgen-application&var-job=ce-nextgen&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 12 - }, - "id": 103, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"ci-manager\", job=\"ci-manager\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"ci-manager\", job=\"ci-manager\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"ci-manager\", job=\"ci-manager\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"ci-manager\", job=\"ci-manager\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=free&var-service=pipeline-service&var-job=pipeline-service-free&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 12 - }, - "id": 100, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service-free\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(job) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service-free\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service-free\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=free&var-service=pipeline-service&var-job=pipeline-service-free&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 12 - }, - "id": 115, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service-compliance\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"prod-private-uswest1-primary\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service-compliance\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(job) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"prod-private-uswest1-primary\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"prod-private-uswest1-primary\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service-compliance\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 14 - }, - "id": 93, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n ce-nextgen\n \n \n

\n\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=localhost&var-service=ce-nextgen-application&var-job=ce-nextgen&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 14 - }, - "id": 95, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=localhost&var-service=ce-nextgen-application&var-job=ce-nextgen-prod&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 14 - }, - "id": 104, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-prod\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-prod\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=localhost&var-service=ce-nextgen-application&var-job=ce-nextgen-free&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 14 - }, - "id": 105, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-free\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-free\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-free\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "builder", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-free\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=ProdSetup-ManagedPrometheus&var-env=localhost&var-service=ce-nextgen-application&var-job=ce-nextgen-free&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 14 - }, - "id": 120, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-compliance\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-complaince\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-compliance\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{environment=\"localhost\", serviceName=\"ce-nextgen-application\", job=\"ce-nextgen-compliance\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "", - "gridPos": { - "h": 2, - "w": 4, - "x": 0, - "y": 16 - }, - "id": 97, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "

\n \n \n ci-manager\n \n \n

\n\n", - "mode": "html" - }, - "pluginVersion": "9.3.1", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=localhost&var-service=platform-service&var-job=platform-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 4, - "y": 16 - }, - "id": 94, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"ci-manager\", job=\"ci-manager-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"prod\", serviceName=\"ci-manager\", job=\"ci-manager-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=localhost&var-service=platform-service&var-job=platform-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 9, - "y": 16 - }, - "id": 118, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"ci-manager\", job=\"ci-manager-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"prod\", serviceName=\"ci-manager\", job=\"ci-manager-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=localhost&var-service=platform-service&var-job=platform-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 14, - "y": 16 - }, - "id": 119, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"ci-manager\", job=\"ci-manager-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"prod\", serviceName=\"ci-manager\", job=\"ci-manager-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 4, - "mappings": [ - { - "options": { - "from": 0, - "result": { - "color": "green", - "index": 0, - "text": "Healthy" - }, - "to": 1.9999 - }, - "type": "range" - }, - { - "options": { - "from": 2, - "result": { - "color": "orange", - "index": 1, - "text": "Warning" - }, - "to": 13.9999 - }, - "type": "range" - }, - { - "options": { - "from": 14, - "result": { - "color": "red", - "index": 2, - "text": "Unhealthy" - }, - "to": 2500 - }, - "type": "range" - }, - { - "options": { - "match": "null+nan", - "result": { - "color": "#808080", - "index": 3, - "text": "-" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Service_Health" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Service_Dashboard", - "url": "https://grafana.harness.io/d/B42-bJq4k/system-observability-dashboard?orgId=1&var-dataSource=QASetup-ManagedPrometheus&var-env=localhost&var-service=platform-service&var-job=platform-service&from=$__from&to=$__to" - } - ] - } - ] - } - ] - }, - "gridPos": { - "h": 2, - "w": 5, - "x": 19, - "y": 16 - }, - "id": 121, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Service_Health$/", - "values": false - }, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{cluster=\"qa-private\", environment=\"qa\", serviceName=\"ci-manager\", job=\"ci-manager-prod\"}[5m]))", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{cluster=\"qa-private\", environment=\"prod\", serviceName=\"ci-manager\", job=\"ci-manager-prod\"}[5m]))", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"}[5m]))", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "By6zGQL4k" - }, - "editorMode": "code", - "expr": "avg by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{cluster=\"qa-private\", environment=\"localhost\", serviceName=\"platform-service\", job=\"platform-service\"})", - "hide": false, - "legendFormat": "Response_Time", - "range": true, - "refId": "D" - } - ], - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "include": [ - "Total_Error_Rate" - ], - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Error_Rate", - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Response_Time_Transform_1", - "binary": { - "left": "Response_Time", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Final_Response_Time", - "binary": { - "left": "Response_Time_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "1200" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Service_Health", - "binary": { - "left": "Final_Error_Rate", - "reducer": "sum", - "right": "Final_Response_Time" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-1m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Microservices Health Dashboard", - "uid": "mToVpMeVk", - "version": 27, - "weekStart": "" -} \ No newline at end of file diff --git a/System_Usability/BUILD.bazel b/System_Usability/BUILD.bazel deleted file mode 100644 index fa21eba..0000000 --- a/System_Usability/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/System_Usability/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/System_Usability/Cloud_Cost_Analysis.json b/System_Usability/Cloud_Cost_Analysis.json deleted file mode 100644 index d722e32..0000000 --- a/System_Usability/Cloud_Cost_Analysis.json +++ /dev/null @@ -1,721 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 157, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - } - }, - "mappings": [], - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 8, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "displayLabels": [], - "legend": { - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "pieType": "donut", - "reduceOptions": { - "calcs": [], - "fields": "", - "values": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (container_name)(increase(logging_googleapis_com:byte_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\"}[$__range]))", - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "K8s Log Usage", - "transformations": [], - "transparent": true, - "type": "piechart" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "dashed" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 214748364800 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 16, - "x": 8, - "y": 0 - }, - "id": 9, - "interval": "1m", - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(container_name) (increase(logging_googleapis_com:byte_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", pod_name=~\"^($containers)-([a-z0-9]{9,10}-[a-z0-9]{5}|[a-z0-9]{5}|[0-9]{0,3})$\"}[24h]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "${containers:text}: Log Bytes Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "yellow", - "value": 30 - }, - { - "color": "red", - "value": 50 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 16, - "x": 8, - "y": 10 - }, - "id": 10, - "options": { - "displayMode": "lcd", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "horizontal", - "reduceOptions": { - "calcs": [], - "fields": "", - "values": false - }, - "showUnfilled": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(container_name) (increase(logging_googleapis_com:byte_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", pod_name=~\"^($containers)-([a-z0-9]{9,10}-[a-z0-9]{5}|[a-z0-9]{5}|[0-9]{0,3})$\"}[$__range]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "${containers:text}: Total Log Bytes Used", - "type": "bargauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 4, - "x": 0, - "y": 11 - }, - "id": 12, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "title": "Log Usage", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "gridPos": { - "h": 1, - "w": 4, - "x": 4, - "y": 11 - }, - "id": 13, - "options": { - "code": { - "language": "plaintext", - "showLineNumbers": false, - "showMiniMap": false - }, - "content": "", - "mode": "markdown" - }, - "pluginVersion": "9.3.1", - "title": "Cost (in Dollars)", - "type": "text" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 3, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 0, - "y": 12 - }, - "id": 4, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [], - "fields": "", - "values": false - }, - "text": { - "valueSize": 50 - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(increase(logging_googleapis_com:byte_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\"}[$__range]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "$cluster", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "currencyUSD" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 4, - "y": 12 - }, - "id": 6, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [], - "fields": "", - "values": false - }, - "text": { - "valueSize": 50 - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(increase(logging_googleapis_com:byte_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\"}[$__range])) * 0.50 / (1024 * 1024 * 1024)", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "$cluster", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 3, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 0, - "y": 16 - }, - "id": 7, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [], - "fields": "", - "values": false - }, - "text": { - "valueSize": 50 - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(increase(logging_googleapis_com:byte_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", pod_name=~\"^($containers)-([a-z0-9]{9,10}-[a-z0-9]{5}|[a-z0-9]{5}|[0-9]{0,3})$\"}[$__range]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "${containers:text}", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "currencyUSD" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 4, - "y": 16 - }, - "id": 8, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [], - "fields": "", - "values": false - }, - "text": { - "valueSize": 50 - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(increase(logging_googleapis_com:byte_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", pod_name=~\"^($containers)-([a-z0-9]{9,10}-[a-z0-9]{5}|[a-z0-9]{5}|[0-9]{0,3})$\"}[$__range])) * 0.50 / (1024 * 1024 * 1024)", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "${containers:text}", - "type": "stat" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Data Source", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/ManagedPrometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"kubernetes_io:container_uptime\"}, cluster_name)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values({__name__=\"kubernetes_io:container_uptime\"}, cluster_name)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "CD", - "value": "manager|ng-manager|pipeline-service|template-service|debezium-service|queue-service|migrator(-free|-prod)?|gitops-service|policy-mgmt-deployment|verification-svc|cv-nextgen|command-library-svc" - }, - "description": "", - "hide": 0, - "includeAll": false, - "label": "Module", - "multi": false, - "name": "containers", - "options": [ - { - "selected": true, - "text": "CD", - "value": "manager|ng-manager|pipeline-service|template-service|debezium-service|queue-service|migrator(-free|-prod)?|gitops-service|policy-mgmt-deployment|verification-svc|cv-nextgen|command-library-svc" - }, - { - "selected": false, - "text": "PL", - "value": "platform-service|accesscontrol-service|gateway|genai-service|manager-iterator|ng-dashboard-aggregator|audit-event-streaming|ng-auth-ui|redis-streams-monitor-deployment|chatbot-service|weaviate" - }, - { - "selected": false, - "text": "FF", - "value": "ff-admin-server|ff-auth-server|ff-client-server|ff-metrics-server|ff-proxy|pushpin(-pushpin|-worker)?|iacm-manager|iac-server" - }, - { - "selected": false, - "text": "CIE", - "value": "ci-manager|log-service|ti-service|scm" - }, - { - "selected": false, - "text": "CET", - "value": "error-tracking|et-collector|et-receiver-agent|et-receiver-decompile|et-receiver-hit|et-receiver-sql" - }, - { - "selected": false, - "text": "CDB", - "value": "dashboard" - }, - { - "selected": false, - "text": "CHAOS", - "value": "service-discovery-manager|chaos-k8s-ifs|chaos-linux-ifc|chaos-manager|chaos-prometheus-blackbox-exporter|chaos-sandbox-manager|chaos-web|node-exporter|subscriber-metrics" - }, - { - "selected": false, - "text": "CCM", - "value": "batch-processing|faktory|lwd|lwd-autocud|worker|anomaly-detection-deployment|ccm-worker|ccm-dkron|ng-ce-ui|event-service|datadog-ui|telescopes|cloud-info-deployment|ce-nextgen" - }, - { - "selected": false, - "text": "UI", - "value": "ui|next-gen-ui" - }, - { - "selected": false, - "text": "IDP", - "value": "idp-service|idp-admin-ui" - }, - { - "selected": false, - "text": "STO", - "value": "sto-manager|sto-core|ticket-service" - }, - { - "selected": false, - "text": "SRM", - "value": "le-nextgen-cv|le-nextgen-srm" - }, - { - "selected": false, - "text": "SCM", - "value": "code-api|code-gitrpc" - } - ], - "query": "CD : manager|ng-manager|pipeline-service|template-service|debezium-service|queue-service|migrator(-free|-prod)?|gitops-service|policy-mgmt-deployment|verification-svc|cv-nextgen|command-library-svc, PL : platform-service|accesscontrol-service|gateway|genai-service|manager-iterator|ng-dashboard-aggregator|audit-event-streaming|ng-auth-ui|redis-streams-monitor-deployment|chatbot-service|weaviate, FF : ff-admin-server|ff-auth-server|ff-client-server|ff-metrics-server|ff-proxy|pushpin(-pushpin|-worker)?|iacm-manager|iac-server, CIE : ci-manager|log-service|ti-service|scm, CET : error-tracking|et-collector|et-receiver-agent|et-receiver-decompile|et-receiver-hit|et-receiver-sql, CDB : dashboard, CHAOS : service-discovery-manager|chaos-k8s-ifs|chaos-linux-ifc|chaos-manager|chaos-prometheus-blackbox-exporter|chaos-sandbox-manager|chaos-web|node-exporter|subscriber-metrics, CCM : batch-processing|faktory|lwd|lwd-autocud|worker|anomaly-detection-deployment|ccm-worker|ccm-dkron|ng-ce-ui|event-service|datadog-ui|telescopes|cloud-info-deployment|ce-nextgen, UI : ui|next-gen-ui, IDP : idp-service|idp-admin-ui, STO : sto-manager|sto-core|ticket-service, SRM : le-nextgen-cv|le-nextgen-srm, SCM : code-api|code-gitrpc", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-7d", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Cloud Cost Analysis", - "uid": "Id6ia_4Sk", - "version": 49, - "weekStart": "" -} \ No newline at end of file diff --git a/System_Usability/usability.json b/System_Usability/usability.json deleted file mode 100644 index b30893f..0000000 --- a/System_Usability/usability.json +++ /dev/null @@ -1,1792 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 1, - "links": [], - "liveNow": true, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 23, - "panels": [], - "title": "Active Users", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Number of user logins", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 1200 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 1 - }, - "id": 8, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by(cluster) (increase(custom_googleapis_com:opencensus_login_success_count{monitored_resource=\"k8s_container\", environment=\"prod\"}[1d]))", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "Success", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(cluster) (increase(custom_googleapis_com:opencensus_login_failure_count{monitored_resource=\"k8s_container\", environment=\"prod\"}[1d]))", - "hide": false, - "interval": "", - "legendFormat": "Failure", - "range": true, - "refId": "B" - } - ], - "title": "Daily User Login Status (Prod1)", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Number of user logins", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 1200 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 1 - }, - "id": 31, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by(cluster) (increase(custom_googleapis_com:opencensus_login_success_count{monitored_resource=\"k8s_container\", environment=\"free\"}[1d]))", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "Success", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(cluster) (increase(custom_googleapis_com:opencensus_login_failure_count{monitored_resource=\"k8s_container\", environment=\"free\"}[1d]))", - "hide": false, - "interval": "", - "legendFormat": "Failure", - "range": true, - "refId": "B" - } - ], - "title": "Daily User Login Status (Prod2)", - "transformations": [], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Number of user logins", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 1200 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 1 - }, - "id": 32, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Last *", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum by(cluster) (increase(custom_googleapis_com:opencensus_login_success_count{monitored_resource=\"k8s_container\", environment=\"compliance\"}[1d]))", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "Success", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(cluster) (increase(custom_googleapis_com:opencensus_login_failure_count{monitored_resource=\"k8s_container\", environment=\"compliance\"}[1d]))", - "hide": false, - "interval": "", - "legendFormat": "Failure", - "range": true, - "refId": "B" - } - ], - "title": "Daily User Login Status (Prod3)", - "transformations": [], - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 21, - "panels": [], - "title": "Pipelines Status", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Number of pipelines", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 20, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 500 - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "prod" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 0, - "y": 10 - }, - "id": 11, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (environment) (increase(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", cluster_name=\"prod-private-uswest1-primary\", environment=\"prod\"}[1d]))", - "interval": "", - "legendFormat": "{{$__interval}}", - "range": true, - "refId": "A" - } - ], - "title": "Daily Pipeline Completion Count (Prod1)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Number of pipelines", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 20, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 8, - "y": 10 - }, - "id": 33, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (environment) (increase(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"free\"}[1d]))", - "interval": "", - "legendFormat": "{{$__interval}}", - "range": true, - "refId": "A" - } - ], - "title": "Daily Pipeline Completion Count (Prod2)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Number of pipelines", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 20, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 500 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 16, - "y": 10 - }, - "id": 34, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (environment) (delta(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"compliance\"}[1d]))", - "interval": "", - "legendFormat": "{{$__interval}}", - "range": true, - "refId": "A" - } - ], - "title": "Daily Pipeline Completion Count (Prod3)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "percent" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Total" - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 0, - "y": 19 - }, - "id": 38, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (status) (increase(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"prod\"}[1d]))", - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Daily Pipeline Status (Prod1)", - "transformations": [ - { - "id": "calculateField", - "options": { - "mode": "reduceRow", - "reduce": { - "include": [ - "ABORTED", - "APPROVAL_REJECTED", - "EXPIRED", - "FAILED", - "IGNORE_FAILED", - "SUCCEEDED" - ], - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "percent" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 500 - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Total" - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 8, - "y": 19 - }, - "id": 39, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (status) (increase(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"free\"}[1d]))", - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Daily Pipeline Status (Prod2)", - "transformations": [ - { - "id": "calculateField", - "options": { - "mode": "reduceRow", - "reduce": { - "include": [ - "ABORTED", - "APPROVAL_REJECTED", - "EXPIRED", - "FAILED", - "IGNORE_FAILED", - "SUCCEEDED" - ], - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "percent" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 500 - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Total" - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 16, - "y": 19 - }, - "id": 35, - "interval": "5m", - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (status) (increase(custom_googleapis_com:opencensus_pipeline_execution_end_count{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"compliance\"}[1d]))", - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Daily Pipeline Status (Prod3)", - "transformations": [ - { - "id": "calculateField", - "options": { - "mode": "reduceRow", - "reduce": { - "include": [ - "ABORTED", - "APPROVAL_REJECTED", - "EXPIRED", - "FAILED", - "IGNORE_FAILED", - "SUCCEEDED" - ], - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 28 - }, - "id": 19, - "panels": [], - "title": "Delegates", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 500 - } - ] - }, - "unit": "none" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "compliance" - }, - "properties": [ - { - "id": "displayName", - "value": "Prod3" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "free" - }, - "properties": [ - { - "id": "displayName", - "value": "Prod2" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "prod" - }, - "properties": [ - { - "id": "displayName", - "value": "Prod1" - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 29 - }, - "id": 17, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(environment) (custom_googleapis_com:opencensus_active_delegate_count{monitored_resource=\"k8s_container\",cluster_name=\"prod-private-uswest1-primary\"})", - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Active Delegate Counts (Time Series)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#6a3857", - "value": null - }, - { - "color": "#2846b1", - "value": 500 - } - ] - }, - "unit": "/sec" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "compliance" - }, - "properties": [ - { - "id": "displayName", - "value": "Prod3" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "free" - }, - "properties": [ - { - "id": "displayName", - "value": "Prod2" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "prod" - }, - "properties": [ - { - "id": "displayName", - "value": "Prod1" - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 29 - }, - "id": 26, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by (environment) (rate(custom_googleapis_com:opencensus_delegate_task_creation{monitored_resource=\"k8s_container\",cluster_name=\"prod-private-uswest1-primary\"}[1m]))", - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Delegate Task Creation Rate", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 37 - }, - "id": 49, - "panels": [], - "title": "Feature Flags", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "description": "Shows which SDKs are being used", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 0, - "y": 38 - }, - "id": 47, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "J-cX-5I4k" - }, - "editorMode": "code", - "expr": "sum by(sdk_language, sdk_version, sdk_type) (rate(ff_metrics_service_sdk_count{}[$__rate_interval]))", - "legendFormat": "{{sdk_type}}/{{sdk_language}} - {{sdk_version}}", - "range": true, - "refId": "A" - } - ], - "title": "SDK Usage", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 8, - "y": 38 - }, - "id": 45, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(matched_url_path_rule, response_code) (rate(loadbalancing_googleapis_com:https_request_count{backend_target_name=~\".*pushpin.*\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "{{matched_url_path_rule}}: {{response_code}}", - "range": true, - "refId": "A" - } - ], - "title": "Stream Request Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 16, - "y": 38 - }, - "id": 43, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "editorMode": "code", - "expr": "sum by(matched_url_path_rule, response_code) (rate(loadbalancing_googleapis_com:https_request_count{backend_target_name=~\".*cf-client-backend\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "{{response_code}}", - "range": true, - "refId": "A" - } - ], - "title": "Evaluation Request Rate", - "type": "timeseries" - } - ], - "refresh": "1m", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/Prometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "P395BF20BBBA74F0A" - }, - "definition": "label_values(up{}, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(up{}, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Production Metrics Dashboard", - "uid": "F9dOkEgIk", - "version": 17, - "weekStart": "" -} diff --git a/Unified_Dashboards/access-control-entity-metrics.yaml b/Unified_Dashboards/access-control-entity-metrics.yaml deleted file mode 100644 index e329433..0000000 --- a/Unified_Dashboards/access-control-entity-metrics.yaml +++ /dev/null @@ -1,596 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: access-control-entity-metrics - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "entity_crud [ accessControlService ]" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_behind_by_count{monitored_resource=\"k8s_container\",cluster_name=\"$cluster\", namespace=\"$redis_namespace\", consumergroupName=\"accessControlService\"})", - "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", - "range": true, - "refId": "A" - } - ], - "title": "Redis Consumer Group Behind from Stream", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "entity_crud [ accessControlService ]" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_pending_count{monitored_resource=\"k8s_container\" , cluster_name=\"$cluster\", namespace=\"$redis_namespace\", consumergroupName=\"accessControlService\"})", - "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", - "range": true, - "refId": "A" - } - ], - "title": "Consumer Group Pending Count for Stream", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "sortBy": "Mean", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(eventType,environment) (rate(outbox_event_processing_time_sum{ serviceId=\"accessControlService\",environment=~\"$environment\"}[1m]))", - "interval": "", - "legendFormat": "{{eventType}}", - "range": true, - "refId": "A" - } - ], - "title": "outbox_entries_processing_time_by_event_type (ms)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 9, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(resourceType,environment) (rate(outbox_event_waiting_time_sum{serviceId=\"accessControlService\",environment=~\"$environment\"}[1m]))", - "interval": "", - "legendFormat": "{{resourceType}}", - "range": true, - "refId": "A" - } - ], - "title": "outbox_entries_delay_by_resource_type (ms)", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "0compatible" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(outbox_event_processing_time_sum,cluster)", - "description": "", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(outbox_event_processing_time_sum,cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod", - "value": "prod" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(outbox_event_processing_time_sum,environment)", - "hide": 0, - "includeAll": false, - "label": "Environment", - "multi": false, - "name": "environment", - "options": [], - "query": { - "query": "label_values(outbox_event_processing_time_sum,environment)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "prod", - "value": "prod" - }, - "hide": 0, - "includeAll": false, - "label": "redis_namespace", - "multi": false, - "name": "redis_namespace", - "options": [ - { - "selected": true, - "text": "prod", - "value": "prod" - }, - { - "selected": false, - "text": "freemium", - "value": "freemium" - }, - { - "selected": false, - "text": "compliance", - "value": "compliance" - } - ], - "query": "prod , freemium , compliance", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Access Control Entity Metrics", - "uid": "1IhMNvnIk", - "version": 8, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/access-control-http-metrics.yaml b/Unified_Dashboards/access-control-http-metrics.yaml deleted file mode 100644 index aa7c32d..0000000 --- a/Unified_Dashboards/access-control-http-metrics.yaml +++ /dev/null @@ -1,889 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: access-control-http-metrics - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 9, - "title": "Service Overview", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 5, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "index": 0, - "text": "0.00%" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 6, - "x": 0, - "y": 1 - }, - "id": 6, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(serviceName , namespace) (rate(io_harness_resources_responses_count{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"access-control\"}[5m]))", - "instant": false, - "legendFormat": "{{serviceName}} [{{namespace}}]", - "range": true, - "refId": "A" - } - ], - "title": "All APIs Request Rate [ Service Load ]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 6, - "y": 1 - }, - "id": 7, - "options": { - "alertInstanceLabelFilter": "{serviceName=access-control}", - "alertName": "", - "dashboardAlerts": false, - "folder": { - "title": "platform", - "uid": "VUX4mTqVk" - }, - "groupBy": [], - "groupMode": "default", - "maxItems": 20, - "sortOrder": 1, - "stateFilter": { - "error": true, - "firing": true, - "noData": true, - "normal": true, - "pending": true - }, - "viewMode": "list" - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "editorMode": "code", - "expr": "max by(method, resource) (io_harness_resources_responses_latency_snapshot_95thPercentile{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"access-control\"}) > 1", - "instant": false, - "legendFormat": "{{resource}} [{{method}}]", - "range": true, - "refId": "A" - } - ], - "title": "Access Control Prod Alerts [ Current State ]", - "type": "alertlist" - }, - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 6, - "x": 18, - "y": 1 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "editorMode": "code", - "expr": "max by(method, resource) (io_harness_resources_responses_latency_snapshot_95thPercentile{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"access-control\"}) > 1", - "instant": false, - "legendFormat": "{{resource}} [{{method}}]", - "range": true, - "refId": "A" - } - ], - "title": "Top Slowest APIs > 1s", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 8, - "panels": [], - "title": "$resource", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 5, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "index": 0, - "text": "0.00%" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 6, - "x": 0, - "y": 11 - }, - "id": 5, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(resource , namespace) (rate(io_harness_resources_responses_count{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"access-control\" , resource=\"$resource\"}[5m]))", - "instant": false, - "legendFormat": "{{resource}} [{{namespace}}]", - "range": true, - "refId": "A" - } - ], - "title": "$resource APIs Request Rate [ Resource Load ]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 5, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "index": 0, - "text": "0.00%" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 6, - "x": 6, - "y": 11 - }, - "id": 1, - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='access-control' , resource=\"$resource\" , namespace='$namespace' , statusCode='$statusCode'}[5m]))*100) \n/ \n(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='access-control' , resource=\"$resource\" , namespace='$namespace'}[5m])))", - "instant": false, - "legendFormat": "{{method}}", - "range": true, - "refId": "A" - } - ], - "title": "$resource APIs $statusCode %", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 6, - "x": 12, - "y": 11 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_95thPercentile{cluster='$cluster',resource=\"$resource\" , namespace='$namespace'})", - "instant": false, - "legendFormat": "{{method}}", - "range": true, - "refId": "A" - } - ], - "title": "$resource P95 ART", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 6, - "x": 18, - "y": 11 - }, - "id": 3, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_99thPercentile{cluster='$cluster',resource=\"$resource\" , namespace='$namespace'})", - "instant": false, - "legendFormat": "{{method}}", - "range": true, - "refId": "A" - } - ], - "title": "$resource P99 ART", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "0compatible" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"access-control.*\"},cluster_name)", - "hide": 0, - "includeAll": false, - "label": "cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{container_name=~\"access-control.*\"},cluster_name)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"access-control.*\" , cluster_name=\"$cluster\"},namespace_name)", - "hide": 0, - "includeAll": false, - "label": "namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{container_name=~\"access-control.*\" , cluster_name=\"$cluster\"},namespace_name)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "ACLResource", - "value": "ACLResource" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(io_harness_resources_responses_count{cluster=\"$cluster\", serviceName=\"access-control\"},resource)", - "hide": 0, - "includeAll": false, - "label": "resource", - "multi": false, - "name": "resource", - "options": [], - "query": { - "query": "label_values(io_harness_resources_responses_count{cluster=\"$cluster\", serviceName=\"access-control\"},resource)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "2xx", - "value": "2xx" - }, - "hide": 0, - "includeAll": false, - "label": "statusCode", - "multi": false, - "name": "statusCode", - "options": [ - { - "selected": false, - "text": "1xx", - "value": "1xx" - }, - { - "selected": true, - "text": "2xx", - "value": "2xx" - }, - { - "selected": false, - "text": "3xx", - "value": "3xx" - }, - { - "selected": false, - "text": "4xx", - "value": "4xx" - }, - { - "selected": false, - "text": "5xx", - "value": "5xx" - } - ], - "query": "1xx , 2xx , 3xx , 4xx , 5xx", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Access Control HTTP Metrics", - "uid": "f86f2bd6-af60-4a57-94f1-a180410446b0", - "version": 5, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/delegate-agent-resource-calls.yaml b/Unified_Dashboards/delegate-agent-resource-calls.yaml deleted file mode 100644 index 8d8af8e..0000000 --- a/Unified_Dashboards/delegate-agent-resource-calls.yaml +++ /dev/null @@ -1,554 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: delegate-agent-resource-calls - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 427, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "(sum by(method) \n(rate(software_wings_resources_responses_count{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\", statusCode='$status'}[5m]))*100) \n/ \n(sum by(method) \n(rate(software_wings_resources_responses_count{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\"}[5m])))", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "rate_by_status_code (%)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(method) \n(rate(software_wings_resources_responses_count{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "api_calls_sum", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by (method) (software_wings_resources_responses_latency_snapshot_95thPercentile{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\"})\n", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Api P95 ART", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by (method) (software_wings_resources_responses_latency_snapshot_95thPercentile{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\"} > 5)\n", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "P95 more than 5 sec", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 39, - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": true, - "text": "free", - "value": "free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"active_delegate_count\"},environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values({__name__=\"active_delegate_count\"},environment)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"active_delegate_count\"},cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values({__name__=\"active_delegate_count\"},cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "4xx", - "value": "4xx" - }, - "hide": 0, - "includeAll": false, - "label": "Status", - "multi": false, - "name": "status", - "options": [ - { - "selected": false, - "text": "1xx", - "value": "1xx" - }, - { - "selected": false, - "text": "2xx", - "value": "2xx" - }, - { - "selected": false, - "text": "3xx", - "value": "3xx" - }, - { - "selected": true, - "text": "4xx", - "value": "4xx" - }, - { - "selected": false, - "text": "5xx", - "value": "5xx" - } - ], - "query": "1xx , 2xx , 3xx , 4xx , 5xx", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Delegate Agent Resource calls", - "uid": "cdfdc3e3-b966-47b4-9a36-9bd2a4ad14d6", - "version": 12, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/delegate-tasks.yaml b/Unified_Dashboards/delegate-tasks.yaml deleted file mode 100644 index 365e2f6..0000000 --- a/Unified_Dashboards/delegate-tasks.yaml +++ /dev/null @@ -1,879 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: delegate-tasks - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(delta(active_delegate_task{cluster=\"$cluster\", environment=\"$env\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "active_delegate_task", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(delegate_task_creation_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "delegate_task_creation", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(taskType) (delta(delegate_task_creation_by_type_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "delegate_task_creation_by_type", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(delegate_task_acquire_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "delegate_task_acquire", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(rate(delegate_response_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "delegate_response", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(delegate_task_rebroadcast_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "delegate_task_rebroadcast", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 27 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(delegate_task_expired_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "delegate_task_expired", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 27 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(rate(delegate_task_no_eligible_delegates_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "delegate_task_no_eligible_delegates", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 39, - "tags": [ - "0compatible" - ], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "free", - "value": "free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"active_delegate_count\"},environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values({__name__=\"active_delegate_count\"},environment)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"active_delegate_count\"},cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values({__name__=\"active_delegate_count\"},cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Delegate tasks", - "uid": "Xus3WJr4z", - "version": 22, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/delegates.yaml b/Unified_Dashboards/delegates.yaml deleted file mode 100644 index 9db07f1..0000000 --- a/Unified_Dashboards/delegates.yaml +++ /dev/null @@ -1,1080 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: delegates - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(delegate_registration_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "Delegate Registrations", - "range": true, - "refId": "A" - } - ], - "title": "delegate_registration", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(delegate_registration_failed_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "Delegate Failed Registrations", - "range": true, - "refId": "A" - } - ], - "title": "delegate_registration_failed", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(delegate_restarted_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "Delegate Restarts", - "range": true, - "refId": "A" - } - ], - "title": "delegate_restarted", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(active_delegate_count{cluster=\"$cluster\", environment=\"$env\"})", - "legendFormat": "Active Delegate Count", - "range": true, - "refId": "A" - } - ], - "title": "active_delegate_count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(delegate_disconnected_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "Delegate Disconnected", - "range": true, - "refId": "A" - } - ], - "title": "delegate_disconnected_rate (avg of all accounts)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by(environment) (delta(delegate_disconnected_total{cluster=\"$cluster\", environment=\"$env\", accountId=\"$accountId\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "delegate_disconnected_rate (per account)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 27 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "count by(container_name) (websocket_connections_count{cluster=\"$cluster\", environment=\"$env\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "websocket_connections_count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 27 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(immutable_delegate{cluster=\"$cluster\", environment=\"$env\"})", - "legendFormat": "Immutable Delegate Count", - "range": true, - "refId": "A" - } - ], - "title": "immutable_delegate_count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 35 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "count by(container_name) (active_delegate_process_count{cluster=\"$cluster\", environment=\"$env\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "active_delegate_process_count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 35 - }, - "id": 12, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max(active_delegate_task{cluster=\"$cluster\", environment=\"$env\"})", - "legendFormat": "Active Delegate Tasks", - "range": true, - "refId": "A" - } - ], - "title": "Active Delegate Tasks Count", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "0compatible" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "/ManagedPrometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(active_delegate_count,cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(active_delegate_count,cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod", - "value": "prod" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(active_delegate_count,environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(active_delegate_count,environment)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "8VwWgE0WRK67_PWDpkooNA", - "value": "8VwWgE0WRK67_PWDpkooNA" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(delegate_registration_total{cluster=\"$cluster\", environment=\"$env\"},accountId)", - "hide": 0, - "includeAll": false, - "label": "AccountId", - "multi": false, - "name": "accountId", - "options": [], - "query": { - "query": "label_values(delegate_registration_total{cluster=\"$cluster\", environment=\"$env\"},accountId)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-1h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Delegates Summary", - "uid": "y5I3FbrVk", - "version": 17, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/generic-infra-metric-dashboard.yaml b/Unified_Dashboards/generic-infra-metric-dashboard.yaml deleted file mode 100644 index 8870ba3..0000000 --- a/Unified_Dashboards/generic-infra-metric-dashboard.yaml +++ /dev/null @@ -1,846 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: generic-infra-metric-dashboard - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "Dashboard for Monitoring daily health of the services", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": true, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_used_bytes{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}) by(namespace_name, pod_name, container_name) ", - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_limit_bytes{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}) by (namespace_name, pod_name, container_name)", - "hide": false, - "legendFormat": "Limit/{{pod_name}}", - "range": true, - "refId": "B" - } - ], - "title": "$container Memory Util", - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_cpu_request_cores{namespace_name=~\"$namespace\", container_name=~\"$container.*\" , pod_name=~\"$pod\"}", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(kubernetes_io:container_cpu_core_usage_time{namespace_name=~\"$namespace\", container_name=~\"$container\" , pod_name=~\"$pod\"}[$__interval])", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - } - ], - "title": "$container CPU util", - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 12, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true, - "width": 200 - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[5m]), 0.001))", - "legendFormat": "{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Uptime", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(namespace_name, container_name) (delta(kubernetes_io:container_restart_count{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[2m]) / 2)", - "legendFormat": "{{container_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Container Restarts", - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 17 - }, - "id": 10, - "maxDataPoints": 1830, - "maxPerRow": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "repeat": "container", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "count_over_time(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", severity=~\"ERROR\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container\"}[1h])", - "hide": false, - "legendFormat": "{{pod_name}}", - "range": true, - "refId": "A" - } - ], - "title": "$container last 1 hr error ", - "transparent": true, - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 73 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (namespace, container, image_spec, version) (label_replace(kube_pod_container_info{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"$container\"}, \"version\", \"$1\", \"image_spec\", \".*/([0-9a-z-]+[:@].*)\")) * 0 + 1", - "legendFormat": "{{version}}", - "range": true, - "refId": "A" - } - ], - "title": "Image version", - "type": "timeseries" - } - ], - "refresh": "5s", - "schemaVersion": 37, - "style": "dark", - "tags": [ - "PL", - "CAE", - "Platform", - "weekly-monitoring" - ], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": true, - "text": "access-control", - "value": "access-control" - }, - "hide": 0, - "includeAll": false, - "label": "Container", - "multi": false, - "name": "container", - "options": [ - { - "selected": true, - "text": "access-control", - "value": "access-control" - }, - { - "selected": false, - "text": "platform-service", - "value": "platform-service" - }, - { - "selected": false, - "text": "manager-iterator", - "value": "manager-iterator" - }, - { - "selected": false, - "text": "manager", - "value": "manager" - }, - { - "selected": false, - "text": "ng-manager", - "value": "ng-manager" - }, - { - "selected": false, - "text": "gateway", - "value": "gateway" - }, - { - "selected": false, - "text": "ng-dashboard-aggregator", - "value": "ng-dashboard-aggregator" - }, - { - "selected": false, - "text": "audit-event-streaming", - "value": "audit-event-streaming" - }, - { - "selected": false, - "text": "chatbot-service", - "value": "chatbot-service" - }, - { - "selected": false, - "text": "redis-streams-monitor", - "value": "redis-streams-monitor" - }, - { - "selected": false, - "text": "ng-auth-ui", - "value": "ng-auth-ui" - }, - { - "selected": false, - "text": "genai-service", - "value": "genai-service" - }, - { - "selected": false, - "text": "agent-gateway", - "value": "agent-gateway" - } - ], - "query": "access-control , platform-service , manager-iterator , manager , ng-manager , gateway , ng-dashboard-aggregator , audit-event-streaming , chatbot-service , redis-streams-monitor , ng-auth-ui , genai-service , agent-gateway", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{container_name=~\"platform-service.*\"}", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{container_name=~\"platform-service.*\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*cluster_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kube_pod_container_info{cluster=\"$cluster\", container=~\"$container\"}, namespace)\n", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(kube_pod_container_info{cluster=\"$cluster\", container=~\"$container\"}, namespace)\n", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kube_pod_container_info{cluster=\"$cluster\", namespace=\"$namespace\" , container=\"$container\"}, pod)", - "hide": 0, - "includeAll": true, - "label": "Pods", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "label_values(kube_pod_container_info{cluster=\"$cluster\", namespace=\"$namespace\" , container=\"$container\"}, pod)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Generic Infra Monitoring Dashboard", - "uid": "pcPndkWSk", - "version": 1, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/iterator-metrics.yaml b/Unified_Dashboards/iterator-metrics.yaml deleted file mode 100644 index f28c0ee..0000000 --- a/Unified_Dashboards/iterator-metrics.yaml +++ /dev/null @@ -1,531 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: iterator-metrics - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (rate(iterator_working_on_entity_total{cluster=\"$cluster\", environment=\"$environment\", iteratorName=\"$iteratorName\"}[3h]))", - "legendFormat": "Working on Entity Rate", - "range": true, - "refId": "A" - } - ], - "title": "iterator_working_on_entity", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (histogram_quantile(0.5, delta(iterator_delay_bucket{cluster=\"$cluster\", environment=\"$environment\", iteratorName=\"$iteratorName\"}[3h])))", - "legendFormat": "Delay", - "range": true, - "refId": "A" - } - ], - "title": "iterator_delay", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "avg by(environment) (histogram_quantile(0.5, delta(iterator_processing_time_bucket{cluster=\"$cluster\", environment=\"$environment\", iteratorName=\"$iteratorName\"}[3h])))", - "legendFormat": "Processing Time", - "range": true, - "refId": "A" - } - ], - "title": "iterator_processing_time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum by(iteratorName) (iterator_error_total{cluster=\"$cluster\", environment=\"$environment\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "iterator_error", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "0compatible" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(iterator_working_on_entity_total,cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(iterator_working_on_entity_total,cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod", - "value": "prod" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(iterator_working_on_entity_total,environment)", - "hide": 0, - "includeAll": false, - "label": "Environment", - "multi": false, - "name": "environment", - "options": [], - "query": { - "query": "label_values(iterator_working_on_entity_total,environment)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "ArtifactCollection", - "value": "ArtifactCollection" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(iterator_working_on_entity_total{cluster=\"$cluster\",environment=\"$environment\"},iteratorName)", - "hide": 0, - "includeAll": false, - "label": "IteratorName", - "multi": false, - "name": "iteratorName", - "options": [], - "query": { - "query": "label_values(iterator_working_on_entity_total{cluster=\"$cluster\",environment=\"$environment\"},iteratorName)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Iterator Metrics", - "uid": "q6nokmEVk", - "version": 16, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/outbox-metrics.yaml b/Unified_Dashboards/outbox-metrics.yaml deleted file mode 100644 index fa9d632..0000000 --- a/Unified_Dashboards/outbox-metrics.yaml +++ /dev/null @@ -1,897 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: outbox-metrics - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 53, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by(serviceId) (outbox_queue_size{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\", eventType=\"AllEventTypes\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "total_outbox_entries", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 12, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by(serviceId) (outbox_blocked_queue_size{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\", eventType=\"AllEventTypes\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "total_blocked_outbox_entries", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by(eventType) (outbox_queue_size{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\", eventType!=\"AllEventTypes\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "total_outbox_entries_by_event_type", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 13, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "max by(eventType) (outbox_blocked_queue_size{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "total_blocked_outbox_entries_by_event_type", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 16 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(resourceType) (rate(outbox_event_processing_time_sum{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "outbox_entries_processing_time_by_resource_type (ms)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 16 - }, - "id": 15, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(resourceType) (rate(outbox_event_waiting_time_sum{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "outbox_entries_delay_by_resource_type (ms)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 24 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(eventType) (rate(outbox_event_processing_time_sum{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "outbox_entries_processing_time_by_event_type (ms)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 24 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by(eventType) (rate(outbox_event_waiting_time_sum{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\"}[1m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "outbox_entries_delay_by_event_type (ms)", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"outbox_queue_size\"}, cluster)", - "description": "", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values({__name__=\"outbox_queue_size\"}, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "free", - "value": "free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"outbox_queue_size\"}, environment)", - "hide": 0, - "includeAll": false, - "label": "Environment", - "multi": false, - "name": "environment", - "options": [], - "query": { - "query": "label_values({__name__=\"outbox_queue_size\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "accessControlService", - "value": "accessControlService" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"outbox_queue_size\"}, serviceId)", - "hide": 0, - "includeAll": false, - "label": "serviceId", - "multi": false, - "name": "serviceId", - "options": [], - "query": { - "query": "label_values({__name__=\"outbox_queue_size\"}, serviceId)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Outbox Metrics", - "uid": "UnfVMoqVk", - "version": 10, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/perpetual-tasks.yaml b/Unified_Dashboards/perpetual-tasks.yaml deleted file mode 100644 index 778e4c5..0000000 --- a/Unified_Dashboards/perpetual-tasks.yaml +++ /dev/null @@ -1,971 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: perpetual-tasks - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "number of perpetual tasks", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(max by(accountId) (perpetual_tasks_num{cluster=\"$cluster\", environment=\"$env\"}))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "pepetual_tasks_number", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "number of perpetual tasks", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(max by(accountId) (perpetual_tasks_assigned_num{cluster=\"$cluster\", environment=\"$env\"}))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "perpetual_tasks_assigned_num", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(max by(accountId) (perpetual_tasks_unassigned_num{cluster=\"$cluster\", environment=\"$env\"}))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "perpetual_tasks_unassigned_num", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(max by(accountId) (perpetual_invalid_tasks{cluster=\"$cluster\", environment=\"$env\"}))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "perpetual_invalid_tasks", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(max by(accountId) (perpetual_tasks_non_assignable_num{cluster=\"$cluster\", environment=\"$env\"}))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "perpetual_tasks_non_assignable_num", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ns" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg by() (delta(iterator_delay_sum{cluster=\"$cluster\", environment=\"$env\", iteratorName=\"PerpetualTaskAssignment\"}[5m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "perpetual_task_assign_delay", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 27 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(perpetual_task_create_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "perpetual_tasks_created", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 27 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(delta(perpetual_task_assigned_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "perpetual_tasks_assigned", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 36 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(max by(accountId) (perpetual_tasks_paused_num{cluster=\"$cluster\", environment=\"$env\"}))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "perpetual_tasks_paused_num", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "0compatible" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "free", - "value": "free" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"perpetual_tasks_num\"}, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values({__name__=\"perpetual_tasks_num\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"perpetual_tasks_num\"}, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values({__name__=\"perpetual_tasks_num\"}, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-5m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Perpetual Tasks", - "uid": "n5w7gA94k", - "version": 18, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/platform-service-http-metrics.yaml b/Unified_Dashboards/platform-service-http-metrics.yaml deleted file mode 100644 index ca4af54..0000000 --- a/Unified_Dashboards/platform-service-http-metrics.yaml +++ /dev/null @@ -1,813 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: platform-service-http-metrics - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 373, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 5, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "index": 0, - "text": "0.00%" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 6, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(serviceName , namespace) (rate(io_harness_resources_responses_count{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"platform-service\"}[5m]))", - "instant": false, - "legendFormat": "{{serviceName}} [{{namespace}}]", - "range": true, - "refId": "A" - } - ], - "title": "All APIs Request Rate [ Service Load ]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "mean", - "max", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "editorMode": "code", - "expr": "max by(method, resource) (io_harness_resources_responses_latency_snapshot_95thPercentile{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"platform-service\"}) > 1", - "instant": false, - "legendFormat": "{{resource}} [{{method}}]", - "range": true, - "refId": "A" - } - ], - "title": "Top Slowest APIs > 1s", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 5, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "index": 0, - "text": "0.00%" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 6, - "x": 0, - "y": 9 - }, - "id": 1, - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='platform-service' , resource=\"$resource\" , namespace='$namespace' , statusCode='$statusCode'}[5m]))*100) \n/ \n(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='platform-service' , resource=\"$resource\" , namespace='$namespace'}[5m])))", - "instant": false, - "legendFormat": "{{method}}", - "range": true, - "refId": "A" - } - ], - "title": "$resource API $statusCode Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 5, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "index": 0, - "text": "0.00%" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 6, - "x": 6, - "y": 9 - }, - "id": 5, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by(resource , namespace) (rate(io_harness_resources_responses_count{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"platform-service\" , resource=\"$resource\"}[5m]))", - "instant": false, - "legendFormat": "{{resource}} [{{namespace}}]", - "range": true, - "refId": "A" - } - ], - "title": "$resource APIs Request Rate [ API Load ]", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 6, - "x": 12, - "y": 9 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_95thPercentile{cluster='$cluster',resource=\"$resource\" , namespace='$namespace'})", - "instant": false, - "legendFormat": "{{method}}", - "range": true, - "refId": "A" - } - ], - "title": "$resource P95 ART", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 6, - "x": 18, - "y": 9 - }, - "id": 3, - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_99thPercentile{cluster='$cluster',resource=\"$resource\" , namespace='$namespace'})", - "instant": false, - "legendFormat": "{{method}}", - "range": true, - "refId": "A" - } - ], - "title": "$resource P99 ART", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 38, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"platform-service.*\"},cluster_name)", - "hide": 0, - "includeAll": false, - "label": "cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{container_name=~\"platform-service.*\"},cluster_name)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"platform-service.*\" , cluster_name=\"$cluster\"},namespace_name)", - "hide": 0, - "includeAll": false, - "label": "namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{container_name=~\"platform-service.*\" , cluster_name=\"$cluster\"},namespace_name)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "NotificationResource", - "value": "NotificationResource" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(io_harness_resources_responses_count{cluster=\"$cluster\", serviceName=\"platform-service\"},resource)", - "hide": 0, - "includeAll": false, - "label": "resource", - "multi": false, - "name": "resource", - "options": [], - "query": { - "query": "label_values(io_harness_resources_responses_count{cluster=\"$cluster\", serviceName=\"platform-service\"},resource)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "2xx", - "value": "2xx" - }, - "hide": 0, - "includeAll": false, - "label": "statusCode", - "multi": false, - "name": "statusCode", - "options": [ - { - "selected": false, - "text": "1xx", - "value": "1xx" - }, - { - "selected": true, - "text": "2xx", - "value": "2xx" - }, - { - "selected": false, - "text": "3xx", - "value": "3xx" - }, - { - "selected": false, - "text": "4xx", - "value": "4xx" - }, - { - "selected": false, - "text": "5xx", - "value": "5xx" - } - ], - "query": "1xx , 2xx , 3xx , 4xx , 5xx", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-12h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Platform Service HTTP Metrics", - "uid": "f86f2bd6-af60-4a57-95a1-a180410446b0", - "version": 2, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/redis-stream-monitor-new.yaml b/Unified_Dashboards/redis-stream-monitor-new.yaml deleted file mode 100644 index e92fde0..0000000 --- a/Unified_Dashboards/redis-stream-monitor-new.yaml +++ /dev/null @@ -1,1416 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: redis-stream-monitor-new - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 495, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Total Redis Memory Usage", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 75, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "max" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true, - "sortBy": "Max", - "sortDesc": true - }, - "timezone": [ - "", - "" - ], - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName) (redis_streams_memory_usage{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Streams Memory Usage (All Streams)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName) (redis_streams_memory_usage{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Streams Memory Usage (Per Stream Selection)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Total Redis Streams Length", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 75, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "timezone": [ - "", - "" - ], - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName) (redis_streams_length{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Streams Length (All Streams)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName) (redis_streams_length{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Streams Length (Per Stream Selection)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Total Redis Memory Usage", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 75, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "timezone": [ - "", - "" - ], - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName) (redis_streams_average_message_size{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Streams Avg Message Size (All Streams)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName) (redis_streams_average_message_size{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Redis Streams Avg Message Size (Per Stream Selection)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Total Redis Memory Usage", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 75, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 27 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "timezone": [ - "", - "" - ], - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName, consumergroupName) (redis_streams_consumer_group_behind_by_count{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", - "range": true, - "refId": "A" - } - ], - "title": "Consumer Group Behind From Stream (All Streams)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 27 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName, consumergroupName) (redis_streams_consumer_group_behind_by_count{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", - "range": true, - "refId": "A" - } - ], - "title": "Consumer Group Behind From Stream (Per Stream Selection)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Total Redis Memory Usage", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 75, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 36 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "timezone": [ - "", - "" - ], - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName, consumergroupName) (redis_streams_consumer_group_pending_count{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", - "range": true, - "refId": "A" - } - ], - "title": "Consumer Group Pending Count (All Streams)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 36 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(usecaseName, consumergroupName) (redis_streams_consumer_group_pending_count{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", - "range": true, - "refId": "A" - } - ], - "title": "Consumer Group Pending Count (Per Stream Selection)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "Total Redis Memory Usage", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 75, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 45 - }, - "id": 12, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "timezone": [ - "", - "" - ], - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(exported_namespace, usecaseName) (redis_streams_events_framework_deadletter_queue_size{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "{{exported_namespace}}:streams:deadletter_queue:{{usecaseName}}", - "range": true, - "refId": "A" - } - ], - "title": "Dead Letter Queue Size (All Streams)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 45 - }, - "id": 13, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg by(exported_namespace, usecaseName) (redis_streams_events_framework_deadletter_queue_size{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", - "format": "time_series", - "instant": false, - "legendFormat": "{{exported_namespace}}:streams:deadletter_queue:{{usecaseName}}", - "range": true, - "refId": "A" - } - ], - "title": "Dead Letter Queue Size (Per Stream Selection)", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 39, - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(redis_streams_memory_usage,cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "qryType": 1, - "query": "label_values(redis_streams_memory_usage,cluster)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(redis_streams_memory_usage,environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "qryType": 1, - "query": "label_values(redis_streams_memory_usage,environment)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(redis_streams_memory_usage,usecaseName)", - "hide": 0, - "includeAll": false, - "label": "Usecase", - "multi": false, - "name": "usecase", - "options": [], - "query": { - "qryType": 1, - "query": "label_values(redis_streams_memory_usage,usecaseName)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "isNone": true, - "selected": false, - "text": "None", - "value": "" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(redis_streams_memory_usage,namespace)", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "qryType": 1, - "query": "label_values(redis_streams_memory_usage,namespace)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-15m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Redis Streams Monitor(New)", - "uid": "auMXlQ34edgfdgd", - "version": 2, - "weekStart": "" - } diff --git a/Unified_Dashboards/scopeinfo-resource.yaml b/Unified_Dashboards/scopeinfo-resource.yaml deleted file mode 100644 index 8d6f116..0000000 --- a/Unified_Dashboards/scopeinfo-resource.yaml +++ /dev/null @@ -1,469 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: scopeinfo-resource - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 6.4, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [ - { - "options": { - "match": "null+nan", - "result": { - "index": 0, - "text": "0.00%" - } - }, - "type": "special" - } - ], - "noValue": "0", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "mean" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='ng-manager' , resource=\"ScopeInfoResource\" , namespace='$namespace' , statusCode='$statusCode'}[5m]))*100) \n/ \n(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='ng-manager' , resource=\"ScopeInfoResource\" , namespace='$namespace'}[5m])))", - "instant": false, - "legendFormat": "{{method}}", - "range": true, - "refId": "A" - } - ], - "title": "ScopeInfoResource API $statusCode Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": -0.6, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 3, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_95thPercentile{cluster='$cluster',resource=\"ScopeInfoResource\" , namespace='$namespace'})", - "instant": false, - "legendFormat": "{{environment}}", - "range": true, - "refId": "A" - } - ], - "title": "ScopeInfoResource API P95", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": -0.6, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_99thPercentile{cluster='$cluster',resource=\"ScopeInfoResource\" , namespace='$namespace'})", - "instant": false, - "legendFormat": "{{environment}}", - "range": true, - "refId": "A" - } - ], - "title": "ScopeInfoResource API P99", - "type": "timeseries" - } - ], - "refresh": "10s", - "schemaVersion": 38, - "style": "dark", - "tags": [ - "0compatible" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"ng-manager.*\"},cluster_name)", - "hide": 0, - "includeAll": false, - "label": "cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(kubernetes_io:container_uptime{container_name=~\"ng-manager.*\"},cluster_name)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(io_harness_resources_responses_count{resource=\"ScopeInfoResource\"},namespace)", - "hide": 0, - "includeAll": false, - "label": "namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(io_harness_resources_responses_count{resource=\"ScopeInfoResource\"},namespace)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "2xx", - "value": "2xx" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "statusCode", - "options": [ - { - "selected": false, - "text": "1xx", - "value": "1xx" - }, - { - "selected": true, - "text": "2xx", - "value": "2xx" - }, - { - "selected": false, - "text": "3xx", - "value": "3xx" - }, - { - "selected": false, - "text": "4xx", - "value": "4xx" - }, - { - "selected": false, - "text": "5xx", - "value": "5xx" - } - ], - "query": "1xx , 2xx , 3xx , 4xx , 5xx", - "queryValue": "", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "ScopeInfo Resource HTTP", - "uid": "edfeb18d-6724-49f4-ad9f-c715e852d570", - "version": 5, - "weekStart": "" - } \ No newline at end of file diff --git a/Unified_Dashboards/system-observability.yaml b/Unified_Dashboards/system-observability.yaml deleted file mode 100644 index 344660a..0000000 --- a/Unified_Dashboards/system-observability.yaml +++ /dev/null @@ -1,1997 +0,0 @@ -apiVersion: grafana.integreatly.org/v1beta1 -kind: GrafanaDashboard -metadata: - name: system-observability - namespace: observability -spec: - resyncPeriod: 30s - instanceSelector: - matchLabels: - dashboards: "grafana-instance" - json: > - { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#627ea8", - "mode": "fixed" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 19, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^Total_Error_Rate$/", - "values": false - }, - "text": {}, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(job) (io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "4xx_Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(job) (io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "5xx_Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(job) (io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Total_Count", - "range": true, - "refId": "C" - } - ], - "title": "Mean Error Rate", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx_Count", - "reducer": "sum", - "right": "5xx_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total_Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Error_Rate_Transform_1", - "binary": { - "left": "Total_Error_Rate", - "operator": "*", - "reducer": "sum", - "right": "10000" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "binary": { - "left": "Error_Rate_Transform_1", - "operator": "/", - "reducer": "sum", - "right": "150" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "#627ea8", - "mode": "fixed" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 21, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/^99\\.9%$/", - "values": false - }, - "text": {}, - "textMode": "value" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "99.9%", - "range": true, - "refId": "A" - } - ], - "title": "Mean Response Time (95%)", - "transformations": [], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "orange", - "mode": "fixed" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 4, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percentunit" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "^(?!.*Total_Error_Rate).*$" - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 2 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m]))", - "legendFormat": "4xx Count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m]))", - "hide": false, - "legendFormat": "5xx Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"$env\", serviceName=\"$service\", pod=~\"$pod\"}[5m]))", - "hide": false, - "legendFormat": "Total Count", - "range": true, - "refId": "C" - } - ], - "title": "HTTP Error Rate", - "transformations": [ - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Count", - "binary": { - "left": "4xx Count", - "reducer": "sum", - "right": "5xx Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - }, - { - "id": "calculateField", - "options": { - "alias": "Total_Error_Rate", - "binary": { - "left": "Total_Error_Count", - "operator": "/", - "reducer": "sum", - "right": "Total Count" - }, - "mode": "binary", - "reduce": { - "reducer": "sum" - } - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "red", - "mode": "fixed" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 2 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_95thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "95th percentile snapshot", - "range": true, - "refId": "A" - } - ], - "title": "HTTP Response 95th percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 11 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m]))", - "legendFormat": "4xx Count in last 5 mins", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (delta(io_dropwizard_jetty_MutableServletContextHandler_5xx_responses_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m]))", - "hide": false, - "legendFormat": "5xx Count in last 5 mins", - "range": true, - "refId": "B" - } - ], - "title": "HTTP Error Count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 11 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "avg by(environment) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_99thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "99th percentile snapshot", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "avg by(environment) (io_dropwizard_jetty_MutableServletContextHandler_requests_snapshot_999thPercentile{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "99.9th percentile snapshot", - "range": true, - "refId": "B" - } - ], - "title": "HTTP Response 99th percentile", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 20 - }, - "id": 23, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" - }, - "editorMode": "code", - "expr": "sum(rate(io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m])) by (environment)", - "legendFormat": "$service: $env", - "range": true, - "refId": "A" - } - ], - "title": "HTTP Request Count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 20 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_non_heap_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Used", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_non_heap_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - } - ], - "title": "JVM Non-Heap Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 28 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_max{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Max", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Used", - "range": true, - "refId": "C" - } - ], - "title": "JVM Total Memory Max, Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 29 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_pools_Metaspace_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Used", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_pools_Metaspace_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - } - ], - "title": "JVM Metaspace Memory Pool Used, Committed", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 37 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_max{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Max", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Used", - "range": true, - "refId": "C" - } - ], - "title": "JVM Heap Max, Committed, Used", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 38 - }, - "id": 13, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_runnable_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Runnable", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_timed_waiting_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Timed Waiting", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_waiting_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Waiting", - "range": true, - "refId": "C" - } - ], - "title": "JVM Threads State", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 46 - }, - "id": 12, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Threads count", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_daemon_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Daemon Threads Count", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_peak_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Peak Threads Count", - "range": true, - "refId": "C" - } - ], - "title": "JVM Threads Count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 47 - }, - "id": 15, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (org_eclipse_jetty_util_thread_QueuedThreadPool_dw_size{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Threads servicing requests", - "range": true, - "refId": "A" - } - ], - "title": "DW Threads Count", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 55 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_blocked_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Blocked", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_deadlock_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Deadlock", - "range": true, - "refId": "B" - } - ], - "title": "JVM Threads Blocked / Deadlock State", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 56 - }, - "id": 17, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (org_eclipse_jetty_util_thread_QueuedThreadPool_dw_jobs{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Queued Jobs waiting for DW Thread", - "range": true, - "refId": "A" - } - ], - "title": "Nos of Queued DW Jobs", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 64 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "avg by(environment) (org_eclipse_jetty_util_thread_QueuedThreadPool_dw_utilization{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Thread Utilization %", - "range": true, - "refId": "A" - } - ], - "title": "DW Threads Utilization", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "dataSource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": false, - "regex": "/Prometheus/", - "skipUrlSync": false, - "type": "datasource" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count, environment)", - "hide": 0, - "includeAll": false, - "label": "Env", - "multi": false, - "name": "env", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": false, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\"}, serviceName)", - "hide": 0, - "includeAll": false, - "label": "Service", - "multi": false, - "name": "service", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\"}, serviceName)", - "refId": "StandardVariableQuery" - }, - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\"}, job)", - "hide": 0, - "includeAll": false, - "label": "Job", - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\"}, job)", - "refId": "StandardVariableQuery" - }, - "refresh": false, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{serviceName =\"$service\", environment=\"$env\"}, pod)", - "hide": 0, - "includeAll": true, - "label": "Pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{serviceName =\"$service\", environment=\"$env\"}, pod)", - "refId": "StandardVariableQuery" - }, - "refresh": false, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-5m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "System Observability Dashboard", - "uid": "B42-bJq4k", - "version": 31, - "weekStart": "" - } \ No newline at end of file diff --git a/WORKSPACE b/WORKSPACE deleted file mode 100644 index 7930471..0000000 --- a/WORKSPACE +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2023 Harness Inc. All rights reserved. -# Use of this source code is governed by the PolyForm Free Trial 1.0.0 license -# that can be found in the licenses directory at the root of this repository, also available at -# https://polyformproject.org/wp-content/uploads/2020/05/PolyForm-Free-Trial-1.0.0.txt. - -workspace(name = "harness_dashboards") - -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -http_archive( - name = "com_github_bazelbuild_buildtools", - sha256 = "932160d5694e688cb7a05ac38efba4b9a90470c75f39716d85fb1d2f95eec96d", - strip_prefix = "buildtools-4.0.1", - url = "https://harness-artifactory.harness.io/artifactory/bazel-buildtools-github/archive/refs/tags/4.0.1.zip", -) - -# Workaround for https://github.com/bazelbuild/bazel-gazelle/issues/1285. Ideally, -# we can remove this if gazelle ships a fix since we didn't need it before. -http_archive( - name = "bazel_skylib", - sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz", - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz", - ], -) - -load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") - -bazel_skylib_workspace() - -http_archive( - name = "rules_pkg", - sha256 = "038f1caa773a7e35b3663865ffb003169c6a71dc995e39bf4815792f385d837d", - urls = [ - "https://harness-artifactory.harness.io/artifactory/rules-pkg-github/download/0.4.0/rules_pkg-0.4.0.tar.gz", - #"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz", - #"https://github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz", - ], -) - -load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") - -rules_pkg_dependencies() diff --git a/Weaviate/BUILD.bazel b/Weaviate/BUILD.bazel deleted file mode 100644 index 47e1ac3..0000000 --- a/Weaviate/BUILD.bazel +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar") - -filegroup( - name = "dashboards", - srcs = glob(["*.json"]), - visibility = ["//visibility:public"], -) - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - ":dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/Weaviate/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/Weaviate/LSM_Store.json b/Weaviate/LSM_Store.json deleted file mode 100644 index f4fde26..0000000 --- a/Weaviate/LSM_Store.json +++ /dev/null @@ -1,842 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 86, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "Replace is used primarly for object storage.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "text", - "value": null - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 0, - "y": 0 - }, - "id": 8, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (level, unit) (lsm_segment_size{strategy=\"replace\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "legendFormat": "Level {{level}} / {{unit}} ", - "range": true, - "refId": "A" - } - ], - "title": "LSM Strategy Replace by Level (Object Storage)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "SetCollections are used in the inverted index for anything that does not have a frequency, e.g. numbers, bools, etc.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "text", - "value": null - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 8, - "y": 0 - }, - "id": 9, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (level, unit) (lsm_segment_size{strategy=\"setcollection\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "legendFormat": "Level {{level}} / {{unit}} ", - "range": true, - "refId": "A" - } - ], - "title": "LSM Strategy SetCollection by Level (Inverted without frequency)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "MapCollections are used in the inverted index for anything that has a frequency, which is mainly text and string props. Those need a frequency for BM25 calculations.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "text", - "value": null - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 16, - "y": 0 - }, - "id": 10, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum by (level, unit) (lsm_segment_size{strategy=\"mapcollection\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "legendFormat": "Level {{level}} / {{unit}} ", - "range": true, - "refId": "A" - } - ], - "title": "LSM Strategy MapCollection by Level (Inverted with frequency)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 11, - "x": 0, - "y": 10 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "lsm_memtable_size{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}", - "legendFormat": "{{path}}", - "range": true, - "refId": "A" - } - ], - "title": "Memtable Size (Individual)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 11, - "y": 10 - }, - "id": 16, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(lsm_memtable_durations_ms_sum{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])/rate(lsm_memtable_durations_ms_count{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "legendFormat": "{{operation}} ({{path}})", - "range": true, - "refId": "A" - } - ], - "title": "Memtable Operations (individual)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "The bloom filters are designed to quickly produce true negatives, but sometimes they have false positive which require an actual disk lookup.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 18 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(lsm_bloom_filters_duration_ms_sum{strategy=\"replace\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])/rate(lsm_bloom_filters_duration_ms_count{strategy=\"replace\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "legendFormat": "{{operation}} ({{class_name}}/{{shard_name}})", - "range": true, - "refId": "A" - } - ], - "title": "Bloom Filter Hits and Misses Duration", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "Ratio of false-positive to all requests to the bloom filter, i.e. those that required an unnecessary disk lookup.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 3, - "x": 8, - "y": 18 - }, - "id": 4, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "expr": "sum(lsm_bloom_filters_duration_ms_count{operation=\"get_false_positive\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})/(sum(lsm_bloom_filters_duration_ms_count{operation=\"get_true_negative\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})+sum(lsm_bloom_filters_duration_ms_count{operation=\"get_true_positive\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})+sum(lsm_bloom_filters_duration_ms_count{operation=\"get_false_positive\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}))", - "refId": "A" - } - ], - "title": "Bloom Filter False Positive Ratio", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "text", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 7, - "x": 11, - "y": 18 - }, - "id": 6, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(lsm_bloom_filters_duration_ms_count{operation=\"get_true_positive\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "legendFormat": "True Positives", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(lsm_bloom_filters_duration_ms_count{operation=\"get_true_negative\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "True Negatives", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(lsm_bloom_filters_duration_ms_count{operation=\"get_false_positive\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "False Positives", - "range": true, - "refId": "C" - } - ], - "title": "Bloom Filter Access", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "The grouping is done by strategy which means the reported Object storage value may be slightly too high, due to other buckets using replace strategy.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "text", - "value": null - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 18, - "y": 18 - }, - "id": 12, - "options": { - "displayMode": "gradient", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(lsm_segment_size{strategy=\"replace\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "legendFormat": "Object Storage", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(lsm_segment_size{strategy=\"mapcollection\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}) + ignoring(strategy) sum(lsm_segment_size{strategy=\"setcollection\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Inverted Index", - "range": true, - "refId": "B" - } - ], - "title": "Estimated Sizes LSM stores", - "type": "bargauge" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": true, - "text": "harness-nextgen-compliance", - "value": "harness-nextgen-compliance" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, namespace)", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, namespace)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "weaviate-compliance", - "value": "weaviate-compliance" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, job)", - "hide": 0, - "includeAll": false, - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, job)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-15m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "LSM Store", - "uid": "hPd0sernz", - "version": 12, - "weekStart": "" -} \ No newline at end of file diff --git a/Weaviate/Usage.json b/Weaviate/Usage.json deleted file mode 100644 index 3ed3674..0000000 --- a/Weaviate/Usage.json +++ /dev/null @@ -1,361 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 84, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 10, - "x": 0, - "y": 0 - }, - "id": 2, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(object_count{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "interval": "", - "legendFormat": "", - "range": true, - "refId": "A" - } - ], - "title": "Overall Object Count", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 10, - "x": 11, - "y": 0 - }, - "id": 3, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "object_count{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}", - "interval": "", - "legendFormat": "{{ class_name }} / {{ shard_name }}", - "range": true, - "refId": "A" - } - ], - "title": "Object Count per Class / Shard", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "purple", - "value": null - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 10, - "x": 0, - "y": 10 - }, - "id": 5, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(vector_index_operations{operation=\"create\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "interval": "", - "legendFormat": "Vector Additions", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "exemplar": true, - "expr": "sum(vector_index_operations{operation=\"delete\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "interval": "", - "legendFormat": "Vector Deletions", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "exemplar": true, - "expr": "sum(vector_index_operations{operation=\"create\", namespace=\"$namespace\", cluster=\"$cluster\"}) - ignoring(operation) sum(vector_index_operations{operation=\"delete\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "interval": "", - "legendFormat": "Net Vectors", - "refId": "C" - } - ], - "title": "Vector Statistics across all Classes", - "type": "stat" - } - ], - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": true, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": true, - "text": "harness-nextgen-compliance", - "value": "harness-nextgen-compliance" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, namespace)\n", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, namespace)\n", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": true, - "text": "weaviate-compliance", - "value": "weaviate-compliance" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, job)", - "hide": 0, - "includeAll": false, - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, job)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-15m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Usage", - "uid": "KK1fvyqnz", - "version": 7, - "weekStart": "" -} \ No newline at end of file diff --git a/Weaviate/host_metrics.json b/Weaviate/host_metrics.json deleted file mode 100644 index 4d59d83..0000000 --- a/Weaviate/host_metrics.json +++ /dev/null @@ -1,361 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "description": "A quickstart to setup Prometheus Node Exporter with preconfigured dashboards, alerting rules, and recording rules. Mac OSX.", - "editable": true, - "fiscalYearStartMonth": 0, - "gnetId": 15797, - "graphTooltip": 0, - "id": 89, - "links": [], - "liveNow": false, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 11, - "x": 0, - "y": 0 - }, - "hiddenSeries": false, - "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "process_resident_memory_bytes{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}/ 1000000", - "legendFormat": "Resident Memory", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "process_virtual_memory_bytes{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}/ 1000000", - "legendFormat": "Virtual Memory", - "range": true, - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Memory Usage over Time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 11, - "x": 0, - "y": 11 - }, - "hiddenSeries": false, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "target": { - "expr": "rate(process_cpu_seconds_total[5m])", - "legendFormat": "CPU Usage" - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "rate(process_cpu_seconds_total{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[5m])", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "CPU Usage (per second) over Time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - } - ], - "refresh": "", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "QASetup-ManagedPrometheus", - "value": "QASetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, namespace)", - "hide": 0, - "includeAll": false, - "label": "namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, namespace)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "qa-private", - "value": "qa-private" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "weaviate", - "value": "weaviate" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, job)", - "hide": 0, - "includeAll": false, - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, job)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-15m", - "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": "browser", - "title": "Host Metrics Mac", - "uid": "node-exporter-mac", - "version": 15, - "weekStart": "" -} \ No newline at end of file diff --git a/Weaviate/querying.json b/Weaviate/querying.json deleted file mode 100644 index 4765930..0000000 --- a/Weaviate/querying.json +++ /dev/null @@ -1,987 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 82, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "Average query latency per time interval for each class.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "rate(queries_durations_ms_sum{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval]) / rate(queries_durations_ms_count{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "legendFormat": "{{class_name}} ", - "range": true, - "refId": "A" - } - ], - "title": "Average Query Latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "Number of queries per second for each class", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-YlBl" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 7, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "rate(queries_durations_ms_count{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "legendFormat": "{{class_name}}", - "range": true, - "refId": "A" - } - ], - "title": "Query Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "Note the percentiles are calculated from histogram buckets so have an associated error see https://prometheus.io/docs/practices/histograms/#errors-of-quantile-estimation", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-YlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 9 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.90, sum(rate(queries_durations_ms_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])) by (le,class_name))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "90th Percentile Query Latency (Estimated)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "Note the percentiles are calculated from histogram buckets so have an associated error see https://prometheus.io/docs/practices/histograms/#errors-of-quantile-estimation", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-YlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 9 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(queries_durations_ms_bucket{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])) by (le,class_name))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "95th Percentile Query Latency (Estimated)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "Break down of filtered query latency by operation", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 17 - }, - "id": 11, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "rate(queries_filtered_vector_durations_ms_sum{operation=\"filter\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval]) / rate(queries_filtered_vector_durations_ms_count{operation=\"filter\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "legendFormat": "{{class_name}}/{{operation}}/{{shard_name}}", - "range": true, - "refId": "Filter" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "rate(queries_filtered_vector_durations_ms_sum{operation=\"sort\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval]) / rate(queries_filtered_vector_durations_ms_count{operation=\"sort\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "hide": false, - "legendFormat": "{{class_name}}/{{operation}}/{{shard_name}}", - "range": true, - "refId": "Sort" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "rate(queries_filtered_vector_durations_ms_sum{operation=\"vector\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval]) / rate(queries_filtered_vector_durations_ms_count{operation=\"vector\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "hide": false, - "legendFormat": "{{class_name}}/{{operation}}/{{shard_name}}", - "range": true, - "refId": "Vector" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "rate(queries_filtered_vector_durations_ms_sum{operation=\"objects\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval]) / rate(queries_filtered_vector_durations_ms_count{operation=\"objects\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "hide": false, - "legendFormat": "{{class_name}}/{{operation}}/{{shard_name}}", - "range": true, - "refId": "Objects" - } - ], - "title": "Filtered Query Latency", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 17 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "builder", - "expr": "sum(concurrent_queries_count{query_type=\"batch\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Batch (Objects)", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(concurrent_queries_count{query_type=\"batch_references\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Batch (References)", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(concurrent_queries_count{query_type=\"add_object\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "interval": "", - "legendFormat": "Add (Objects)", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(concurrent_queries_count{query_type=\"update_object\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "interval": "", - "legendFormat": "Update (Objects)", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(concurrent_queries_count{query_type=\"merge_object\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Merge (Objects)", - "range": true, - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(concurrent_queries_count{query_type=\"delete_object\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Delete (Objects)", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(concurrent_queries_count{query_type=\"add_reference\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Add (Reference)", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(concurrent_queries_count{query_type=\"update_reference\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Update (Reference)", - "range": true, - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(concurrent_queries_count{query_type=\"delete_reference\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Delete (Reference)", - "range": true, - "refId": "I" - } - ], - "title": "Concurrent Write Requests", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 26 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(concurrent_queries_count{query_type=\"aggregate\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "interval": "", - "legendFormat": "Aggregate", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "exemplar": true, - "expr": "sum(concurrent_queries_count{query_type=\"get_graphql\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "interval": "", - "legendFormat": "Get (GraphQL)", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(concurrent_queries_count{query_type=\"get_object\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Get (Objects)", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "sum(concurrent_queries_count{query_type=\"head_object\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "hide": false, - "legendFormat": "Head (Objects)", - "range": true, - "refId": "D" - } - ], - "title": "Concurrent Read Requests", - "type": "timeseries" - } - ], - "refresh": "5s", - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, - "hide": 0, - "includeAll": false, - "label": "DataSource", - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": { - "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, namespace)", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, namespace)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, cluster)", - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, cluster)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "weaviate", - "value": "weaviate" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, job)", - "hide": 0, - "includeAll": false, - "label": "job", - "multi": false, - "name": "query0", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, job)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-5m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Querying", - "uid": "ImxRLXe7z", - "version": 15, - "weekStart": "" -} \ No newline at end of file diff --git a/chart/Chart.lock b/chart/Chart.lock new file mode 100644 index 0000000..ce7a421 --- /dev/null +++ b/chart/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: harness-common + repository: https://harness.github.io/helm-common + version: 1.3.78 +digest: sha256:e98b7869520aac9adbc240b8166e618c2444d87a6d5a91e561609adf630407b7 +generated: "2025-02-03T12:59:01.418875-08:00" diff --git a/chart/Chart.yaml b/chart/Chart.yaml new file mode 100644 index 0000000..8df33a7 --- /dev/null +++ b/chart/Chart.yaml @@ -0,0 +1,29 @@ +apiVersion: v2 +name: harness-dashboards +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" + +dependencies: + - name: harness-common + version: 1.x.x + repository: https://harness.github.io/helm-common diff --git a/chart/Harness/CD/new.json b/chart/Harness/CD/new.json new file mode 100644 index 0000000..bb85258 --- /dev/null +++ b/chart/Harness/CD/new.json @@ -0,0 +1,29 @@ +{ + "id": null, + "title": "Simple Dashboard ARYA 1", + "tags": [], + "style": "dark", + "timezone": "browser", + "editable": true, + "hideControls": false, + "graphTooltip": 1, + "panels": [], + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": { + "time_options": [], + "refresh_intervals": [] + }, + "templating": { + "list": [] + }, + "annotations": { + "list": [] + }, + "refresh": "5s", + "schemaVersion": 17, + "version": 0, + "links": [] + } \ No newline at end of file diff --git a/chart/Harness/DEL/del.json b/chart/Harness/DEL/del.json new file mode 100644 index 0000000..584df38 --- /dev/null +++ b/chart/Harness/DEL/del.json @@ -0,0 +1,29 @@ +{ + "id": null, + "title": "Simple Dashboard ARYA 2", + "tags": [], + "style": "dark", + "timezone": "browser", + "editable": true, + "hideControls": false, + "graphTooltip": 1, + "panels": [], + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": { + "time_options": [], + "refresh_intervals": [] + }, + "templating": { + "list": [] + }, + "annotations": { + "list": [] + }, + "refresh": "5s", + "schemaVersion": 17, + "version": 0, + "links": [] + } \ No newline at end of file diff --git a/Platform/Access_Control_Entity_Metrics.json b/chart/Harness/PL/access-control-entity-metrics.json similarity index 83% rename from Platform/Access_Control_Entity_Metrics.json rename to chart/Harness/PL/access-control-entity-metrics.json index 70f837d..71ec2e5 100644 --- a/Platform/Access_Control_Entity_Metrics.json +++ b/chart/Harness/PL/access-control-entity-metrics.json @@ -24,7 +24,6 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 138, "links": [], "liveNow": false, "panels": [ @@ -83,7 +82,32 @@ ] } }, - "overrides": [] + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "entity_crud [ accessControlService ]" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] }, "gridPos": { "h": 8, @@ -91,7 +115,7 @@ "x": 0, "y": 0 }, - "id": 4, + "id": 6, "options": { "legend": { "calcs": [], @@ -111,13 +135,13 @@ "uid": "${dataSource}" }, "editorMode": "code", - "expr": "max by(entityType) (rate(access_control_entity_processing_time_sum{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\"}[1m]))", - "legendFormat": "__auto", + "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_behind_by_count{monitored_resource=\"k8s_container\",cluster_name=\"$cluster\", namespace=\"$redis_namespace\", consumergroupName=\"accessControlService\"})", + "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", "range": true, "refId": "A" } ], - "title": "access_control_entity_processing_time_by_entity_type (ms)", + "title": "Redis Consumer Group Behind from Stream", "type": "timeseries" }, { @@ -175,7 +199,32 @@ ] } }, - "overrides": [] + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "entity_crud [ accessControlService ]" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] }, "gridPos": { "h": 8, @@ -183,7 +232,7 @@ "x": 12, "y": 0 }, - "id": 5, + "id": 7, "options": { "legend": { "calcs": [], @@ -203,13 +252,13 @@ "uid": "${dataSource}" }, "editorMode": "code", - "expr": "max by(action) (rate(access_control_entity_processing_time_sum{cluster=\"$cluster\", environment=\"$environment\", serviceId=\"$serviceId\"}[1m]))", - "legendFormat": "__auto", + "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_pending_count{monitored_resource=\"k8s_container\" , cluster_name=\"$cluster\", namespace=\"$redis_namespace\", consumergroupName=\"accessControlService\"})", + "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", "range": true, "refId": "A" } ], - "title": "access_control_entity_processing_time_by_action (ms)", + "title": "Consumer Group Pending Count for Stream", "type": "timeseries" }, { @@ -267,32 +316,7 @@ ] } }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "entity_crud [ accessControlService ]" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 8, @@ -300,13 +324,18 @@ "x": 0, "y": 8 }, - "id": 6, + "id": 8, "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true, + "sortBy": "Mean", + "sortDesc": true }, "tooltip": { "mode": "single", @@ -320,13 +349,14 @@ "uid": "${dataSource}" }, "editorMode": "code", - "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_behind_by_count{monitored_resource=\"k8s_container\",cluster_name=\"$cluster\", namespace=\"$redis_namespace\", consumergroupName=\"$serviceId\"})", - "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", + "expr": "avg by(eventType,environment) (rate(outbox_event_processing_time_sum{ serviceId=\"accessControlService\",environment=~\"$environment\"}[1m]))", + "interval": "", + "legendFormat": "{{eventType}}", "range": true, "refId": "A" } ], - "title": "Consumer Group Behind from Stream", + "title": "outbox_entries_processing_time_by_event_type (ms)", "type": "timeseries" }, { @@ -384,32 +414,7 @@ ] } }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "entity_crud [ accessControlService ]" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 8, @@ -417,12 +422,15 @@ "x": 12, "y": 8 }, - "id": 7, + "id": 9, "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right", "showLegend": true }, "tooltip": { @@ -437,25 +445,28 @@ "uid": "${dataSource}" }, "editorMode": "code", - "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_pending_count{monitored_resource=\"k8s_container\" , cluster_name=\"$cluster\", namespace=\"$redis_namespace\", consumergroupName=\"$serviceId\"})", - "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", + "expr": "avg by(resourceType,environment) (rate(outbox_event_waiting_time_sum{serviceId=\"accessControlService\",environment=~\"$environment\"}[1m]))", + "interval": "", + "legendFormat": "{{resourceType}}", "range": true, "refId": "A" } ], - "title": "Consumer Group Pending Count for Stream", + "title": "outbox_entries_delay_by_resource_type (ms)", "type": "timeseries" } ], - "refresh": false, - "schemaVersion": 37, + "refresh": "", + "schemaVersion": 38, "style": "dark", - "tags": [], + "tags": [ + "0compatible" + ], "templating": { "list": [ { "current": { - "selected": true, + "selected": false, "text": "ProdSetup-ManagedPrometheus", "value": "ProdSetup-ManagedPrometheus" }, @@ -468,7 +479,6 @@ "query": "prometheus", "queryValue": "", "refresh": 1, - "regex": "/ManagedPrometheus/", "skipUrlSync": false, "type": "datasource" }, @@ -482,7 +492,7 @@ "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values({__name__=\"access_control_entity_processing_time_sum\"}, cluster)", + "definition": "label_values(outbox_event_processing_time_sum,cluster)", "description": "", "hide": 0, "includeAll": false, @@ -491,8 +501,8 @@ "name": "cluster", "options": [], "query": { - "query": "label_values({__name__=\"access_control_entity_processing_time_sum\"}, cluster)", - "refId": "StandardVariableQuery" + "query": "label_values(outbox_event_processing_time_sum,cluster)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -502,7 +512,7 @@ }, { "current": { - "selected": true, + "selected": false, "text": "prod", "value": "prod" }, @@ -510,7 +520,7 @@ "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values({__name__=\"access_control_entity_processing_time_sum\"}, environment)", + "definition": "label_values(outbox_event_processing_time_sum,environment)", "hide": 0, "includeAll": false, "label": "Environment", @@ -518,8 +528,8 @@ "name": "environment", "options": [], "query": { - "query": "label_values({__name__=\"access_control_entity_processing_time_sum\"}, environment)", - "refId": "StandardVariableQuery" + "query": "label_values(outbox_event_processing_time_sum,environment)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -530,33 +540,6 @@ { "current": { "selected": true, - "text": "accessControlService", - "value": "accessControlService" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values({__name__=\"access_control_entity_processing_time_sum\"}, serviceId)", - "hide": 0, - "includeAll": false, - "label": "serviceId", - "multi": false, - "name": "serviceId", - "options": [], - "query": { - "query": "label_values({__name__=\"access_control_entity_processing_time_sum\"}, serviceId)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, "text": "prod", "value": "prod" }, @@ -583,19 +566,17 @@ } ], "query": "prod , freemium , compliance", + "queryValue": "", "skipUrlSync": false, "type": "custom" } ] }, "time": { - "from": "now-6h", + "from": "now-1h", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "Access Control Entity Metrics", - "uid": "1IhMNvnIk", - "version": 2, - "weekStart": "" + "title": "Access Control Entity Metrics" } \ No newline at end of file diff --git a/CD-OPA-GitOps-CV/Gitops_Metrics.json b/chart/Harness/PL/access-control-http-metrics.json similarity index 62% rename from CD-OPA-GitOps-CV/Gitops_Metrics.json rename to chart/Harness/PL/access-control-http-metrics.json index f2c5fe3..9ac741d 100644 --- a/CD-OPA-GitOps-CV/Gitops_Metrics.json +++ b/chart/Harness/PL/access-control-http-metrics.json @@ -11,40 +11,32 @@ "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, "type": "dashboard" } ] }, + "description": "", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 37, "links": [], "liveNow": false, "panels": [ { - "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, - "id": 20, - "panels": [], - "title": "Container Metrics", + "id": 9, + "title": "Service Overview", "type": "row" }, { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "fieldConfig": { "defaults": { @@ -56,6 +48,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 5, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -81,7 +74,18 @@ "mode": "off" } }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null+nan", + "result": { + "index": 0, + "text": "0.00%" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ @@ -95,21 +99,23 @@ } ] }, - "unit": "bytes" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, + "h": 9, + "w": 6, "x": 0, "y": 1 }, - "id": 2, + "id": 6, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -122,164 +128,73 @@ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "editorMode": "code", - "exemplar": false, - "expr": "go_memstats_alloc_bytes{job=\"$job\", cluster=\"$cluster\"}", + "expr": "sum by(serviceName , namespace) (rate(io_harness_resources_responses_count{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"access-control\"}[5m]))", "instant": false, - "interval": "", - "legendFormat": "{{pod}}", + "legendFormat": "{{serviceName}} [{{namespace}}]", "range": true, "refId": "A" } ], - "title": "Memory Usage by pod", + "title": "All APIs Request Rate [ Service Load ]", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "series", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "gridPos": { - "h": 8, + "h": 9, "w": 12, - "x": 12, + "x": 6, "y": 1 }, - "id": 12, - "interval": "150s", + "id": 7, "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "alertInstanceLabelFilter": "{serviceName=access-control}", + "alertName": "", + "dashboardAlerts": false, + "folder": { + "title": "platform", + "uid": "VUX4mTqVk" }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "noData": true, + "normal": true, + "pending": true + }, + "viewMode": "list" }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "editorMode": "code", - "expr": "go_memstats_alloc_bytes{cluster=\"$cluster\", job=\"$job\"}", - "interval": "", - "legendFormat": "bytes allocated", + "expr": "max by(method, resource) (io_harness_resources_responses_latency_snapshot_95thPercentile{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"access-control\"}) > 1", + "instant": false, + "legendFormat": "{{resource}} [{{method}}]", "range": true, "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg(rate(go_memstats_alloc_bytes_total{cluster=\"$cluster\", job=\"$job\"}[$__interval]))", - "hide": false, - "legendFormat": "alloc rate", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg(go_memstats_stack_inuse_bytes{cluster=\"$cluster\", job=\"$job\"})", - "hide": false, - "legendFormat": "stack usage", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "avg(go_memstats_heap_inuse_bytes{cluster=\"$cluster\", job=\"$job\"})", - "hide": false, - "legendFormat": "heap usage", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "hide": false, - "refId": "E" } ], - "title": "Memory", - "type": "timeseries" + "title": "Access Control Prod Alerts [ Current State ]", + "type": "alertlist" }, { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "fieldConfig": { "defaults": { @@ -330,21 +245,25 @@ } ] }, - "unit": "ms" + "unit": "s" }, "overrides": [] }, "gridPos": { "h": 9, - "w": 12, - "x": 0, - "y": 9 + "w": 6, + "x": 18, + "y": 1 }, - "id": 8, + "id": 4, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "mean", + "max", + "lastNotNull" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -357,22 +276,36 @@ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "editorMode": "code", - "expr": "sum(rate(go_gc_duration_seconds_sum{cluster=\"$cluster\", job=\"$job\"}[1m])) / sum(rate(go_gc_duration_seconds_count{job=\"$job\"}[1m])) * 1000\n", - "legendFormat": "__auto", + "expr": "max by(method, resource) (io_harness_resources_responses_latency_snapshot_95thPercentile{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"access-control\"}) > 1", + "instant": false, + "legendFormat": "{{resource}} [{{method}}]", "range": true, "refId": "A" } ], - "title": "Average garbage collector duration in ms", + "title": "Top Slowest APIs > 1s", "type": "timeseries" }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 8, + "panels": [], + "title": "$resource", + "type": "row" + }, { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "fieldConfig": { "defaults": { @@ -384,6 +317,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 5, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -409,7 +343,18 @@ "mode": "off" } }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null+nan", + "result": { + "index": 0, + "text": "0.00%" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ @@ -422,22 +367,24 @@ "value": 80 } ] - } + }, + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 9 + "h": 10, + "w": 6, + "x": 0, + "y": 11 }, - "id": 10, - "interval": "60s", + "id": 5, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -450,98 +397,23 @@ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "editorMode": "code", - "expr": "go_goroutines{cluster=\"$cluster\", job=\"$job\"}", - "legendFormat": "{{pod}}", + "expr": "sum by(resource , namespace) (rate(io_harness_resources_responses_count{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"access-control\" , resource=\"$resource\"}[5m]))", + "instant": false, + "legendFormat": "{{resource}} [{{namespace}}]", "range": true, "refId": "A" } ], - "title": "GO routines", + "title": "$resource APIs Request Rate [ Resource Load ]", "type": "timeseries" }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 18, - "panels": [], - "title": "Gitops Business Metrics", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 19 - }, - "id": 16, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "code", - "expr": "sum(gitops_service_taskv2_in_progress) by (type)", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "In progress tasks", - "type": "gauge" - }, { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "fieldConfig": { "defaults": { @@ -553,6 +425,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 5, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -563,11 +436,8 @@ "viz": false }, "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, "lineWidth": 1, - "pointSize": 1, + "pointSize": 5, "scaleDistribution": { "type": "linear" }, @@ -581,7 +451,18 @@ "mode": "off" } }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null+nan", + "result": { + "index": 0, + "text": "0.00%" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ @@ -595,21 +476,24 @@ } ] }, - "unit": "reqps" + "unit": "percent" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 19 + "h": 10, + "w": 6, + "x": 6, + "y": 11 }, - "id": 6, + "id": 1, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "lastNotNull", + "max" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -622,22 +506,23 @@ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(rate(grpc_server_handled_total{job=\"$job\",grpc_type=\"unary\",grpc_code!=\"OK\", cluster=\"$cluster\"}[1m])) by (grpc_method)", - "legendFormat": "__auto", + "expr": "(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='access-control' , resource=\"$resource\" , namespace='$namespace' , statusCode='$statusCode'}[5m]))*100) \n/ \n(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='access-control' , resource=\"$resource\" , namespace='$namespace'}[5m])))", + "instant": false, + "legendFormat": "{{method}}", "range": true, "refId": "A" } ], - "title": "Error ratio", + "title": "$resource APIs $statusCode %", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "fieldConfig": { "defaults": { @@ -651,17 +536,14 @@ "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 15, - "gradientMode": "opacity", + "fillOpacity": 0, + "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -682,28 +564,32 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - } + }, + "unit": "s" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 27 + "h": 10, + "w": 6, + "x": 12, + "y": 11 }, - "id": 14, + "id": 2, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -716,22 +602,23 @@ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(rate(gitops_service_taskv2_total{job=\"$job\", status=\"CREATED\"}[1m])) by (type)", - "legendFormat": "__auto", + "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_95thPercentile{cluster='$cluster',resource=\"$resource\" , namespace='$namespace'})", + "instant": false, + "legendFormat": "{{method}}", "range": true, "refId": "A" } ], - "title": "Tasks Created per second", + "title": "$resource P95 ART", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "fieldConfig": { "defaults": { @@ -773,7 +660,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -781,21 +669,23 @@ } ] }, - "unit": "reqps" + "unit": "s" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 27 + "h": 10, + "w": 6, + "x": 18, + "y": 11 }, - "id": 4, + "id": 3, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -808,23 +698,26 @@ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(rate(grpc_server_handled_total{cluster=\"$cluster\", job=\"$job\", grpc_code=\"OK\"}[1m])) by (grpc_method)", - "legendFormat": "__auto", + "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_99thPercentile{cluster='$cluster',resource=\"$resource\" , namespace='$namespace'})", + "instant": false, + "legendFormat": "{{method}}", "range": true, "refId": "A" } ], - "title": "Successful Requests/s by Task", + "title": "$resource P99 ART", "type": "timeseries" } ], - "refresh": false, - "schemaVersion": 37, + "refresh": "", + "schemaVersion": 38, "style": "dark", - "tags": [], + "tags": [ + "0compatible" + ], "templating": { "list": [ { @@ -835,14 +728,14 @@ }, "hide": 0, "includeAll": false, - "label": "DataSource", + "label": "datasource", "multi": false, - "name": "dataSource", + "name": "datasource", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, - "regex": "/ManagedPrometheus/", + "regex": "", "skipUrlSync": false, "type": "datasource" }, @@ -854,18 +747,18 @@ }, "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, - "definition": "label_values({__name__=\"go_memstats_alloc_bytes\"}, cluster)", + "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"access-control.*\"},cluster_name)", "hide": 0, "includeAll": false, - "label": "Cluster", + "label": "cluster", "multi": false, "name": "cluster", "options": [], "query": { - "query": "label_values({__name__=\"go_memstats_alloc_bytes\"}, cluster)", - "refId": "StandardVariableQuery" + "query": "label_values(kubernetes_io:container_uptime{container_name=~\"access-control.*\"},cluster_name)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -876,40 +769,107 @@ { "current": { "selected": false, - "text": "gitops-service", - "value": "gitops-service" + "text": "harness-nextgen", + "value": "harness-nextgen" }, "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "${datasource}" }, - "definition": "label_values({__name__=\"grpc_server_handled_total\"}, job)", + "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"access-control.*\" , cluster_name=\"$cluster\"},namespace_name)", "hide": 0, "includeAll": false, - "label": "Job", + "label": "namespace", "multi": false, - "name": "job", + "name": "namespace", "options": [], "query": { - "query": "label_values({__name__=\"grpc_server_handled_total\"}, job)", - "refId": "StandardVariableQuery" + "query": "label_values(kubernetes_io:container_uptime{container_name=~\"access-control.*\" , cluster_name=\"$cluster\"},namespace_name)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, - "regex": "^gitops-service.*", + "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" + }, + { + "current": { + "selected": true, + "text": "ACLResource", + "value": "ACLResource" + }, + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "definition": "label_values(io_harness_resources_responses_count{cluster=\"$cluster\", serviceName=\"access-control\"},resource)", + "hide": 0, + "includeAll": false, + "label": "resource", + "multi": false, + "name": "resource", + "options": [], + "query": { + "query": "label_values(io_harness_resources_responses_count{cluster=\"$cluster\", serviceName=\"access-control\"},resource)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": { + "selected": true, + "text": "2xx", + "value": "2xx" + }, + "hide": 0, + "includeAll": false, + "label": "statusCode", + "multi": false, + "name": "statusCode", + "options": [ + { + "selected": false, + "text": "1xx", + "value": "1xx" + }, + { + "selected": true, + "text": "2xx", + "value": "2xx" + }, + { + "selected": false, + "text": "3xx", + "value": "3xx" + }, + { + "selected": false, + "text": "4xx", + "value": "4xx" + }, + { + "selected": false, + "text": "5xx", + "value": "5xx" + } + ], + "query": "1xx , 2xx , 3xx , 4xx , 5xx", + "queryValue": "", + "skipUrlSync": false, + "type": "custom" } ] }, "time": { - "from": "now-6h", + "from": "now-24h", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "GitopsMetrics", - "uid": "AOwPSl_Vk", - "version": 20, - "weekStart": "" + "title": "Access Control HTTP Metrics" } \ No newline at end of file diff --git a/Weaviate/vector_index.json b/chart/Harness/PL/delegate-agent-resource-calls.json similarity index 71% rename from Weaviate/vector_index.json rename to chart/Harness/PL/delegate-agent-resource-calls.json index 8a838aa..3cea5ef 100644 --- a/Weaviate/vector_index.json +++ b/chart/Harness/PL/delegate-agent-resource-calls.json @@ -4,8 +4,8 @@ { "builtIn": 1, "datasource": { - "type": "datasource", - "uid": "grafana" + "type": "grafana", + "uid": "-- Grafana --" }, "enable": true, "hide": true, @@ -24,14 +24,14 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 83, + "id": 427, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "fieldConfig": { "defaults": { @@ -39,6 +39,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -52,6 +53,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -86,7 +88,7 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 9, "w": 12, "x": 0, "y": 0 @@ -108,24 +110,25 @@ { "datasource": { "type": "prometheus", - "uid": "${datasource}" }, + "disableTextWrap": false, "editorMode": "code", - "exemplar": true, - "expr": "vector_index_size{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}", - "interval": "", - "legendFormat": "{{class_name}} / {{shard_name}}", + "expr": "(sum by(method) \n(rate(software_wings_resources_responses_count{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\", statusCode='$status'}[5m]))*100) \n/ \n(sum by(method) \n(rate(software_wings_resources_responses_count{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\"}[5m])))", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", "range": true, - "refId": "A" + "refId": "A", + "useBackend": false } ], - "title": "Vector Index Size", + "title": "rate_by_status_code (%)", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "${dataSource}" }, "fieldConfig": { "defaults": { @@ -133,6 +136,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -146,6 +150,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -180,13 +185,12 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 9, "w": 12, "x": 12, "y": 0 }, - "id": 4, - "maxDataPoints": 25, + "id": 8, "options": { "legend": { "calcs": [], @@ -199,30 +203,26 @@ "sort": "none" } }, - "pluginVersion": "9.3.6", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "${dataSource}" }, "editorMode": "code", - "exemplar": true, - "expr": "rate(vector_index_maintenance_durations_ms_sum{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval]) / rate(vector_index_maintenance_durations_ms_count{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "format": "time_series", - "interval": "", - "legendFormat": "{{step}} ({{class_name}}/{{shard_name}})", + "expr": "sum by(method) \n(rate(software_wings_resources_responses_count{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\"}[5m]))", + "legendFormat": "__auto", "range": true, "refId": "A" } ], - "title": "Vector Index Maintenance Operations (Sync & Async)", + "title": "api_calls_sum", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "${dataSource}" }, "fieldConfig": { "defaults": { @@ -230,6 +230,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -243,6 +244,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -277,12 +279,12 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 9, "w": 12, "x": 0, - "y": 8 + "y": 9 }, - "id": 6, + "id": 9, "options": { "legend": { "calcs": [], @@ -299,37 +301,22 @@ { "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "${dataSource}" }, "editorMode": "code", - "exemplar": true, - "expr": "rate(vector_index_durations_ms_sum{operation=\"create\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])/rate(vector_index_durations_ms_count{operation=\"create\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "interval": "", - "legendFormat": "{{step}} ({{class_name}}/{{shard_name}})", + "expr": "avg by (method) (software_wings_resources_responses_latency_snapshot_95thPercentile{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\"})\n", + "legendFormat": "__auto", "range": true, "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "builder", - "expr": "concurrent_goroutines{class_name=\"object batcher\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}", - "hide": false, - "interval": "", - "legendFormat": "Concurrent goroutines", - "range": true, - "refId": "B" } ], - "title": "Insert Operations", + "title": "Api P95 ART", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "${dataSource}" }, "fieldConfig": { "defaults": { @@ -337,6 +324,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -350,6 +338,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -384,12 +373,12 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 9, "w": 12, "x": 12, - "y": 8 + "y": 9 }, - "id": 7, + "id": 10, "options": { "legend": { "calcs": [], @@ -406,65 +395,62 @@ { "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "${dataSource}" }, "editorMode": "code", - "exemplar": true, - "expr": "rate(vector_index_durations_ms_sum{operation=\"delete\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])/rate(vector_index_durations_ms_count{operation=\"delete\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "interval": "", - "legendFormat": "{{step}} ({{class_name}}/{{shard_name}})", + "expr": "max by (method) (software_wings_resources_responses_latency_snapshot_95thPercentile{resource=\"DelegateAgentResource\", cluster=\"$cluster\", environment=\"$env\"} > 5)\n", + "legendFormat": "__auto", "range": true, "refId": "A" } ], - "title": "Delete Operations", + "title": "P95 more than 5 sec", "type": "timeseries" } ], - "schemaVersion": 37, - "style": "dark", + "refresh": "", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { - "selected": true, + "selected": false, "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" + "value": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "hide": 0, "includeAll": false, "label": "DataSource", "multi": false, - "name": "datasource", + "name": "dataSource", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, - "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": { "selected": true, - "text": "harness-nextgen-compliance", - "value": "harness-nextgen-compliance" + "text": "free", + "value": "free" }, "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "${dataSource}" }, - "definition": "label_values(lsm_segment_size, namespace)", + "definition": "label_values({__name__=\"active_delegate_count\"},environment)", "hide": 0, "includeAll": false, - "label": "Namespace", + "label": "Env", "multi": false, - "name": "namespace", + "name": "env", "options": [], "query": { - "query": "label_values(lsm_segment_size, namespace)", - "refId": "StandardVariableQuery" + "query": "label_values({__name__=\"active_delegate_count\"},environment)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -480,9 +466,9 @@ }, "datasource": { "type": "prometheus", - "uid": "${datasource}" + "uid": "${dataSource}" }, - "definition": "label_values(lsm_segment_size, cluster)", + "definition": "label_values({__name__=\"active_delegate_count\"},cluster)", "hide": 0, "includeAll": false, "label": "Cluster", @@ -490,8 +476,8 @@ "name": "cluster", "options": [], "query": { - "query": "label_values(lsm_segment_size, cluster)", - "refId": "StandardVariableQuery" + "query": "label_values({__name__=\"active_delegate_count\"},cluster)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -502,39 +488,54 @@ { "current": { "selected": true, - "text": "weaviate-compliance", - "value": "weaviate-compliance" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" + "text": "4xx", + "value": "4xx" }, - "definition": "label_values(lsm_segment_size, job)", "hide": 0, "includeAll": false, + "label": "Status", "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, job)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", + "name": "status", + "options": [ + { + "selected": false, + "text": "1xx", + "value": "1xx" + }, + { + "selected": false, + "text": "2xx", + "value": "2xx" + }, + { + "selected": false, + "text": "3xx", + "value": "3xx" + }, + { + "selected": true, + "text": "4xx", + "value": "4xx" + }, + { + "selected": false, + "text": "5xx", + "value": "5xx" + } + ], + "query": "1xx , 2xx , 3xx , 4xx , 5xx", + "queryValue": "", "skipUrlSync": false, - "sort": 0, - "type": "query" + "type": "custom" } ] }, "time": { - "from": "now-15m", + "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "Vector Index", - "uid": "03GWjZC7z", - "version": 8, + "title": "Delegate Agent Resource calls", "weekStart": "" } \ No newline at end of file diff --git a/Platform/Delegate_tasks.json b/chart/Harness/PL/delegate-tasks.json similarity index 85% rename from Platform/Delegate_tasks.json rename to chart/Harness/PL/delegate-tasks.json index 609d538..4aa20a4 100644 --- a/Platform/Delegate_tasks.json +++ b/chart/Harness/PL/delegate-tasks.json @@ -30,7 +30,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "fieldConfig": { "defaults": { @@ -38,6 +38,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -51,6 +52,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -107,9 +109,9 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", + "editorMode": "code", "expr": "max(delta(active_delegate_task{cluster=\"$cluster\", environment=\"$env\"}[5m]))", "legendFormat": "__auto", "range": true, @@ -130,6 +132,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -143,6 +146,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -201,8 +205,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(custom_googleapis_com:opencensus_delegate_task_creation{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum(delta(delegate_task_creation_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -222,6 +226,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -235,6 +240,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -293,8 +299,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum by(taskType) (delta(custom_googleapis_com:opencensus_delegate_task_creation_by_type{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum by(taskType) (delta(delegate_task_creation_by_type_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -306,7 +312,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "fieldConfig": { "defaults": { @@ -314,6 +320,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -327,6 +334,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -358,32 +366,7 @@ ] } }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "sum(delta(custom_googleapis_com:opencensus_delegate_task_acquire{monitored_resource=\"k8s_container\", cluster_name=\"prod-private-uswest1-primary\", environment=\"free\"}[10m]))" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 9, @@ -391,7 +374,7 @@ "x": 12, "y": 9 }, - "id": 3, + "id": 10, "options": { "legend": { "calcs": [], @@ -408,10 +391,10 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(custom_googleapis_com:opencensus_delegate_task_acquire{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum(delta(delegate_task_acquire_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -431,6 +414,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -444,6 +428,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -502,8 +487,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(custom_googleapis_com:opencensus_delegate_response{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum(rate(delegate_response_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -523,6 +508,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -536,6 +522,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -594,8 +581,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(custom_googleapis_com:opencensus_delegate_task_rebroadcast{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum(delta(delegate_task_rebroadcast_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -649,8 +636,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -686,8 +672,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(custom_googleapis_com:opencensus_delegate_task_expired{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum(delta(delegate_task_expired_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -741,8 +727,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -778,8 +763,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(custom_googleapis_com:opencensus_delegate_task_no_eligible_delegates{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum(rate(delegate_task_no_eligible_delegates_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -789,16 +774,18 @@ "type": "timeseries" } ], - "schemaVersion": 37, - "style": "dark", - "tags": [], + "refresh": "", + "schemaVersion": 39, + "tags": [ + "0compatible" + ], "templating": { "list": [ { "current": { - "selected": false, + "selected": true, "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" + "value": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "hide": 0, "includeAll": false, @@ -807,14 +794,14 @@ "name": "dataSource", "options": [], "query": "prometheus", + "queryValue": "", "refresh": 1, - "regex": "/ManagedPrometheus/", "skipUrlSync": false, "type": "datasource" }, { "current": { - "selected": true, + "selected": false, "text": "free", "value": "free" }, @@ -822,7 +809,7 @@ "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values({__name__=\"active_delegate_task\"}, environment)", + "definition": "label_values({__name__=\"active_delegate_count\"},environment)", "hide": 0, "includeAll": false, "label": "Env", @@ -830,8 +817,8 @@ "name": "env", "options": [], "query": { - "query": "label_values({__name__=\"active_delegate_task\"}, environment)", - "refId": "StandardVariableQuery" + "query": "label_values({__name__=\"active_delegate_count\"},environment)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -849,7 +836,7 @@ "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values({__name__=\"active_delegate_task\"}, cluster)", + "definition": "label_values({__name__=\"active_delegate_count\"},cluster)", "hide": 0, "includeAll": false, "label": "Cluster", @@ -857,8 +844,8 @@ "name": "cluster", "options": [], "query": { - "query": "label_values({__name__=\"active_delegate_task\"}, cluster)", - "refId": "StandardVariableQuery" + "query": "label_values({__name__=\"active_delegate_count\"},cluster)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -874,8 +861,5 @@ }, "timepicker": {}, "timezone": "", - "title": "Delegate tasks", - "uid": "Xus3WJr4z", - "version": 13, - "weekStart": "" + "title": "Delegate tasks" } \ No newline at end of file diff --git a/Platform/Delegates.json b/chart/Harness/PL/delegates.json similarity index 81% rename from Platform/Delegates.json rename to chart/Harness/PL/delegates.json index 99726bb..7ae4aa8 100644 --- a/Platform/Delegates.json +++ b/chart/Harness/PL/delegates.json @@ -109,9 +109,9 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(delegate_registration{cluster=\"$cluster\", environment=\"$env\"}[5m]))", - "legendFormat": "__auto", + "editorMode": "code", + "expr": "sum(delta(delegate_registration_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", + "legendFormat": "Delegate Registrations", "range": true, "refId": "A" } @@ -201,9 +201,9 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(delegate_registration_failed{cluster=\"$cluster\", environment=\"$env\"}[5m]))", - "legendFormat": "__auto", + "editorMode": "code", + "expr": "sum(delta(delegate_registration_failed_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", + "legendFormat": "Delegate Failed Registrations", "range": true, "refId": "A" } @@ -293,9 +293,9 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(delegate_restarted{cluster=\"$cluster\", environment=\"$env\"}[5m]))", - "legendFormat": "__auto", + "editorMode": "code", + "expr": "sum(delta(delegate_restarted_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", + "legendFormat": "Delegate Restarts", "range": true, "refId": "A" } @@ -385,9 +385,9 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", + "editorMode": "code", "expr": "max(active_delegate_count{cluster=\"$cluster\", environment=\"$env\"})", - "legendFormat": "__auto", + "legendFormat": "Active Delegate Count", "range": true, "refId": "A" } @@ -477,9 +477,9 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(delegate_disconnected{cluster=\"$cluster\", environment=\"$env\"}[5m]))", - "legendFormat": "__auto", + "editorMode": "code", + "expr": "sum(delta(delegate_disconnected_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", + "legendFormat": "Delegate Disconnected", "range": true, "refId": "A" } @@ -569,8 +569,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "max by(environment) (delta(delegate_disconnected{cluster=\"$cluster\", environment=\"$env\", accountId=\"$accountId\"}[10m]))", + "editorMode": "code", + "expr": "max by(environment) (delta(delegate_disconnected_total{cluster=\"$cluster\", environment=\"$env\", accountId=\"$accountId\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -661,8 +661,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "count by(instance) (websocket_connections_count{cluster=\"$cluster\", environment=\"$env\"})", + "editorMode": "code", + "expr": "count by(container_name) (websocket_connections_count{cluster=\"$cluster\", environment=\"$env\"})", "legendFormat": "__auto", "range": true, "refId": "A" @@ -729,7 +729,7 @@ "overrides": [] }, "gridPos": { - "h": 9, + "h": 8, "w": 12, "x": 12, "y": 27 @@ -753,9 +753,9 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", + "editorMode": "code", "expr": "max(immutable_delegate{cluster=\"$cluster\", environment=\"$env\"})", - "legendFormat": "__auto", + "legendFormat": "Immutable Delegate Count", "range": true, "refId": "A" } @@ -808,8 +808,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -845,8 +844,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "count by(instance) (active_delegate_process_count{cluster=\"$cluster\", environment=\"$env\"})", + "editorMode": "code", + "expr": "count by(container_name) (active_delegate_process_count{cluster=\"$cluster\", environment=\"$env\"})", "legendFormat": "__auto", "range": true, "refId": "A" @@ -854,19 +853,112 @@ ], "title": "active_delegate_process_count", "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${dataSource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 35 + }, + "id": 12, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${dataSource}" + }, + "editorMode": "code", + "expr": "max(active_delegate_task{cluster=\"$cluster\", environment=\"$env\"})", + "legendFormat": "Active Delegate Tasks", + "range": true, + "refId": "A" + } + ], + "title": "Active Delegate Tasks Count", + "type": "timeseries" } ], - "refresh": false, - "schemaVersion": 37, + "refresh": "", + "schemaVersion": 38, "style": "dark", - "tags": [], + "tags": [ + "0compatible" + ], "templating": { "list": [ { "current": { - "selected": true, - "text": "QASetup-ManagedPrometheus", - "value": "QASetup-ManagedPrometheus" + "selected": false, + "text": "ProdSetup-ManagedPrometheus", + "value": "ProdSetup-ManagedPrometheus" }, "hide": 0, "includeAll": false, @@ -884,14 +976,14 @@ { "current": { "selected": false, - "text": "qa-private", - "value": "qa-private" + "text": "prod-private-uswest1-primary", + "value": "prod-private-uswest1-primary" }, "datasource": { "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values({__name__=\"delegate_restarted\"}, cluster)", + "definition": "label_values(active_delegate_count,cluster)", "hide": 0, "includeAll": false, "label": "Cluster", @@ -899,8 +991,8 @@ "name": "cluster", "options": [], "query": { - "query": "label_values({__name__=\"delegate_restarted\"}, cluster)", - "refId": "StandardVariableQuery" + "query": "label_values(active_delegate_count,cluster)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -911,14 +1003,14 @@ { "current": { "selected": false, - "text": "qa", - "value": "qa" + "text": "prod", + "value": "prod" }, "datasource": { "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values({__name__=\"delegate_restarted\"}, environment)", + "definition": "label_values(active_delegate_count,environment)", "hide": 0, "includeAll": false, "label": "Env", @@ -926,8 +1018,8 @@ "name": "env", "options": [], "query": { - "query": "label_values({__name__=\"delegate_restarted\"}, environment)", - "refId": "StandardVariableQuery" + "query": "label_values(active_delegate_count,environment)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -937,15 +1029,15 @@ }, { "current": { - "selected": true, - "text": "LkTOnK9wRlaZHwbhVsRZZg", - "value": "LkTOnK9wRlaZHwbhVsRZZg" + "selected": false, + "text": "8VwWgE0WRK67_PWDpkooNA", + "value": "8VwWgE0WRK67_PWDpkooNA" }, "datasource": { "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values(delegate_disconnected{environment=\"$env\"}, accountId)", + "definition": "label_values(delegate_registration_total{cluster=\"$cluster\", environment=\"$env\"},accountId)", "hide": 0, "includeAll": false, "label": "AccountId", @@ -953,8 +1045,8 @@ "name": "accountId", "options": [], "query": { - "query": "label_values(delegate_disconnected{environment=\"$env\"}, accountId)", - "refId": "StandardVariableQuery" + "query": "label_values(delegate_registration_total{cluster=\"$cluster\", environment=\"$env\"},accountId)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -965,13 +1057,10 @@ ] }, "time": { - "from": "now-12h", + "from": "now-1h", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "Delegates summary", - "uid": "y5I3FbrVk", - "version": 1, - "weekStart": "" + "title": "Delegates Summary" } \ No newline at end of file diff --git a/Platform/Generic-Infra-Metric-Dashboard.json b/chart/Harness/PL/generic-infra-metric-dashboard.json similarity index 97% rename from Platform/Generic-Infra-Metric-Dashboard.json rename to chart/Harness/PL/generic-infra-metric-dashboard.json index 37c3389..0dc6fff 100644 --- a/Platform/Generic-Infra-Metric-Dashboard.json +++ b/chart/Harness/PL/generic-infra-metric-dashboard.json @@ -655,8 +655,8 @@ { "current": { "selected": true, - "text": "accesscontrol-service", - "value": "accesscontrol-service" + "text": "access-control", + "value": "access-control" }, "hide": 0, "includeAll": false, @@ -666,8 +666,8 @@ "options": [ { "selected": true, - "text": "accesscontrol-service", - "value": "accesscontrol-service" + "text": "access-control", + "value": "access-control" }, { "selected": false, @@ -730,7 +730,7 @@ "value": "agent-gateway" } ], - "query": "accesscontrol-service , platform-service , manager-iterator , manager , ng-manager , gateway , ng-dashboard-aggregator , audit-event-streaming , chatbot-service , redis-streams-monitor , ng-auth-ui , genai-service , agent-gateway", + "query": "access-control , platform-service , manager-iterator , manager , ng-manager , gateway , ng-dashboard-aggregator , audit-event-streaming , chatbot-service , redis-streams-monitor , ng-auth-ui , genai-service , agent-gateway", "queryValue": "", "skipUrlSync": false, "type": "custom" @@ -829,7 +829,5 @@ "timepicker": {}, "timezone": "", "title": "Generic Infra Monitoring Dashboard", - "uid": "pcPndkWSk", - "version": 1, "weekStart": "" } \ No newline at end of file diff --git a/Platform/Iterator-Metrics.json b/chart/Harness/PL/iterator-metrics.json similarity index 76% rename from Platform/Iterator-Metrics.json rename to chart/Harness/PL/iterator-metrics.json index 30c122f..cf4a9d4 100644 --- a/Platform/Iterator-Metrics.json +++ b/chart/Harness/PL/iterator-metrics.json @@ -109,9 +109,9 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "code", - "expr": "avg by(pod) (rate(iterator_working_on_entity{cluster=\"$cluster\", namespace=\"$namespace\", environment=\"$environment\", job=\"$service\", iteratorName=\"$iteratorName\"}[3h]))", - "legendFormat": "__auto", + "editorMode": "builder", + "expr": "sum by(environment) (rate(iterator_working_on_entity_total{cluster=\"$cluster\", environment=\"$environment\", iteratorName=\"$iteratorName\"}[3h]))", + "legendFormat": "Working on Entity Rate", "range": true, "refId": "A" } @@ -202,9 +202,9 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "code", - "expr": "avg by(pod) (histogram_quantile(0.5, delta(iterator_delay_bucket{cluster=\"$cluster\", environment=\"$environment\", namespace=\"$namespace\", job=\"$service\", iteratorName=\"$iteratorName\"}[3h])))", - "legendFormat": "__auto", + "editorMode": "builder", + "expr": "sum by(environment) (histogram_quantile(0.5, delta(iterator_delay_bucket{cluster=\"$cluster\", environment=\"$environment\", iteratorName=\"$iteratorName\"}[3h])))", + "legendFormat": "Delay", "range": true, "refId": "A" } @@ -296,8 +296,8 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "avg by(pod) (histogram_quantile(0.5, delta(iterator_processing_time_bucket{cluster=\"$cluster\", environment=\"$environment\", namespace=\"$namespace\", job=\"$service\", iteratorName=\"$iteratorName\"}[3h])))", - "legendFormat": "__auto", + "expr": "avg by(environment) (histogram_quantile(0.5, delta(iterator_processing_time_bucket{cluster=\"$cluster\", environment=\"$environment\", iteratorName=\"$iteratorName\"}[3h])))", + "legendFormat": "Processing Time", "range": true, "refId": "A" } @@ -387,8 +387,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum by(iteratorName) (iterator_error{cluster=\"$cluster\", environment=\"$environment\", namespace=\"$namespace\", job=\"$service\"})", + "editorMode": "code", + "expr": "sum by(iteratorName) (iterator_error_total{cluster=\"$cluster\", environment=\"$environment\"})", "legendFormat": "__auto", "range": true, "refId": "A" @@ -398,9 +398,12 @@ "type": "timeseries" } ], - "schemaVersion": 37, + "refresh": "", + "schemaVersion": 38, "style": "dark", - "tags": [], + "tags": [ + "0compatible" + ], "templating": { "list": [ { @@ -418,7 +421,6 @@ "query": "prometheus", "queryValue": "", "refresh": 1, - "regex": "/ManagedPrometheus/", "skipUrlSync": false, "type": "datasource" }, @@ -432,7 +434,7 @@ "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values({__name__=\"iterator_working_on_entity\"}, cluster)", + "definition": "label_values(iterator_working_on_entity_total,cluster)", "hide": 0, "includeAll": false, "label": "Cluster", @@ -440,8 +442,8 @@ "name": "cluster", "options": [], "query": { - "query": "label_values({__name__=\"iterator_working_on_entity\"}, cluster)", - "refId": "StandardVariableQuery" + "query": "label_values(iterator_working_on_entity_total,cluster)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -451,7 +453,7 @@ }, { "current": { - "selected": true, + "selected": false, "text": "prod", "value": "prod" }, @@ -459,7 +461,7 @@ "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values({__name__=\"iterator_working_on_entity\"}, environment)", + "definition": "label_values(iterator_working_on_entity_total,environment)", "hide": 0, "includeAll": false, "label": "Environment", @@ -467,62 +469,8 @@ "name": "environment", "options": [], "query": { - "query": "label_values({__name__=\"iterator_working_on_entity\"}, environment)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "harness", - "value": "harness" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(iterator_working_on_entity{environment=\"$environment\"}, namespace)", - "hide": 0, - "includeAll": false, - "label": "Namespace", - "multi": false, - "name": "namespace", - "options": [], - "query": { - "query": "label_values(iterator_working_on_entity{environment=\"$environment\"}, namespace)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "manager-iterator-prod", - "value": "manager-iterator-prod" - }, - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "definition": "label_values(iterator_working_on_entity{environment=\"$environment\", namespace=\"$namespace\"}, job)", - "hide": 0, - "includeAll": false, - "label": "Service", - "multi": false, - "name": "service", - "options": [], - "query": { - "query": "label_values(iterator_working_on_entity{environment=\"$environment\", namespace=\"$namespace\"}, job)", - "refId": "StandardVariableQuery" + "query": "label_values(iterator_working_on_entity_total,environment)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -533,14 +481,14 @@ { "current": { "selected": false, - "text": "ArtifactCleanup", - "value": "ArtifactCleanup" + "text": "ArtifactCollection", + "value": "ArtifactCollection" }, "datasource": { "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values(iterator_working_on_entity{job=\"$service\"}, iteratorName)", + "definition": "label_values(iterator_working_on_entity_total{cluster=\"$cluster\",environment=\"$environment\"},iteratorName)", "hide": 0, "includeAll": false, "label": "IteratorName", @@ -548,8 +496,8 @@ "name": "iteratorName", "options": [], "query": { - "query": "label_values(iterator_working_on_entity{job=\"$service\"}, iteratorName)", - "refId": "StandardVariableQuery" + "query": "label_values(iterator_working_on_entity_total{cluster=\"$cluster\",environment=\"$environment\"},iteratorName)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -566,7 +514,5 @@ "timepicker": {}, "timezone": "", "title": "Iterator Metrics", - "uid": "q6nokmEVk", - "version": 13, "weekStart": "" } \ No newline at end of file diff --git a/Platform/Outbox-Metrics.json b/chart/Harness/PL/outbox-metrics.json similarity index 99% rename from Platform/Outbox-Metrics.json rename to chart/Harness/PL/outbox-metrics.json index 298a528..c5c2fce 100644 --- a/Platform/Outbox-Metrics.json +++ b/chart/Harness/PL/outbox-metrics.json @@ -786,7 +786,6 @@ "query": "prometheus", "queryValue": "", "refresh": 1, - "regex": "/ManagedPrometheus/", "skipUrlSync": false, "type": "datasource" }, @@ -881,7 +880,5 @@ "timepicker": {}, "timezone": "", "title": "Outbox Metrics", - "uid": "UnfVMoqVk", - "version": 10, "weekStart": "" } \ No newline at end of file diff --git a/Platform/Perpetual_Tasks.json b/chart/Harness/PL/perpetual-tasks.json similarity index 91% rename from Platform/Perpetual_Tasks.json rename to chart/Harness/PL/perpetual-tasks.json index 70ee916..0ef9b88 100644 --- a/Platform/Perpetual_Tasks.json +++ b/chart/Harness/PL/perpetual-tasks.json @@ -30,7 +30,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "description": "number of perpetual tasks", "fieldConfig": { @@ -108,10 +108,10 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "max(perpetual_tasks_num{cluster=\"$cluster\", environment=\"$env\"})", + "editorMode": "code", + "expr": "sum(max by(accountId) (perpetual_tasks_num{cluster=\"$cluster\", environment=\"$env\"}))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -123,7 +123,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "description": "number of perpetual tasks", "fieldConfig": { @@ -201,10 +201,10 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "max(perpetual_tasks_assigned_num{cluster=\"$cluster\", environment=\"$env\"})", + "editorMode": "code", + "expr": "sum(max by(accountId) (perpetual_tasks_assigned_num{cluster=\"$cluster\", environment=\"$env\"}))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -216,7 +216,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "description": "", "fieldConfig": { @@ -294,10 +294,10 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "max(perpetual_tasks_unassigned_num{cluster=\"$cluster\", environment=\"$env\"})", + "editorMode": "code", + "expr": "sum(max by(accountId) (perpetual_tasks_unassigned_num{cluster=\"$cluster\", environment=\"$env\"}))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -309,7 +309,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "description": "", "fieldConfig": { @@ -387,10 +387,10 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "max(perpetual_invalid_tasks{cluster=\"$cluster\", environment=\"$env\"})", + "editorMode": "code", + "expr": "sum(max by(accountId) (perpetual_invalid_tasks{cluster=\"$cluster\", environment=\"$env\"}))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -402,7 +402,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "description": "", "fieldConfig": { @@ -480,10 +480,10 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "max(perpetual_tasks_non_assignable_num{cluster=\"$cluster\", environment=\"$env\"})", + "editorMode": "code", + "expr": "sum(max by(accountId) (perpetual_tasks_non_assignable_num{cluster=\"$cluster\", environment=\"$env\"}))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -495,7 +495,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "description": "", "fieldConfig": { @@ -574,9 +574,9 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", + "editorMode": "code", "expr": "avg by() (delta(iterator_delay_sum{cluster=\"$cluster\", environment=\"$env\", iteratorName=\"PerpetualTaskAssignment\"}[5m]))", "legendFormat": "__auto", "range": true, @@ -669,8 +669,8 @@ "type": "prometheus", "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(custom_googleapis_com:opencensus_perpetual_task_create{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum(delta(perpetual_task_create_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -682,7 +682,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "description": "", "fieldConfig": { @@ -760,10 +760,10 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "sum(delta(custom_googleapis_com:opencensus_perpetual_task_assigned{monitored_resource=\"k8s_container\", cluster_name=\"$cluster\", environment=\"$env\"}[10m]))", + "editorMode": "code", + "expr": "sum(delta(perpetual_task_assigned_total{cluster=\"$cluster\", environment=\"$env\"}[10m]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -775,7 +775,7 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, "description": "", "fieldConfig": { @@ -818,8 +818,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -853,10 +852,10 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${dataSource}" }, - "editorMode": "builder", - "expr": "max(perpetual_tasks_paused_num{cluster=\"$cluster\", environment=\"$env\"})", + "editorMode": "code", + "expr": "sum(max by(accountId) (perpetual_tasks_paused_num{cluster=\"$cluster\", environment=\"$env\"}))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -866,10 +865,12 @@ "type": "timeseries" } ], - "refresh": false, - "schemaVersion": 37, + "refresh": "", + "schemaVersion": 38, "style": "dark", - "tags": [], + "tags": [ + "0compatible" + ], "templating": { "list": [ { @@ -887,13 +888,12 @@ "query": "prometheus", "queryValue": "", "refresh": 1, - "regex": "/ManagedPrometheus/", "skipUrlSync": false, "type": "datasource" }, { "current": { - "selected": true, + "selected": false, "text": "free", "value": "free" }, @@ -948,13 +948,11 @@ ] }, "time": { - "from": "now-24h", + "from": "now-5m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Perpetual Tasks", - "uid": "n5w7gA94k", - "version": 13, "weekStart": "" } \ No newline at end of file diff --git a/CD-Core/K8s_overview.json b/chart/Harness/PL/platform-service-http-metrics.json similarity index 58% rename from CD-Core/K8s_overview.json rename to chart/Harness/PL/platform-service-http-metrics.json index 929004a..f9b3a69 100644 --- a/CD-Core/K8s_overview.json +++ b/chart/Harness/PL/platform-service-http-metrics.json @@ -11,35 +11,18 @@ "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, "type": "dashboard" } ] }, + "description": "", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, + "id": 373, "links": [], "liveNow": false, "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 8, - "panels": [], - "title": "Container Resources - GKE", - "type": "row" - }, { "datasource": { "type": "prometheus", @@ -55,6 +38,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 5, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -80,7 +64,18 @@ "mode": "off" } }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null+nan", + "result": { + "index": 0, + "text": "0.00%" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ @@ -93,24 +88,25 @@ "value": 80 } ] - } + }, + "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 9, - "w": 24, + "w": 12, "x": 0, - "y": 1 + "y": 0 }, - "id": 2, + "id": 6, "options": { "legend": { "calcs": [ - "mean" + "lastNotNull" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { @@ -125,19 +121,20 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum by(namespace_name, container_name) (round(rate(kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[5m]), 0.001))", - "legendFormat": "{{namespace_name}}/{{container_name}}", + "expr": "sum by(serviceName , namespace) (rate(io_harness_resources_responses_count{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"platform-service\"}[5m]))", + "instant": false, + "legendFormat": "{{serviceName}} [{{namespace}}]", "range": true, "refId": "A" } ], - "title": "Uptime", + "title": "All APIs Request Rate [ Service Load ]", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "fieldConfig": { "defaults": { @@ -193,16 +190,20 @@ }, "gridPos": { "h": 9, - "w": 24, - "x": 0, - "y": 10 + "w": 12, + "x": 12, + "y": 0 }, "id": 4, "options": { "legend": { - "calcs": [], + "calcs": [ + "mean", + "max", + "lastNotNull" + ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { @@ -214,22 +215,23 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "editorMode": "code", - "expr": "sum by(namespace_name, container_name) (delta(kubernetes_io:container_restart_count{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[2m]) / 2)", - "legendFormat": "{{namespace_name}}/{{container_name}}", + "expr": "max by(method, resource) (io_harness_resources_responses_latency_snapshot_95thPercentile{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"platform-service\"}) > 1", + "instant": false, + "legendFormat": "{{resource}} [{{method}}]", "range": true, "refId": "A" } ], - "title": "Pod Restarts", + "title": "Top Slowest APIs > 1s", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${datasource}" }, "fieldConfig": { "defaults": { @@ -241,6 +243,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 5, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -257,7 +260,7 @@ "type": "linear" }, "showPoints": "auto", - "spanNulls": true, + "spanNulls": false, "stacking": { "group": "A", "mode": "none" @@ -266,7 +269,18 @@ "mode": "off" } }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null+nan", + "result": { + "index": 0, + "text": "0.00%" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ @@ -279,24 +293,26 @@ "value": 80 } ] - } + }, + "unit": "percent" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 24, + "h": 12, + "w": 6, "x": 0, - "y": 19 + "y": 9 }, - "id": 6, + "id": 1, "options": { "legend": { "calcs": [ - "mean" + "lastNotNull", + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { @@ -308,16 +324,17 @@ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum by (namespace_name, container_name) (delta(logging_googleapis_com:log_entry_count{monitored_resource=\"k8s_container\", severity=~\"ERROR|CRITICAL\", cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container\", pod_name=~\"$pod\"}[1m]))", - "legendFormat": "{{namespace_name}}/{{container_name}}", + "expr": "(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='platform-service' , resource=\"$resource\" , namespace='$namespace' , statusCode='$statusCode'}[5m]))*100) \n/ \n(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='platform-service' , resource=\"$resource\" , namespace='$namespace'}[5m])))", + "instant": false, + "legendFormat": "{{method}}", "range": true, "refId": "A" } ], - "title": "Error Rate", + "title": "$resource API $statusCode Rate", "type": "timeseries" }, { @@ -325,7 +342,6 @@ "type": "prometheus", "uid": "${datasource}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -336,6 +352,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 5, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -361,7 +378,18 @@ "mode": "off" } }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null+nan", + "result": { + "index": 0, + "text": "0.00%" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ @@ -374,23 +402,25 @@ "value": 80 } ] - } + }, + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 27 + "h": 12, + "w": 6, + "x": 6, + "y": 9 }, - "id": 10, - "maxPerRow": 2, + "id": 5, "options": { "legend": { - "calcs": [], + "calcs": [ + "lastNotNull" + ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { @@ -398,8 +428,6 @@ "sort": "none" } }, - "repeat": "container", - "repeatDirection": "v", "targets": [ { "datasource": { @@ -407,31 +435,20 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(kubernetes_io:container_cpu_core_usage_time{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}[$__interval])", - "legendFormat": "{{namespace_name}}/{{pod_name}}", + "expr": "sum by(resource , namespace) (rate(io_harness_resources_responses_count{cluster=\"$cluster\", namespace=\"$namespace\", serviceName=\"platform-service\" , resource=\"$resource\"}[5m]))", + "instant": false, + "legendFormat": "{{resource}} [{{namespace}}]", "range": true, "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "expr": "kubernetes_io:container_cpu_request_cores{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}", - "hide": false, - "legendFormat": "{{namespace_name}}/{{pod_name}}", - "range": true, - "refId": "B" } ], - "title": "$container CPU Utlization ", + "title": "$resource APIs Request Rate [ API Load ]", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${datasource}" }, "fieldConfig": { "defaults": { @@ -482,23 +499,24 @@ } ] }, - "unit": "decbytes" + "unit": "s" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, + "h": 12, + "w": 6, "x": 12, - "y": 27 + "y": 9 }, - "id": 22, - "maxPerRow": 2, + "id": 2, "options": { "legend": { - "calcs": [], + "calcs": [ + "lastNotNull" + ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { @@ -506,226 +524,277 @@ "sort": "none" } }, - "repeat": "container", - "repeatDirection": "v", "targets": [ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_used_bytes{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}) by(namespace_name, pod_name, container_name) ", - "legendFormat": "{{namespace_name}}/{{pod_name}}", + "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_95thPercentile{cluster='$cluster',resource=\"$resource\" , namespace='$namespace'})", + "instant": false, + "legendFormat": "{{method}}", "range": true, "refId": "A" + } + ], + "title": "$resource P95 ART", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" }, + "overrides": [] + }, + "gridPos": { + "h": 12, + "w": 6, + "x": 18, + "y": 9 + }, + "id": 3, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", - "uid": "P395BF20BBBA74F0A" + "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(kubernetes_io:container_memory_limit_bytes{cluster_name=~\"$cluster\", namespace_name=~\"$namespace\", container_name=~\"$container.*\", pod_name=~\"$pod\"}) by (namespace_name, pod_name, container_name)", - "hide": false, - "legendFormat": "{{namespace_name}}/{{pod_name}}", + "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_99thPercentile{cluster='$cluster',resource=\"$resource\" , namespace='$namespace'})", + "instant": false, + "legendFormat": "{{method}}", "range": true, - "refId": "B" + "refId": "A" } ], - "title": "$container Memory Utlization", + "title": "$resource P99 ART", "type": "timeseries" } ], - "refresh": false, - "schemaVersion": 37, + "refresh": "", + "schemaVersion": 38, "style": "dark", - "tags": [ - "CD" - ], + "tags": [], "templating": { "list": [ { - "allValue": ".*", "current": { - "selected": true, - "text": [ - "ProdSetup-ManagedPrometheus" - ], - "value": [ - "ProdSetup-ManagedPrometheus" - ] + "selected": false, + "text": "ProdSetup-ManagedPrometheus", + "value": "ProdSetup-ManagedPrometheus" }, "hide": 0, - "includeAll": true, - "label": "Datasource", - "multi": true, + "includeAll": false, + "label": "datasource", + "multi": false, "name": "datasource", "options": [], "query": "prometheus", + "queryValue": "", "refresh": 1, - "regex": "(ProdSetup|QASetup)-.*", + "regex": "", "skipUrlSync": false, "type": "datasource" }, { - "allValue": "prod-private-uswest1-primary", "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] + "selected": false, + "text": "prod-private-uswest1-primary", + "value": "prod-private-uswest1-primary" + }, + "datasource": { + "type": "prometheus", + "uid": "${datasource}" }, + "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"platform-service.*\"},cluster_name)", "hide": 0, - "includeAll": true, - "label": "Cluster", - "multi": true, + "includeAll": false, + "label": "cluster", + "multi": false, "name": "cluster", - "options": [ - { - "selected": true, - "text": "All", - "value": "$__all" - }, - { - "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" - } - ], - "query": "prod-private-uswest1-primary", - "queryValue": "", + "options": [], + "query": { + "query": "label_values(kubernetes_io:container_uptime{container_name=~\"platform-service.*\"},cluster_name)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", "skipUrlSync": false, - "type": "custom" + "sort": 0, + "type": "query" }, { - "allValue": ".*", "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] + "selected": false, + "text": "harness-nextgen", + "value": "harness-nextgen" }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.|gitops-s.*|policy-mgmt.*\"}", + "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"platform-service.*\" , cluster_name=\"$cluster\"},namespace_name)", "hide": 0, - "includeAll": true, - "label": "Namespace", - "multi": true, + "includeAll": false, + "label": "namespace", + "multi": false, "name": "namespace", "options": [], "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", container_name=~\"manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.|gitops-s.*|policy-mgmt.*\"}", - "refId": "StandardVariableQuery" + "query": "label_values(kubernetes_io:container_uptime{container_name=~\"platform-service.*\" , cluster_name=\"$cluster\"},namespace_name)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, - "regex": ".*namespace_name=\\\"([\\d\\w\\-]+)\\\".*", + "regex": "", "skipUrlSync": false, - "sort": 1, + "sort": 0, "type": "query" }, { - "allValue": "manager|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt", "current": { "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] + "text": "NotificationResource", + "value": "NotificationResource" }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"harness.*|policy-mgmt.*\", container_name=~\"$service\"}", + "definition": "label_values(io_harness_resources_responses_count{cluster=\"$cluster\", serviceName=\"platform-service\"},resource)", "hide": 0, - "includeAll": true, - "label": "Container", - "multi": true, - "name": "container", + "includeAll": false, + "label": "resource", + "multi": false, + "name": "resource", "options": [], "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"harness.*|policy-mgmt.*\", container_name=~\"$service\"}", - "refId": "StandardVariableQuery" + "query": "label_values(io_harness_resources_responses_count{cluster=\"$cluster\", serviceName=\"platform-service\"},resource)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, - "regex": ".*container_name=\\\"((?!manager-iterator)[\\w\\-]+)\\\".*", + "regex": "", "skipUrlSync": false, - "sort": 1, + "sort": 0, "type": "query" }, { "current": { - "selected": false, - "text": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt", - "value": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt" + "selected": true, + "text": "2xx", + "value": "2xx" }, "hide": 0, "includeAll": false, - "label": "Service", + "label": "statusCode", "multi": false, - "name": "service", + "name": "statusCode", "options": [ + { + "selected": false, + "text": "1xx", + "value": "1xx" + }, { "selected": true, - "text": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt", - "value": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt" + "text": "2xx", + "value": "2xx" + }, + { + "selected": false, + "text": "3xx", + "value": "3xx" + }, + { + "selected": false, + "text": "4xx", + "value": "4xx" + }, + { + "selected": false, + "text": "5xx", + "value": "5xx" } ], - "query": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt", + "query": "1xx , 2xx , 3xx , 4xx , 5xx", + "queryValue": "", "skipUrlSync": false, "type": "custom" - }, - { - "allValue": "manager.*|ng-manager.*|template-.*|pipeline-.*|debezium-.*|queue-.*|migrator.*|gitops-s.*|policy-mgmt.*", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"harness.*|policy-mgmt.*\", container_name=~\"$service\", pod_name=~\"$service\"}", - "description": "", - "hide": 0, - "includeAll": true, - "label": "Pod", - "multi": true, - "name": "pod", - "options": [], - "query": { - "query": "kubernetes_io:container_uptime{cluster_name=~\"$cluster\", namespace_name=~\"harness.*|policy-mgmt.*\", container_name=~\"$service\", pod_name=~\"$service\"}", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": ".*pod_name=\\\"([\\d\\w\\-]+)\\\".*", - "skipUrlSync": false, - "sort": 1, - "type": "query" } ] }, "time": { - "from": "now-6h", + "from": "now-12h", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "K8s Overview", - "uid": "2QH5lUzIk", - "version": 17, + "title": "Platform Service HTTP Metrics", "weekStart": "" } \ No newline at end of file diff --git a/Platform/Redis-Streams-Monitor.json b/chart/Harness/PL/redis-stream-monitor-new.json similarity index 87% rename from Platform/Redis-Streams-Monitor.json rename to chart/Harness/PL/redis-stream-monitor-new.json index 1477ce4..6fcedfc 100644 --- a/Platform/Redis-Streams-Monitor.json +++ b/chart/Harness/PL/redis-stream-monitor-new.json @@ -24,6 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, + "id": 495, "links": [], "liveNow": false, "panels": [ @@ -38,6 +39,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "Total Redis Memory Usage", @@ -51,6 +53,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -97,10 +100,14 @@ "id": 2, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "max" + ], + "displayMode": "table", "placement": "bottom", - "showLegend": true + "showLegend": true, + "sortBy": "Max", + "sortDesc": true }, "timezone": [ "", @@ -119,7 +126,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName) (custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container', cluster_name=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName) (redis_streams_memory_usage{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "__auto", @@ -141,6 +148,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "", @@ -154,6 +162,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -215,7 +224,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName) (custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container' , cluster_name=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName) (redis_streams_memory_usage{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "__auto", @@ -237,6 +246,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "Total Redis Streams Length", @@ -250,6 +260,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -318,7 +329,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName) (custom_googleapis_com:opencensus_redis_streams_length{monitored_resource='k8s_container' , cluster_name=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName) (redis_streams_length{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "__auto", @@ -340,6 +351,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "", @@ -353,6 +365,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -414,7 +427,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName) (custom_googleapis_com:opencensus_redis_streams_length{monitored_resource='k8s_container' , cluster_name=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName) (redis_streams_length{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "__auto", @@ -436,6 +449,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "Total Redis Memory Usage", @@ -449,6 +463,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -517,7 +532,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName) (custom_googleapis_com:opencensus_redis_streams_average_message_size{monitored_resource='k8s_container' , cluster_name=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName) (redis_streams_average_message_size{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "__auto", @@ -539,6 +554,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "", @@ -552,6 +568,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -613,7 +630,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName) (custom_googleapis_com:opencensus_redis_streams_average_message_size{monitored_resource='k8s_container' , cluster_name=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName) (redis_streams_average_message_size{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "__auto", @@ -635,6 +652,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "Total Redis Memory Usage", @@ -648,6 +666,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -716,7 +735,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_behind_by_count{monitored_resource='k8s_container' , cluster_name=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName, consumergroupName) (redis_streams_consumer_group_behind_by_count{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", @@ -738,6 +757,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "", @@ -751,6 +771,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -812,7 +833,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_behind_by_count{monitored_resource='k8s_container' , cluster_name=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName, consumergroupName) (redis_streams_consumer_group_behind_by_count{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", @@ -834,6 +855,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "Total Redis Memory Usage", @@ -847,6 +869,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -915,7 +938,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_pending_count{monitored_resource='k8s_container' , cluster_name=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName, consumergroupName) (redis_streams_consumer_group_pending_count{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", @@ -937,6 +960,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "", @@ -950,6 +974,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1011,7 +1036,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(usecaseName, consumergroupName) (custom_googleapis_com:opencensus_redis_streams_consumer_group_pending_count{monitored_resource='k8s_container' , cluster_name=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(usecaseName, consumergroupName) (redis_streams_consumer_group_pending_count{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "{{usecaseName}} [ {{consumergroupName}} ]", @@ -1033,6 +1058,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "Total Redis Memory Usage", @@ -1046,6 +1072,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -1114,7 +1141,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(exported_namespace, usecaseName) (custom_googleapis_com:opencensus_redis_streams_events_framework_deadletter_queue_size{monitored_resource='k8s_container' , cluster_name=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(exported_namespace, usecaseName) (redis_streams_events_framework_deadletter_queue_size{cluster=\"$cluster\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "{{exported_namespace}}:streams:deadletter_queue:{{usecaseName}}", @@ -1136,6 +1163,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "series", "axisLabel": "", @@ -1149,6 +1177,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1210,7 +1239,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "avg by(exported_namespace, usecaseName) (custom_googleapis_com:opencensus_redis_streams_events_framework_deadletter_queue_size{monitored_resource='k8s_container' , cluster_name=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", + "expr": "avg by(exported_namespace, usecaseName) (redis_streams_events_framework_deadletter_queue_size{cluster=\"$cluster\", usecaseName=\"$usecase\", environment=\"$env\", namespace=\"$namespace\"})", "format": "time_series", "instant": false, "legendFormat": "{{exported_namespace}}:streams:deadletter_queue:{{usecaseName}}", @@ -1222,8 +1251,8 @@ "type": "timeseries" } ], - "schemaVersion": 37, - "style": "dark", + "refresh": "", + "schemaVersion": 39, "tags": [], "templating": { "list": [ @@ -1231,7 +1260,7 @@ "current": { "selected": true, "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" + "value": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "hide": 0, "includeAll": false, @@ -1242,21 +1271,21 @@ "query": "prometheus", "queryValue": "", "refresh": 1, - "regex": "/ManagedPrometheus/", "skipUrlSync": false, "type": "datasource" }, { "current": { + "isNone": true, "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" + "text": "None", + "value": "" }, "datasource": { "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values(custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container'}, cluster_name)", + "definition": "label_values(redis_streams_memory_usage,cluster)", "hide": 0, "includeAll": false, "label": "Cluster", @@ -1264,8 +1293,9 @@ "name": "cluster", "options": [], "query": { - "query": "label_values(custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container'}, cluster_name)", - "refId": "StandardVariableQuery" + "qryType": 1, + "query": "label_values(redis_streams_memory_usage,cluster)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -1275,15 +1305,16 @@ }, { "current": { + "isNone": true, "selected": false, - "text": "localhost", - "value": "localhost" + "text": "None", + "value": "" }, "datasource": { "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values(custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container'}, environment)", + "definition": "label_values(redis_streams_memory_usage,environment)", "hide": 0, "includeAll": false, "label": "Env", @@ -1291,8 +1322,9 @@ "name": "env", "options": [], "query": { - "query": "label_values(custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container'}, environment)", - "refId": "StandardVariableQuery" + "qryType": 1, + "query": "label_values(redis_streams_memory_usage,environment)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 2, "regex": "", @@ -1302,15 +1334,16 @@ }, { "current": { + "isNone": true, "selected": false, - "text": "setup_usage", - "value": "setup_usage" + "text": "None", + "value": "" }, "datasource": { "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values(custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container'}, usecaseName)", + "definition": "label_values(redis_streams_memory_usage,usecaseName)", "hide": 0, "includeAll": false, "label": "Usecase", @@ -1318,8 +1351,9 @@ "name": "usecase", "options": [], "query": { - "query": "label_values(custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container'}, usecaseName)", - "refId": "StandardVariableQuery" + "qryType": 1, + "query": "label_values(redis_streams_memory_usage,usecaseName)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 2, "regex": "", @@ -1329,15 +1363,16 @@ }, { "current": { - "selected": true, - "text": "prod", - "value": "prod" + "isNone": true, + "selected": false, + "text": "None", + "value": "" }, "datasource": { "type": "prometheus", "uid": "${dataSource}" }, - "definition": "label_values(custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container'}, namespace)", + "definition": "label_values(redis_streams_memory_usage,namespace)", "hide": 0, "includeAll": false, "label": "Namespace", @@ -1345,8 +1380,9 @@ "name": "namespace", "options": [], "query": { - "query": "label_values(custom_googleapis_com:opencensus_redis_streams_memory_usage{monitored_resource='k8s_container'}, namespace)", - "refId": "StandardVariableQuery" + "qryType": 1, + "query": "label_values(redis_streams_memory_usage,namespace)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -1357,13 +1393,11 @@ ] }, "time": { - "from": "now-30m", + "from": "now-15m", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "Redis Streams Monitor", - "uid": "auMXlQ3Vk", - "version": 11, + "title": "Redis Streams Monitor(New)", "weekStart": "" } \ No newline at end of file diff --git a/Weaviate/Startup_times.json b/chart/Harness/PL/scopeinfo-resource.json similarity index 50% rename from Weaviate/Startup_times.json rename to chart/Harness/PL/scopeinfo-resource.json index 8804c3a..cda68ba 100644 --- a/Weaviate/Startup_times.json +++ b/chart/Harness/PL/scopeinfo-resource.json @@ -4,19 +4,13 @@ { "builtIn": 1, "datasource": { - "type": "datasource", - "uid": "grafana" + "type": "grafana", + "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, "type": "dashboard" } ] @@ -24,7 +18,6 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 88, "links": [], "liveNow": false, "panels": [ @@ -43,6 +36,8 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 6.4, + "axisSoftMin": 0, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -68,36 +63,47 @@ "mode": "off" } }, - "mappings": [], + "decimals": 2, + "mappings": [ + { + "options": { + "match": "null+nan", + "result": { + "index": 0, + "text": "0.00%" + } + }, + "type": "special" + } + ], + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, - "unit": "ms" + "unit": "percent" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 12, + "h": 7, + "w": 24, "x": 0, "y": 0 }, "id": 2, "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", + "calcs": [ + "mean" + ], + "displayMode": "table", + "placement": "right", "showLegend": true }, "tooltip": { @@ -112,15 +118,14 @@ "uid": "${datasource}" }, "editorMode": "code", - "exemplar": true, - "expr": "rate(startup_durations_ms_sum{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])/rate(startup_durations_ms_count{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "interval": "", - "legendFormat": "{{operation}} ({{class_name}} / {{shard_name}})", + "expr": "(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='ng-manager' , resource=\"ScopeInfoResource\" , namespace='$namespace' , statusCode='$statusCode'}[5m]))*100) \n/ \n(sum by(method) \n(rate(io_harness_resources_responses_count{cluster='$cluster',serviceName='ng-manager' , resource=\"ScopeInfoResource\" , namespace='$namespace'}[5m])))", + "instant": false, + "legendFormat": "{{method}}", "range": true, "refId": "A" } ], - "title": "Startup durations", + "title": "ScopeInfoResource API $statusCode Rate", "type": "timeseries" }, { @@ -128,81 +133,44 @@ "type": "prometheus", "uid": "${datasource}" }, - "description": "These times do not represent wall time. Some init processes are running in parallel, so this is CPU time. For a wall clock measurement look at total shard startup time.", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 3, - "x": 12, - "y": 0 - }, - "id": 4, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" + "mode": "palette-classic" }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(startup_durations_ms_sum{operation=\"lsm_startup_bucket\", job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "interval": "", - "legendFormat": "", - "range": true, - "refId": "A" - } - ], - "title": "Startup all LSM buckets", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": -0.6, + "axisSoftMin": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, + "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", @@ -210,108 +178,35 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, - "unit": "ms" + "unit": "s" }, "overrides": [] }, "gridPos": { "h": 9, - "w": 3, - "x": 15, - "y": 0 + "w": 12, + "x": 0, + "y": 7 }, - "id": 5, + "id": 3, "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { + "legend": { "calcs": [ - "lastNotNull" + "mean", + "max" ], - "fields": "", - "values": false + "displayMode": "table", + "placement": "right", + "showLegend": true }, - "textMode": "auto" - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(startup_durations_ms_sum{operation=\"hnsw_read_all_commitlogs\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"})", - "interval": "", - "legendFormat": "", - "range": true, - "refId": "A" + "tooltip": { + "mode": "single", + "sort": "none" } - ], - "title": "Startup all HNSW indexes", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "description": "This represents the total wall time per shard.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 3, - "x": 18, - "y": 0 - }, - "id": 8, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" }, - "pluginVersion": "9.3.1", "targets": [ { "datasource": { @@ -319,16 +214,15 @@ "uid": "${datasource}" }, "editorMode": "code", - "exemplar": true, - "expr": "startup_durations_ms_sum{operation=\"shard_total_init\",job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}", - "interval": "", - "legendFormat": "{{class_name}}/{{shard_name}}", + "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_95thPercentile{cluster='$cluster',resource=\"ScopeInfoResource\" , namespace='$namespace'})", + "instant": false, + "legendFormat": "{{environment}}", "range": true, "refId": "A" } ], - "title": "Total shard Startup", - "type": "stat" + "title": "ScopeInfoResource API P95", + "type": "timeseries" }, { "datasource": { @@ -345,6 +239,8 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": -0.6, + "axisSoftMin": 0, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -370,6 +266,7 @@ "mode": "off" } }, + "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", @@ -377,29 +274,28 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, - "unit": "Bps" + "unit": "s" }, "overrides": [] }, "gridPos": { - "h": 8, + "h": 9, "w": 12, - "x": 0, - "y": 9 + "x": 12, + "y": 7 }, - "id": 7, + "id": 4, "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right", "showLegend": true }, "tooltip": { @@ -414,21 +310,23 @@ "uid": "${datasource}" }, "editorMode": "code", - "exemplar": true, - "expr": "rate(startup_diskio_throughput_sum{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])/rate(startup_diskio_throughput_count{job=\"$job\", namespace=\"$namespace\", cluster=\"$cluster\"}[$__interval])", - "interval": "", - "legendFormat": "{{operation}} ({{class_name}}/{{shard_name}})", + "expr": "max by (method)(io_harness_resources_responses_latency_snapshot_99thPercentile{cluster='$cluster',resource=\"ScopeInfoResource\" , namespace='$namespace'})", + "instant": false, + "legendFormat": "{{environment}}", "range": true, "refId": "A" } ], - "title": "Startup Disk I/O ", + "title": "ScopeInfoResource API P99", "type": "timeseries" } ], - "schemaVersion": 37, + "refresh": "10s", + "schemaVersion": 38, "style": "dark", - "tags": [], + "tags": [ + "0compatible" + ], "templating": { "list": [ { @@ -439,7 +337,6 @@ }, "hide": 0, "includeAll": false, - "label": "DataSource", "multi": false, "name": "datasource", "options": [], @@ -453,23 +350,23 @@ { "current": { "selected": false, - "text": "harness-nextgen", - "value": "harness-nextgen" + "text": "prod-private-uswest1-primary", + "value": "prod-private-uswest1-primary" }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, - "definition": "label_values(lsm_segment_size, namespace)", + "definition": "label_values(kubernetes_io:container_uptime{container_name=~\"ng-manager.*\"},cluster_name)", "hide": 0, "includeAll": false, - "label": "Namespace", + "label": "cluster", "multi": false, - "name": "namespace", + "name": "cluster", "options": [], "query": { - "query": "label_values(lsm_segment_size, namespace)", - "refId": "StandardVariableQuery" + "query": "label_values(kubernetes_io:container_uptime{container_name=~\"ng-manager.*\"},cluster_name)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -480,23 +377,23 @@ { "current": { "selected": false, - "text": "prod-private-uswest1-primary", - "value": "prod-private-uswest1-primary" + "text": "harness-nextgen", + "value": "harness-nextgen" }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, - "definition": "label_values(lsm_segment_size, cluster)", + "definition": "label_values(io_harness_resources_responses_count{resource=\"ScopeInfoResource\"},namespace)", "hide": 0, "includeAll": false, - "label": "Cluster", + "label": "namespace", "multi": false, - "name": "cluster", + "name": "namespace", "options": [], "query": { - "query": "label_values(lsm_segment_size, cluster)", - "refId": "StandardVariableQuery" + "query": "label_values(io_harness_resources_responses_count{resource=\"ScopeInfoResource\"},namespace)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -506,40 +403,54 @@ }, { "current": { - "selected": false, - "text": "weaviate-prod", - "value": "weaviate-prod" + "selected": true, + "text": "2xx", + "value": "2xx" }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(lsm_segment_size, job)", "hide": 0, "includeAll": false, "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(lsm_segment_size, job)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", + "name": "statusCode", + "options": [ + { + "selected": false, + "text": "1xx", + "value": "1xx" + }, + { + "selected": true, + "text": "2xx", + "value": "2xx" + }, + { + "selected": false, + "text": "3xx", + "value": "3xx" + }, + { + "selected": false, + "text": "4xx", + "value": "4xx" + }, + { + "selected": false, + "text": "5xx", + "value": "5xx" + } + ], + "query": "1xx , 2xx , 3xx , 4xx , 5xx", + "queryValue": "", "skipUrlSync": false, - "sort": 0, - "type": "query" + "type": "custom" } ] }, "time": { - "from": "now-15m", + "from": "now-24h", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "Startup times", - "uid": "oZZHUUC7k", - "version": 12, + "title": "ScopeInfo Resource HTTP", "weekStart": "" } \ No newline at end of file diff --git a/System_Health/System_Observability_Dashboard.json b/chart/Harness/PL/system-observability.json similarity index 95% rename from System_Health/System_Observability_Dashboard.json rename to chart/Harness/PL/system-observability.json index f52a87b..a8e7912 100644 --- a/System_Health/System_Observability_Dashboard.json +++ b/chart/Harness/PL/system-observability.json @@ -711,7 +711,7 @@ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, "fieldConfig": { "defaults": { @@ -720,13 +720,13 @@ }, "custom": { "axisCenteredZero": false, - "axisColorMode": "series", + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "opacity", + "fillOpacity": 0, + "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, @@ -761,68 +761,43 @@ "value": 80 } ] - }, - "unit": "decbytes" + } }, "overrides": [] }, "gridPos": { - "h": 9, + "h": 8, "w": 12, "x": 0, "y": 20 }, - "id": 8, + "id": 23, "options": { "legend": { "calcs": [], - "displayMode": "list", - "placement": "bottom", + "displayMode": "table", + "placement": "right", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "desc" + "mode": "single", + "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "${dataSource}" + "uid": "9073961d-07a4-44b8-8bfd-4b32a4ee7a74" }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_max{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Max", + "editorMode": "code", + "expr": "sum(rate(io_dropwizard_jetty_MutableServletContextHandler_requests_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"}[5m])) by (environment)", + "legendFormat": "$service: $env", "range": true, "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Committed", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${dataSource}" - }, - "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_total_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "hide": false, - "legendFormat": "Used", - "range": true, - "refId": "C" } ], - "title": "JVM Total Memory Max, Committed, Used", + "title": "HTTP Request Count", "type": "timeseries" }, { @@ -992,9 +967,9 @@ "h": 9, "w": 12, "x": 0, - "y": 29 + "y": 28 }, - "id": 10, + "id": 8, "options": { "legend": { "calcs": [], @@ -1014,7 +989,7 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_max{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "expr": "sum by(environment) (jvm_memory_total_max{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", "legendFormat": "Max", "range": true, "refId": "A" @@ -1025,7 +1000,7 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "expr": "sum by(environment) (jvm_memory_total_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", "hide": false, "legendFormat": "Committed", "range": true, @@ -1037,14 +1012,14 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "sum by(environment) (jvm_memory_heap_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "expr": "sum by(environment) (jvm_memory_total_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", "hide": false, "legendFormat": "Used", "range": true, "refId": "C" } ], - "title": "JVM Heap Max, Committed, Used", + "title": "JVM Total Memory Max, Committed, Used", "type": "timeseries" }, { @@ -1206,7 +1181,7 @@ } ] }, - "unit": "none" + "unit": "decbytes" }, "overrides": [] }, @@ -1214,9 +1189,9 @@ "h": 9, "w": 12, "x": 0, - "y": 38 + "y": 37 }, - "id": 12, + "id": 10, "options": { "legend": { "calcs": [], @@ -1236,8 +1211,8 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Threads count", + "expr": "sum by(environment) (jvm_memory_heap_max{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "legendFormat": "Max", "range": true, "refId": "A" }, @@ -1247,9 +1222,9 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_daemon_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "expr": "sum by(environment) (jvm_memory_heap_committed{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", "hide": false, - "legendFormat": "Daemon Threads Count", + "legendFormat": "Committed", "range": true, "refId": "B" }, @@ -1259,14 +1234,14 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_peak_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "expr": "sum by(environment) (jvm_memory_heap_used{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", "hide": false, - "legendFormat": "Peak Threads Count", + "legendFormat": "Used", "range": true, "refId": "C" } ], - "title": "JVM Threads Count", + "title": "JVM Heap Max, Committed, Used", "type": "timeseries" }, { @@ -1448,9 +1423,9 @@ "h": 9, "w": 12, "x": 0, - "y": 47 + "y": 46 }, - "id": 14, + "id": 12, "options": { "legend": { "calcs": [], @@ -1460,7 +1435,7 @@ }, "tooltip": { "mode": "multi", - "sort": "asc" + "sort": "desc" } }, "targets": [ @@ -1470,8 +1445,8 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_blocked_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Blocked", + "expr": "sum by(environment) (jvm_threads_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "legendFormat": "Threads count", "range": true, "refId": "A" }, @@ -1481,14 +1456,26 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "sum by(environment) (jvm_threads_deadlock_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "expr": "sum by(environment) (jvm_threads_daemon_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", "hide": false, - "legendFormat": "Deadlock", + "legendFormat": "Daemon Threads Count", "range": true, "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${dataSource}" + }, + "editorMode": "builder", + "expr": "sum by(environment) (jvm_threads_peak_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "hide": false, + "legendFormat": "Peak Threads Count", + "range": true, + "refId": "C" } ], - "title": "JVM Threads Blocked / Deadlock State", + "title": "JVM Threads Count", "type": "timeseries" }, { @@ -1638,7 +1625,7 @@ } ] }, - "unit": "percentunit" + "unit": "none" }, "overrides": [] }, @@ -1646,9 +1633,9 @@ "h": 9, "w": 12, "x": 0, - "y": 56 + "y": 55 }, - "id": 16, + "id": 14, "options": { "legend": { "calcs": [], @@ -1657,8 +1644,8 @@ "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "multi", + "sort": "asc" } }, "targets": [ @@ -1668,13 +1655,25 @@ "uid": "${dataSource}" }, "editorMode": "builder", - "expr": "avg by(environment) (org_eclipse_jetty_util_thread_QueuedThreadPool_dw_utilization{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", - "legendFormat": "Thread Utilization %", + "expr": "sum by(environment) (jvm_threads_blocked_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "legendFormat": "Blocked", "range": true, "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${dataSource}" + }, + "editorMode": "builder", + "expr": "sum by(environment) (jvm_threads_deadlock_count{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "hide": false, + "legendFormat": "Deadlock", + "range": true, + "refId": "B" } ], - "title": "DW Threads Utilization", + "title": "JVM Threads Blocked / Deadlock State", "type": "timeseries" }, { @@ -1769,6 +1768,99 @@ ], "title": "Nos of Queued DW Jobs", "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${dataSource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "series", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 64 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${dataSource}" + }, + "editorMode": "builder", + "expr": "avg by(environment) (org_eclipse_jetty_util_thread_QueuedThreadPool_dw_utilization{environment=\"$env\", serviceName=\"$service\", job=\"$job\", pod=~\"$pod\"})", + "legendFormat": "Thread Utilization %", + "range": true, + "refId": "A" + } + ], + "title": "DW Threads Utilization", + "type": "timeseries" } ], "refresh": false, @@ -1778,11 +1870,6 @@ "templating": { "list": [ { - "current": { - "selected": false, - "text": "ProdSetup-ManagedPrometheus", - "value": "ProdSetup-ManagedPrometheus" - }, "hide": 0, "includeAll": false, "label": "DataSource", @@ -1791,17 +1878,12 @@ "options": [], "query": "prometheus", "queryValue": "", - "refresh": 1, + "refresh": false, "regex": "/Prometheus/", "skipUrlSync": false, "type": "datasource" }, { - "current": { - "selected": false, - "text": "free", - "value": "free" - }, "datasource": { "type": "prometheus", "uid": "${dataSource}" @@ -1817,18 +1899,13 @@ "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count, environment)", "refId": "StandardVariableQuery" }, - "refresh": 1, + "refresh": false, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { - "current": { - "selected": false, - "text": "pipeline-service", - "value": "pipeline-service" - }, "datasource": { "type": "prometheus", "uid": "${dataSource}" @@ -1851,11 +1928,6 @@ "type": "query" }, { - "current": { - "selected": false, - "text": "pipeline-service-free", - "value": "pipeline-service-free" - }, "datasource": { "type": "prometheus", "uid": "${dataSource}" @@ -1871,22 +1943,13 @@ "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{environment=\"$env\", serviceName=\"$service\"}, job)", "refId": "StandardVariableQuery" }, - "refresh": 1, + "refresh": false, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { - "current": { - "selected": true, - "text": [ - "pipeline-service-7fc88fb994-v4zjb" - ], - "value": [ - "pipeline-service-7fc88fb994-v4zjb" - ] - }, "datasource": { "type": "prometheus", "uid": "${dataSource}" @@ -1902,7 +1965,7 @@ "query": "label_values(io_dropwizard_jetty_MutableServletContextHandler_4xx_responses_count{serviceName =\"$service\", environment=\"$env\"}, pod)", "refId": "StandardVariableQuery" }, - "refresh": 1, + "refresh": false, "regex": "", "skipUrlSync": false, "sort": 0, @@ -1911,13 +1974,11 @@ ] }, "time": { - "from": "2023-10-06T11:26:28.195Z", - "to": "2023-10-06T14:26:28.195Z" + "from": "now-5m", + "to": "now" }, "timepicker": {}, "timezone": "", "title": "System Observability Dashboard", - "uid": "B42-bJq4k", - "version": 30, "weekStart": "" } \ No newline at end of file diff --git a/chart/charts/harness-common-1.3.78.tgz b/chart/charts/harness-common-1.3.78.tgz new file mode 100644 index 0000000..349fb61 Binary files /dev/null and b/chart/charts/harness-common-1.3.78.tgz differ diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl new file mode 100644 index 0000000..09feb88 --- /dev/null +++ b/chart/templates/_helpers.tpl @@ -0,0 +1,127 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "harness-dashboards.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "harness-dashboards.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "harness-dashboards.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "harness-dashboards.labels" -}} +helm.sh/chart: {{ include "harness-dashboards.chart" . }} +{{ include "harness-dashboards.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "harness-dashboards.selectorLabels" -}} +app.kubernetes.io/name: {{ include "harness-dashboards.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "harness-dashboards.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "harness-dashboards.name" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} + + +{{- define "harnesscommon.generateGrafanaDashboardsCR" -}} +{{- $ := .ctx }} +{{- range $path, $_ := $.Files.Glob .dashboardDirectoryPath }} +{{- $ext := ext $path}} +apiVersion: grafana.integreatly.org/v1beta1 +kind: GrafanaDashboard +metadata: + name: {{ regexReplaceAll "\\W+" ($path | trunc -63 | replace $ext "") "_" | replace "_" "-" | trimPrefix "-" | lower }} + namespace: '{{ $.Release.Namespace }}' +spec: + resyncPeriod: '{{ default "30s" $.Values.resyncPeriod }}' + instanceSelector: + matchLabels: + {{- if $.Values.matchLabels }} + {{- include "harnesscommon.tplvalues.render" ( dict "value" $.Values.matchLabels "context" $ ) | nindent 6 }} + {{- end }} + folderRef: '{{ regexReplaceAll "\\W+" (dir $path | trunc -63) "_" | replace "_" "-" | trimPrefix "-" | lower }}' + json: |- + {{- $.Files.Get $path | fromJson | toPrettyJson | nindent 4}} +--- +{{- end }} +{{- end }} + +{{- define "harnesscommon.generateGrafanaFoldersCR" -}} +{{- $ := .ctx }} +{{- $pathDirs := list }} +{{- range $match, $_ := $.Files.Glob .dashboardDirectoryPath }} + {{- $pathDirs = append $pathDirs ($match | dir) }} +{{- end }} +{{- $pathDirs = $pathDirs | uniq }} +{{- $dirs := list }} +{{- range $_, $pathDir := $pathDirs }} + {{- $dir := "" }} + {{- range $idx , $ctx := $pathDir | splitList "/" }} + {{- $dir = printf "%s%s" $dir $ctx }} + {{- $dirs = append $dirs $dir }} + {{- $dir = printf "%s%s" $dir "/" }} + {{- end }} +{{- end }} +{{- $dirs = $dirs | uniq }} +{{- range $folderName:= $dirs }} + {{- $parentFolder := regexReplaceAll "\\W+" (dir $folderName | trunc -63) "_" | replace "_" "-" | trimPrefix "-" | lower}} + {{- $currentFolder := regexReplaceAll "\\W+" ($folderName | trunc -63) "_" | replace "_" "-" | trimPrefix "-" | lower }} + {{- $rootFolderName := regexReplaceAll "\\W+" (base $folderName | trunc -63) "_" | replace "_" "-" | trimPrefix "-" }} +--- +apiVersion: grafana.integreatly.org/v1beta1 +kind: GrafanaFolder +metadata: + name: {{ $currentFolder }} + namespace: '{{ $.Release.Namespace }}' +spec: + instanceSelector: + matchLabels: + {{- if $.Values.matchLabels }} + {{- include "harnesscommon.tplvalues.render" ( dict "value" $.Values.matchLabels "context" $ ) | nindent 6 }} + {{- end }} + {{- if ne $parentFolder "." }} + parentFolderRef: '{{ $parentFolder }}' + {{- end }} + resyncPeriod: '{{ default "30s" $.Values.resyncPeriod }}' + title: {{ $rootFolderName | replace "-" " " | quote }} +{{- end }} +{{- end }} diff --git a/chart/templates/grafanaDashboard.yaml b/chart/templates/grafanaDashboard.yaml new file mode 100644 index 0000000..e7e097f --- /dev/null +++ b/chart/templates/grafanaDashboard.yaml @@ -0,0 +1 @@ +{{- include "harnesscommon.generateGrafanaDashboardsCR" (dict "ctx" . "dashboardDirectoryPath" "Harness/**.json") }} \ No newline at end of file diff --git a/chart/templates/grafanaFolder.yaml b/chart/templates/grafanaFolder.yaml new file mode 100644 index 0000000..eef9748 --- /dev/null +++ b/chart/templates/grafanaFolder.yaml @@ -0,0 +1 @@ +{{- include "harnesscommon.generateGrafanaFoldersCR" (dict "ctx" . "dashboardDirectoryPath" "Harness/**.json") }} \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml new file mode 100644 index 0000000..eeba563 --- /dev/null +++ b/chart/values.yaml @@ -0,0 +1,2 @@ +matchLabels: + dashboards: grafana-instance diff --git a/dockerization/base-images/Dockerfile b/dockerization/base-images/Dockerfile deleted file mode 100644 index 0193187..0000000 --- a/dockerization/base-images/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2022 Harness Inc. All rights reserved. -# Use of this source code is governed by the PolyForm Free Trial 1.0.0 license -# that can be found in the licenses directory at the root of this repository, also available at -# https://polyformproject.org/wp-content/uploads/2020/05/PolyForm-Free-Trial-1.0.0.txt. - -# CIE AGENT - JAVA+GO+BUILD TOOLS - -# Usage: Used to run CIE builds for harness-core compilation, test -# Test image locally by running this command: -# -# $ docker build \ -# -f Dockerfile-java-go-cie-agent" \ -# -t \ -# . -FROM gcr.io/bazel-public/bazel:latest - -USER root - -# Downloading gcloud package -RUN curl https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz > /tmp/google-cloud-sdk.tar.gz - -# Installing the package -RUN mkdir -p /usr/local/gcloud \ - && tar -C /usr/local/gcloud -xvf /tmp/google-cloud-sdk.tar.gz \ - && /usr/local/gcloud/google-cloud-sdk/install.sh - -# Adding the package path to local -ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin diff --git a/package/BUILD.bazel b/package/BUILD.bazel deleted file mode 100644 index 18e8fb0..0000000 --- a/package/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@rules_pkg//:pkg.bzl", "pkg_tar", "pkg_zip") - -pkg_tar( - name = "pkg_dashboards", - srcs = [ - "//access-control:dashboards", - "//chaos:dashboards", - "//cg-manager:dashboards", - "//Delegate:dashboards", - "//feature-flags:dashboards", - "//gen-ai:dashboards", - "//platform:dashboards", - "//gitops:dashboards", - "//iterator:dashboards", - "//ng-manager:dashboards", - "//pipeline-service:dashboards", - "//platform-service:dashboards", - "//sto:dashboards", - ], - mode = "0600", - package_dir = "/harness-dashboards/", - tags = [ - "manual", - "no-cache", - "no-ide", - ], -) diff --git a/package/dashboards.yaml b/package/dashboards.yaml deleted file mode 100644 index b592e6f..0000000 --- a/package/dashboards.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: 1 - -providers: - # an unique provider name. Required - - name: 'dashboards' - # Org id. Default to 1 - orgId: 1 - # name of the dashboard folder. - folder: '' - # folder UID. will be automatically generated if not specified - folderUid: '' - # provider type. Default to 'file' - type: file - # disable dashboard deletion - disableDeletion: false - # how often Grafana will scan for changed dashboards - updateIntervalSeconds: 60 - # allow updating provisioned dashboards from the UI - allowUiUpdates: false - options: - # path to dashboard files on disk. Required when using the 'file' type - path: /data/dashboards - # use folder names from filesystem to create folders in Grafana - foldersFromFilesStructure: true diff --git a/scripts/bazel_script.sh b/scripts/bazel_script.sh deleted file mode 100755 index 4fcfcba..0000000 --- a/scripts/bazel_script.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Harness Inc. All rights reserved. -# Use of this source code is governed by the PolyForm Free Trial 1.0.0 license -# that can be found in the licenses directory at the root of this repository, also available at -# https://polyformproject.org/wp-content/uploads/2020/05/PolyForm-Free-Trial-1.0.0.txt. - -set -ex - -BAZEL_ARGUMENTS="--show_timestamps --announce_rc --sandbox_debug --verbose_failures" - -BAZEL_DIRS=${HOME}/.bazel-dirs -BAZEL_ARGUMENTS="${BAZEL_ARGUMENTS} --experimental_convenience_symlinks=normal --symlink_prefix=${BAZEL_DIRS}/" - -build_bazel_module() { - bazel version - module=$1 - BAZEL_MODULE="//${module}:pkg_dashboards" - - bazel ${bazelrc} build $BAZEL_MODULE - tar -xf bazel-bin/${module}/pkg_dashboards.tar -} - -# Building per module may not be needed currently as each module just has file groups for now. -# Having this in place if more bazel targets are added in the modules. -build_bazel_module CCM -build_bazel_module CD-Core -build_bazel_module CIE -build_bazel_module Chaos -build_bazel_module Cloud_Monitoring_SaaS_Only -build_bazel_module Cluster_Pod_Details_SaaS_Only -build_bazel_module Database -build_bazel_module Feature_Flags -build_bazel_module CD-OPA-GitOps-CV -build_bazel_module IAC -build_bazel_module Monitoring_System -build_bazel_module Platform -build_bazel_module SCM -build_bazel_module STO -build_bazel_module System_Health -build_bazel_module System_Usability -build_bazel_module Continuous_ET -build_bazel_module CD-Pipeline -build_bazel_module Weaviate -build_bazel_module SRM diff --git a/scripts/gsutil_script.sh b/scripts/gsutil_script.sh deleted file mode 100755 index 7c88bbe..0000000 --- a/scripts/gsutil_script.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2023 Harness Inc. All rights reserved. -# Use of this source code is governed by the PolyForm Free Trial 1.0.0 license -# that can be found in the licenses directory at the root of this repository, also available at -# https://polyformproject.org/wp-content/uploads/2020/05/PolyForm-Free-Trial-1.0.0.txt. -# Script to run gsutils - -set -ex - -gsutil_cp_module() { - module=$1 - - dir=harness-dashboards/${module} - if [ -d "$dir" ]; then - gsutil cp ${dir}/* gs://monitoring-prod-dashboards/dashboards/${module} - fi -} - -# Building per module may not be needed currently as each module just has file groups for now. -# Having this in place if more bazel targets are added in the modules. -gsutil_cp_module CCM -gsutil_cp_module CD-Core -gsutil_cp_module CIE -gsutil_cp_module Chaos -gsutil_cp_module Cloud_Monitoring_SaaS_Only -gsutil_cp_module Cluster_Pod_Details_SaaS_Only -gsutil_cp_module Database -gsutil_cp_module Feature_Flags -gsutil_cp_module CD-OPA-GitOps-CV -gsutil_cp_module IAC -gsutil_cp_module Monitoring_System -gsutil_cp_module Platform -gsutil_cp_module SCM -gsutil_cp_module STO -gsutil_cp_module System_Health -gsutil_cp_module System_Usability -gsutil_cp_module Continuous_ET -gsutil_cp_module CD-Pipeline -gsutil_cp_module Weaviate -gsutil_cp_module SRM