- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for cp (0.17 sec)
-
cmd/metrics-v3-types.go
// 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, "-", "_") return "minio_" + s } // isDescendantOf returns true if it is a descendant of (or the same as)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 30 15:05:22 GMT 2024 - 14.7K bytes - Viewed (0)