metrics

package
v0.0.0-...-d00b15a Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDetails

func WithDetails(details trace.Details) option

func WithNamespace

func WithNamespace(namespace string) option

func WithSeparator

func WithSeparator(separator string) option

func WithTimerBuckets

func WithTimerBuckets(timerBuckets []float64) option

Types

type Config

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

func MakeConfig

func MakeConfig(registry metrics.Handler, opts ...option) *Config

func (*Config) CounterVec

func (c *Config) CounterVec(name string, labelNames ...string) ydbMetrics.CounterVec

func (*Config) Details

func (c *Config) Details() trace.Details

func (*Config) GaugeVec

func (c *Config) GaugeVec(name string, labelNames ...string) ydbMetrics.GaugeVec

func (*Config) HistogramVec

func (c *Config) HistogramVec(name string, buckets []float64, labelNames ...string) ydbMetrics.HistogramVec

func (*Config) TimerVec

func (c *Config) TimerVec(name string, labelNames ...string) ydbMetrics.TimerVec

func (*Config) WithSystem

func (c *Config) WithSystem(subsystem string) ydbMetrics.Config

Jump to

Keyboard shortcuts

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