metrics

package
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNoopMetricsClient

func NewNoopMetricsClient() *noopMetricsClient

Types

type Timer added in v0.17.0

type Timer struct {
	// contains filtered or unexported fields
}

func NewTimer added in v0.17.0

func NewTimer(client metrics.Client, name string, tags metrics.Tags) *Timer

func (*Timer) Stop added in v0.17.0

func (t *Timer) Stop()

Stop the timer and send the elapsed time as milliseconds as a distribution metric

Jump to

Keyboard shortcuts

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