Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for metricPrefix (0.09 sec)

  1. 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), SlashSeparator)
    	s = strings.ReplaceAll(s, SlashSeparator, "_")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

    /**
     * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix
     * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10
     * and <code>###0</code> for numbers between 10 and 1000+ by default.
     *
     * @see <a href="https://en.wikipedia.org/wiki/Metric_prefix">https://en.wikipedia.org/wiki/Metric_prefix</a>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top