- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for metricPrefix (0.19 sec)
-
cmd/metrics-v3-types.go
"github.com/prometheus/client_golang/prometheus" "golang.org/x/exp/slices" ) type collectorPath string // metricPrefix converts a collector path to a metric name prefix. The path is // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with // `minio_`. func (cp collectorPath) metricPrefix() string { s := strings.TrimPrefix(string(cp), "/") s = strings.ReplaceAll(s, "/", "_") s = strings.ReplaceAll(s, "-", "_")
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 14.6K bytes - Viewed (0)