[#1112] node: Fix panic when setting metric `request_duration_seconds`
DCO action / DCO (pull_request) Successful in 2m30s Details
Build / Build Components (1.21) (pull_request) Successful in 3m19s Details
Vulncheck / Vulncheck (pull_request) Successful in 3m32s Details
Build / Build Components (1.22) (pull_request) Successful in 5m3s Details
Tests and linters / Staticcheck (pull_request) Successful in 3m41s Details
Tests and linters / gopls check (pull_request) Successful in 4m4s Details
Tests and linters / Lint (pull_request) Successful in 4m40s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 7m45s Details
Tests and linters / Tests with -race (pull_request) Successful in 7m56s Details
Tests and linters / Tests (1.22) (pull_request) Successful in 8m9s Details

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
Anton Nikiforov 2024-05-02 18:17:16 +03:00
parent f08b453247
commit 6958163277
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func newWriteCacheMetrics() *writeCacheMetrics {
Subsystem: writeCacheSubsystem,
Name: "request_duration_seconds",
Help: "Writecache request process duration",
}, []string{shardIDLabel, successLabel, storageLabel, methodLabel}),
}, []string{shardIDLabel, successLabel, storageLabel, methodLabel, pathLabel}),
operationCounter: metrics.NewCounterVec(prometheus.CounterOpts{
Namespace: namespace,
Subsystem: writeCacheSubsystem,