metrics

package
v0.0.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

func Default

func Default() *Metrics

func New

func New() (*Metrics, error)

func (*Metrics) NewSpan

func (m *Metrics) NewSpan(prefix, requestMethod, resourceGroup, subscriptionID string) *Span

type Span

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

func (*Span) Observe

func (s *Span) Observe(ctx context.Context, err error)

func (*Span) RateLimited

func (s *Span) RateLimited(ctx context.Context)

func (*Span) Throttled

func (s *Span) Throttled(ctx context.Context)

Jump to

Keyboard shortcuts

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