From ec51d77dcfa6ae27aa6f843d47d8b19eccff8899 Mon Sep 17 00:00:00 2001 From: Thilo-Alexander Ginkel Date: Mon, 23 Nov 2020 12:00:36 +0100 Subject: [PATCH] grafana: remove incorrect QPS factor --- other/metrics/grafana_seaweedfs.json | 6 +++--- other/metrics/grafana_seaweedfs_k8s.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/other/metrics/grafana_seaweedfs.json b/other/metrics/grafana_seaweedfs.json index d492a0695..074a3531f 100644 --- a/other/metrics/grafana_seaweedfs.json +++ b/other/metrics/grafana_seaweedfs.json @@ -386,7 +386,7 @@ "steppedLine": false, "targets": [ { - "expr": "rate(SeaweedFS_filer_request_total[1m]) * 5", + "expr": "rate(SeaweedFS_filer_request_total[1m])", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{type}}", @@ -761,7 +761,7 @@ "steppedLine": false, "targets": [ { - "expr": "rate(SeaweedFS_s3_request_total[1m]) * 5", + "expr": "rate(SeaweedFS_s3_request_total[1m])", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{type}}", @@ -1853,4 +1853,4 @@ "timezone": "browser", "title": "SeaweedFS", "version": 2 -} \ No newline at end of file +} diff --git a/other/metrics/grafana_seaweedfs_k8s.json b/other/metrics/grafana_seaweedfs_k8s.json index 6d89a4c34..348198e52 100644 --- a/other/metrics/grafana_seaweedfs_k8s.json +++ b/other/metrics/grafana_seaweedfs_k8s.json @@ -97,7 +97,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(SeaweedFS_s3_request_total{namespace=\"$namespace\",service=~\"$service-api\",type=~\"$method\"}[1m]) * 5) by (code)", + "expr": "sum(rate(SeaweedFS_s3_request_total{namespace=\"$namespace\",service=~\"$service-api\",type=~\"$method\"}[1m])) by (code)", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -210,7 +210,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(SeaweedFS_s3_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m]) * 5) by (type)", + "expr": "sum(rate(SeaweedFS_s3_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m])) by (type)", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -1014,7 +1014,7 @@ "steppedLine": false, "targets": [ { - "expr": "rate(SeaweedFS_filer_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m]) * 5", + "expr": "rate(SeaweedFS_filer_request_total{namespace=\"$namespace\",service=~\"$service-api\"}[1m])", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -2359,4 +2359,4 @@ "timezone": "browser", "title": "SeaweedFS", "version": 2 -} \ No newline at end of file +}