otel

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentClientMetrics

func InstrumentClientMetrics(rdb redis.UniversalClient, opts ...MetricsOption) error

func InstrumentMetrics

func InstrumentMetrics(c *cache.Cache, opts ...MetricsOption) error

Types

type MetricsOption

type MetricsOption interface {
	// contains filtered or unexported methods
}

func WithMeterProvider

func WithMeterProvider(mp metric.MeterProvider) MetricsOption

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithAtributes

func WithAtributes(atts ...attribute.KeyValue) Option

func WithDBSystem

func WithDBSystem(system string) Option

Jump to

Keyboard shortcuts

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