otelmetrics

package
v0.13.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) func(http.Handler) http.Handler

Types

type OperationFilter

type OperationFilter func(req *http.Request) bool

type Option

type Option func(*config)

func WithAttributes

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

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

func WithOperationFilter

func WithOperationFilter(filter OperationFilter) Option

func WithServerName

func WithServerName(name string) Option

func WithSubsystem

func WithSubsystem(name string) Option

Jump to

Keyboard shortcuts

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