metrics

package
v2.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeCode

func SanitizeCode(s int) string

func SanitizeMethod

func SanitizeMethod(m string) string

SanitizeMethod sanitizes the method for use as a metric label. This helps prevent high cardinality on the method label. The name is always upper case.

Types

This section is empty.

Jump to

Keyboard shortcuts

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