otelmetrics

package
v0.14.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*config)

func WithAttributes

func WithAttributes(kv ...attribute.KeyValue) Option

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

func WithServerName

func WithServerName(name string) Option

func WithSubsystem

func WithSubsystem(name string) Option

type ServerInterceptor

type ServerInterceptor interface {
	UnaryServerInterceptor() grpc.UnaryServerInterceptor
	StreamServerInterceptor() grpc.StreamServerInterceptor
}

func New

func New(opts ...Option) ServerInterceptor

Jump to

Keyboard shortcuts

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