telemetry

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseMetrics

func CloseMetrics(id prometheus.Labels)

CloseMetrics closes the metrics for the given id.

func End

func End(ctx context.Context, err error)

End records and finalizes the operation.

func StartWith

func StartWith(ctx context.Context, keyvals ...any) context.Context

StartWith starts a new operation with the given key-value pairs. MUST call End() to finalize the operation.

Types

type Labels

type Labels []any

func (Labels) Get

func (l Labels) Get(key any) any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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