diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2024-07-13 00:32:25 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 12:32:25 -0700 |
| commit | 33964fa29222195c459302c5c7aa7a8e467b725b (patch) | |
| tree | 690adb1dbac1b25fcf11022a3bc22635f18c20e4 /weed/stats/metrics.go | |
| parent | 04f4b108842742a7b0205a02baed32d3bacbb73f (diff) | |
| download | seaweedfs-33964fa29222195c459302c5c7aa7a8e467b725b.tar.xz seaweedfs-33964fa29222195c459302c5c7aa7a8e467b725b.zip | |
metrics stats of volume layout depends on the data center (#5775)
stats volume layout depends on the data center
Diffstat (limited to 'weed/stats/metrics.go')
| -rw-r--r-- | weed/stats/metrics.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go index 4393c280c..faf87ff09 100644 --- a/weed/stats/metrics.go +++ b/weed/stats/metrics.go @@ -76,7 +76,7 @@ var ( Subsystem: "master", Name: "volume_layout_total", Help: "Number of volumes in volume layouts", - }, []string{"collection", "replica", "type"}) + }, []string{"collection", "dataCenter", "type"}) MasterLeaderChangeCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ |
