observers

package
v0.0.0-...-fe23bbf Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Float64Callback

type Float64Callback func(context.Context, Float64Observer) error

type Float64Observer

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

func NewFloat64Observer

func NewFloat64Observer(o metric.Float64Observer) Float64Observer

func (*Float64Observer) Observe

func (o *Float64Observer) Observe(value float64, attr ...observability.KeyValue)

type Int64Callback

type Int64Callback func(context.Context, Int64Observer) error

type Int64Observer

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

func NewInt64Observer

func NewInt64Observer(o metric.Int64Observer) Int64Observer

func (*Int64Observer) Observe

func (o *Int64Observer) Observe(value int64, attr ...observability.KeyValue)

Jump to

Keyboard shortcuts

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