metricname

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Canonical

func Canonical(s string) string

Canonical returns canonical metric name.

func Join

func Join(elem ...string) string

Join joins any number of name elements int a single name.

func Match

func Match(s, pattern string) bool

Match evaluates that s is matched to pattern.

func Percentile

func Percentile(q float64) string

Percentile returns "percentile_xx".

func Prefix

func Prefix(s string) string

Prefix splits s immediately following the final dot.

func Sanitize

func Sanitize(s string) string

Sanitize sanitizes s.

func Split

func Split(s string) []string

Split slices s into all substrings

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL