aboutsummaryrefslogtreecommitdiff
path: root/weed/stats/metrics_names.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-08-01 13:31:01 -0700
committerGitHub <noreply@github.com>2022-08-01 13:31:01 -0700
commitfc8035d6722f5cf79e1596a21c3f8827a632a002 (patch)
tree2f833124d274ced1ec5431b91efef2cf5acb4905 /weed/stats/metrics_names.go
parentbd5c9904be2dcc0a118fb0863a007d3c46aecafd (diff)
parent3ffa4ba91dfdeba985ab6f7933b4d789ab702442 (diff)
downloadseaweedfs-fc8035d6722f5cf79e1596a21c3f8827a632a002.tar.xz
seaweedfs-fc8035d6722f5cf79e1596a21c3f8827a632a002.zip
Merge pull request #3394 from kmlebedev/metricsReplicatedWrite
Detailed metrics VolumeServerRequestHistogram for writing to disk and replication
Diffstat (limited to 'weed/stats/metrics_names.go')
-rw-r--r--weed/stats/metrics_names.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/stats/metrics_names.go b/weed/stats/metrics_names.go
index 59ae022aa..3c62dd48e 100644
--- a/weed/stats/metrics_names.go
+++ b/weed/stats/metrics_names.go
@@ -4,6 +4,8 @@ package stats
// The naming convention is ErrorSomeThing = "error.some.thing"
const (
// volume server
+ WriteToLocalDisk = "writeToLocalDisk"
+ WriteToReplicas = "writeToReplicas"
ErrorSizeMismatchOffsetSize = "errorSizeMismatchOffsetSize"
ErrorSizeMismatch = "errorSizeMismatch"
ErrorCRC = "errorCRC"