diff --git a/grafana/custom-metrics/config.yaml b/grafana/custom-metrics/config.yaml index 0db18e7..b9dd0bb 100644 --- a/grafana/custom-metrics/config.yaml +++ b/grafana/custom-metrics/config.yaml @@ -16,11 +16,6 @@ customMetrics: expr: sum(argocd_autoscaler_poll_values) by (poll_type,poll_ref,shard_name,metric_id) unit: number -- metric: argocd_autoscaler_poll_values - type: gauge - expr: sum(argocd_autoscaler_poll_values) by (poll_type,poll_ref,shard_name,metric_id) - unit: number - - metric: argocd_autoscaler_normalizer_values type: gauge expr: sum(argocd_autoscaler_normalizer_values) by (normalizer_type,normalizer_ref,shard_name,metric_id) diff --git a/grafana/custom-metrics/custom-metrics-dashboard.json b/grafana/custom-metrics/custom-metrics-dashboard.json index 34f1f37..1594222 100644 --- a/grafana/custom-metrics/custom-metrics-dashboard.json +++ b/grafana/custom-metrics/custom-metrics-dashboard.json @@ -216,93 +216,6 @@ "type": "timeseries" }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "scheme", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineWidth": 3, - "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": "number" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 24 - }, - "interval": "1m", - "links": [], - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.4.3", - "targets": [ - { - "datasource": "${DS_PROMETHEUS}", - "exemplar": true, - "expr": "sum(argocd_autoscaler_poll_values) by (poll_type,poll_ref,shard_name,metric_id)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "refId": "A", - "step": 10 - } - ], - "title": "argocd_autoscaler_poll_values (gauge)", - "type": "timeseries" - }, - { "datasource": "${DS_PROMETHEUS}", "fieldConfig": {