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))
Click to show internal directories.
Click to hide internal directories.