This is an automated email from the ASF dual-hosted git repository. liujun pushed a commit to branch refactor-with-go in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git
The following commit(s) were added to refs/heads/refactor-with-go by this push: new 0d4842c3 add addons (#1069) 0d4842c3 is described below commit 0d4842c3dd871a781889fa00f6c7045d7d83ceb2 Author: Mford Jody <11638...@qq.com> AuthorDate: Mon Apr 3 16:16:35 2023 +0800 add addons (#1069) --- deploy/addons/addons.sh | 65 + deploy/addons/dashboards/external-dashboard.json | 4358 ++++++++++++++++++++++ deploy/addons/values-grafana.yaml | 39 + deploy/addons/values-prometheus.yaml | 30 + deploy/addons/values-sw.yaml | 28 + deploy/addons/values-zipkin.yaml | 28 + 6 files changed, 4548 insertions(+) diff --git a/deploy/addons/addons.sh b/deploy/addons/addons.sh new file mode 100644 index 00000000..5b3bf042 --- /dev/null +++ b/deploy/addons/addons.sh @@ -0,0 +1,65 @@ +#!/usr/bin/env bash + +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +WORKDIR=$(dirname "$0") +DASHBOARDS="${WORKDIR}/dashboards" + +# Set up prometheus +helm3 template prometheus prometheus \ + --namespace default \ + --version 20.0.2 \ + --repo https://prometheus-community.github.io/helm-charts \ + -f "${WORKDIR}/values-prometheus.yaml" \ + +function extraDashboard() { + < "${DASHBOARDS}/$1" jq -c > "${TMP}/$1" +} + +# Set up grafana +{ + helm3 template grafana grafana \ + --namespace default \ + --version 6.52.4 \ + --repo https://grafana.github.io/helm-charts \ + -f "${WD}/values-grafana.yaml" + + extraDashboard "external-dashboard.json" + + kubectl create configmap -n default external-dashboard \ + --dry-run=client -oyaml \ + --from-file=external-dashboard.json="${TMP}/external-dashboard.json" \ +} + +# Set up sw +{ + helm3 template skywalking skywalking \ + --namespace default \ + --version 4.3.0 \ + --repo https://apache.jfrog.io/artifactory/skywalking-helm \ + -f "${WORKDIR}/values-sw.yaml" +} + +# Set up zipkin +{ + helm3 template zipkin zipkin \ + --namespace default \ + --version 0.3.0 \ + --repo https://openzipkin.github.io/zipkin \ + -f "${WORKDIR}/values-zipkin.yaml" +} + + diff --git a/deploy/addons/dashboards/external-dashboard.json b/deploy/addons/dashboards/external-dashboard.json new file mode 100644 index 00000000..f14ec322 --- /dev/null +++ b/deploy/addons/dashboards/external-dashboard.json @@ -0,0 +1,4358 @@ +{ + "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": 9, + "links": [ + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [], + "targetBlank": false, + "title": "New link", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], + "liveNow": false, + "panels": [ + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 57, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "application_name", + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 17 + }, + "id": 42, + "options": { + "code": { + "language": "html", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "<div style=\"text-align:center;font-size:30px\">${application_name}</div>", + "mode": "html" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "expr": "qps{application_name=\"$application_name\"}", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "application_name", + "type": "text" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 0, + "y": 20 + }, + "id": 47, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "expr": "sum(dubbo_provider_requests_succeed_total{application_name=\"$application_name\"}) / sum(dubbo_provider_requests_total{application_name=\"$application_name\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "provider_success_rate", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 0 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 4, + "y": 20 + }, + "id": 53, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "expr": "sum(dubbo_provider_requests_failed_total{application_name=\"$application_name\"}) OR on() vector(0) / sum(dubbo_provider_requests_total{application_name=\"$application_name\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "provider_failed_rate", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "red", + "mode": "fixed" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 8, + "y": 20 + }, + "id": 48, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "expr": "sum(dubbo_provider_requests_failed_total{application_name=\"$application_name\"}) OR on() vector(0)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "provider_error_total", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "red", + "mode": "fixed" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 12, + "y": 20 + }, + "id": 51, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "expr": "sum(dubbo_provider_requests_timeout_total{application_name=\"$application_name\"}) OR on() vector(0)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "timeout_total", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "red", + "mode": "fixed" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 16, + "y": 20 + }, + "id": 50, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "expr": "sum(dubbo_provider_requests_limit_total{application_name=\"$application_name\"}) OR on() vector(0)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "limit_total", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "red", + "mode": "fixed" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 20, + "y": 20 + }, + "id": 52, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "expr": "sum(dubbo_provider_requests_unknown_total{application_name=\"$application_name\"})OR on() vector(0)", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "unknown_total", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 25 + }, + "id": 54, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "expr": "max(dubbo_provider_rt_seconds_max{application_name=\"$application_name\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "rt_max", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 25 + }, + "id": 55, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "expr": "min(dubbo_provider_rt_seconds_min{application_name=\"$application_name\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "rt_min", + "type": "stat" + } + ], + "title": "Dubbo Stat", + "type": "row" + }, + { + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 1 + }, + "id": 10, + "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "refId": "A" + } + ], + "title": "Provider Request", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 1, + "axisWidth": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 4, + "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": 2 + }, + "id": 18, + "options": { + "legend": { + "calcs": [ + "min", + "max" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_provider_qps_seconds{application_name=\"$application_name\"}", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_qps", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "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", + "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": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 36, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "increase(dubbo_provider_requests_total{application_name=\"$application_name\"}[2m])", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_total(2m)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 19, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 15 + }, + "id": 32, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "dubbo_provider_requests_processing{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_processing", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 18, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": 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": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 15 + }, + "id": 33, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "increase(dubbo_provider_requests_succeed_total{application_name=\"$application_name\"}[2m])", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_succeed(2m)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 13, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 0, + "y": 23 + }, + "id": 38, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_provider_requests_total_aggregate{application_name=\"$application_name\"}", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_total_aggregate", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 13, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 12, + "y": 23 + }, + "id": 60, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "dubbo_provider_requests_succeed_aggregate{application_name=\"$application_name\"}", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_succeed_aggregate", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 44, + "panels": [], + "title": "Provider RT", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 72, + "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": 7, + "w": 23, + "x": 0, + "y": 31 + }, + "id": 45, + "options": { + "legend": { + "calcs": [ + "min", + "max" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "increase(dubbo_provider_rt_seconds_sum{application_name=\"$application_name\"}[1m])", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_rt_sum(1m)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 38 + }, + "id": 29, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "dubbo_provider_rt_seconds_min{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_rt_min", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 38 + }, + "id": 30, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_provider_rt_seconds_max{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_rt_max", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 24, + "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": 7, + "w": 12, + "x": 0, + "y": 45 + }, + "id": 78, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "dubbo_provider_rt_seconds_avg{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_rt_avg ", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 35, + "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": 7, + "w": 12, + "x": 12, + "y": 45 + }, + "id": 39, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "dubbo_provider_rt_seconds_last{application_name=\"$application_name\"}", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_rt_last", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 34, + "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": 7, + "w": 12, + "x": 0, + "y": 52 + }, + "id": 40, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "dubbo_provider_rt_seconds_p95{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": " provider_rt_p95", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 31, + "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": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "org.apache.dubbo.samples.metrics.prometheus.api.DemoService.sayHello" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 52 + }, + "id": 35, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "dubbo_provider_rt_seconds_p99{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_rt_p99", + "type": "timeseries" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 59 + }, + "id": 59, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 4 + }, + "id": 31, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_provider_requests_failed_total{application_name=\"$application_name\"} OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_failed_total", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 0, + "y": 9 + }, + "id": 62, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_provider_requests_limit_total{application_name=\"$application_name\"} OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_limit", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 12, + "y": 9 + }, + "id": 64, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_provider_requests_business_failed_total{application_name=\"$application_name\"} OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_business_failed", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 0, + "y": 16 + }, + "id": 63, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_provider_requests_unknown_failed_total{application_name=\"$application_name\"}OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_unknown_failed", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 12, + "y": 16 + }, + "id": 61, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_provider_requests_timeout_total{application_name=\"$application_name\"} OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "provider_requests_timeout", + "type": "timeseries" + } + ], + "title": "Provider Error", + "type": "row" + }, + { + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 60 + }, + "id": 12, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 1, + "axisWidth": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 4, + "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": [ + "org.apache.dubbo.samples.metrics.prometheus.api.DemoService.sayHello" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 35 + }, + "id": 65, + "options": { + "legend": { + "calcs": [ + "min", + "max" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_qps_seconds{application_name=\"$application_name\"}", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_qps", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "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", + "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": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 42 + }, + "id": 66, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "increase(dubbo_consumer_requests_total{application_name=\"$application_name\"}[2m])", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_request_total(2m)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 19, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 48 + }, + "id": 67, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_requests_processing{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_processing", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 18, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": 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": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 48 + }, + "id": 68, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "increase(dubbo_consumer_requests_succeed_total{application_name=\"$application_name\"}[2m])", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_succeed(2m)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 13, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 0, + "y": 56 + }, + "id": 69, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_requests_total_aggregate{application_name=\"$application_name\"}", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_total_aggregate", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 13, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 12, + "y": 56 + }, + "id": 70, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_requests_succeed_aggregate{application_name=\"$application_name\"}", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_succeed_aggregate", + "type": "timeseries" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "refId": "A" + } + ], + "title": "Consumer Request", + "type": "row" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 61 + }, + "id": 72, + "panels": [], + "title": "Consumer RT", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 72, + "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": 7, + "w": 23, + "x": 0, + "y": 62 + }, + "id": 75, + "options": { + "legend": { + "calcs": [ + "min", + "max" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "increase(dubbo_consumer_rt_seconds_sum{application_name=\"$application_name\"}[1m])", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_rt_sum(1m)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 69 + }, + "id": 76, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "dubbo_provider_rt_seconds_min{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_rt_min", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 69 + }, + "id": 77, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_rt_seconds_max{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_rt_max", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 24, + "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": 7, + "w": 12, + "x": 0, + "y": 76 + }, + "id": 34, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_rt_seconds_avg{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_rt_avg ", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 35, + "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": 7, + "w": 12, + "x": 12, + "y": 76 + }, + "id": 79, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_rt_seconds_last{application_name=\"$application_name\"}", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_rt_last", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 34, + "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": 7, + "w": 12, + "x": 0, + "y": 83 + }, + "id": 80, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_rt_seconds_p95{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_rt_p95", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 31, + "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": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "org.apache.dubbo.samples.metrics.prometheus.api.DemoService.sayHello" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 83 + }, + "id": 81, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_rt_seconds_p99{application_name=\"$application_name\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_rt_p99", + "type": "timeseries" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 90 + }, + "id": 74, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 7 + }, + "id": 82, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_requests_failed_total{application_name=\"$application_name\"} OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_failed_total", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 0, + "y": 12 + }, + "id": 83, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_requests_limit_total{application_name=\"$application_name\"} OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_limit", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 12, + "y": 12 + }, + "id": 84, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_requests_business_failed_total{application_name=\"$application_name\"} OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_business_failed", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 0, + "y": 19 + }, + "id": 85, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_requests_unknown_failed_total{application_name=\"$application_name\"}OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_unknown_failed", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 14, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "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": 12, + "x": 12, + "y": 19 + }, + "id": 86, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dubbo_consumer_requests_timeout_total{application_name=\"$application_name\"} OR on() vector(0)", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{interface}}.{{method}}", + "range": true, + "refId": "A" + } + ], + "title": "consumer_requests_timeout", + "type": "timeseries" + } + ], + "title": "Consumer Error", + "type": "row" + }, + { + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 91 + }, + "id": 4, + "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "refId": "A" + } + ], + "title": "注册中心", + "type": "row" + }, + { + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 92 + }, + "id": 2, + "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "refId": "A" + } + ], + "title": "配置中心", + "type": "row" + }, + { + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 93 + }, + "id": 8, + "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "refId": "A" + } + ], + "title": "元数据中心", + "type": "row" + } + ], + "refresh": "", + "schemaVersion": 37, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "metrics-demo-consumer", + "value": "metrics-demo-consumer" + }, + "datasource": { + "type": "prometheus", + "uid": "U_7pLbpnk" + }, + "definition": "dubbo_provider_rt_seconds_p99", + "description": "", + "hide": 1, + "includeAll": false, + "label": "application_name", + "multi": false, + "name": "application_name", + "options": [], + "query": { + "query": "dubbo_provider_rt_seconds_p99", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/.*application_name=\"([^\"]*).*/", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-24h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Dubbo可观测性面板", + "uid": "ewNiYNcVk", + "version": 42, + "weekStart": "" +} \ No newline at end of file diff --git a/deploy/addons/values-grafana.yaml b/deploy/addons/values-grafana.yaml new file mode 100644 index 00000000..6c78a5d9 --- /dev/null +++ b/deploy/addons/values-grafana.yaml @@ -0,0 +1,39 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +rbac: + create: false + pspEnabled: false + pspUseAppArmor: false + +testFramework: + enabled: false + +service: + port: 3000 + +datasources: + datasources.yaml: + apiVersion: 1 + datasources: + - name: Prometheus + type: prometheus + orgId: 1 + url: http://prometheus:9090 + access: proxy + isDefault: true + jsonData: + timeInterval: 5s + editable: true \ No newline at end of file diff --git a/deploy/addons/values-prometheus.yaml b/deploy/addons/values-prometheus.yaml new file mode 100644 index 00000000..27ef5668 --- /dev/null +++ b/deploy/addons/values-prometheus.yaml @@ -0,0 +1,30 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +alertmanager: + enabled: false +prometheus-pushgateway: + enabled: false +kube-state-metrics: + enabled: false +prometheus-node-exporter: + enabled: false +server: + persistentVolume: + enabled: false + service: + servicePort: 9090 + global: + scrape_interval: 15s diff --git a/deploy/addons/values-sw.yaml b/deploy/addons/values-sw.yaml new file mode 100644 index 00000000..7676e140 --- /dev/null +++ b/deploy/addons/values-sw.yaml @@ -0,0 +1,28 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +skywalking: + enabled: true + oap: + image: + repository: skywalking.docker.scarf.sh/apache/skywalking-oap-server + tag: 9.3.0 + storageType: elasticsearch + ui: + image: + repository: skywalking.docker.scarf.sh/apache/skywalking-ui + tag: 9.3.0 + elasticsearch: + enabled: false \ No newline at end of file diff --git a/deploy/addons/values-zipkin.yaml b/deploy/addons/values-zipkin.yaml new file mode 100644 index 00000000..60e5e17e --- /dev/null +++ b/deploy/addons/values-zipkin.yaml @@ -0,0 +1,28 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +ui: + image: + repository: openzipkin/zipkin-ui + +collector: + image: + repository: openzipkin/zipkin + +dependencies: + enabled: false + cron: "* 0 * * *" + image: + repository: openzipkin/zipkin-dependencies \ No newline at end of file