telemetry

package
v0.0.0-...-d4c9315 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalAttr  []attribute.KeyValue
	GlobalMeter *Meter

	WatchValue int64
)

Functions

func AddGlobalAttr

func AddGlobalAttr(v ...attribute.KeyValue)

func SetGlobalMeter

func SetGlobalMeter() error

Types

type Meter

type Meter struct {
	SuccessCounter   metric.Int64Counter
	HistogramCounter metric.Float64Histogram
	UpDownCounter    metric.Int64UpDownCounter
	SendGaugeCounter metric.Int64ObservableGauge
}

Jump to

Keyboard shortcuts

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