metrics

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetProvider = metrics.GetProvider

Functions

func NewTMSProvider

func NewTMSProvider(tmsID token.TMSID, provider Provider) *tmsProvider

func StatsdFormat

func StatsdFormat(extraLabels ...MetricLabel) string

Types

type Counter

type Counter = metrics.Counter

type CounterOpts

type CounterOpts = metrics.CounterOpts

type Gauge

type Gauge = metrics.Gauge

type GaugeOpts

type GaugeOpts = metrics.GaugeOpts

type Histogram

type Histogram = metrics.Histogram

type HistogramOpts

type HistogramOpts = metrics.HistogramOpts

type MetricLabel

type MetricLabel = string
const (
	NetworkLabel   MetricLabel = "network"
	ChannelLabel   MetricLabel = "channel"
	NamespaceLabel MetricLabel = "namespace"
)

func AllLabelNames

func AllLabelNames(extraLabels ...MetricLabel) []MetricLabel

type Provider

type Provider = metrics.Provider

Jump to

Keyboard shortcuts

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