authorizationotel

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Result

func Result(event authorization.Event) string

Result returns the bounded metric and span classification for an event.

Types

type Instrumenter

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

func New

func New(scope string, tracerProvider trace.TracerProvider, meterProvider metric.MeterProvider) (*Instrumenter, error)

func (*Instrumenter) Begin

func (instrumenter *Instrumenter) Begin(ctx context.Context) (context.Context, func(authorization.Event))

Jump to

Keyboard shortcuts

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