prometheus

package
v0.0.0-...-0451d2a Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int64Counter

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

func (*Int64Counter) Add

func (c *Int64Counter) Add(ctx context.Context, value int64, opts ...telemetry.CounterAttributes)

type Int64UpDownCounter

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

func NewInt64UpDownCounter

func NewInt64UpDownCounter(counter instrument.Int64UpDownCounter) *Int64UpDownCounter

func (*Int64UpDownCounter) Add

func (c *Int64UpDownCounter) Add(ctx context.Context, value int64, opts ...telemetry.CounterAttributes)

type Meter

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

func NewMeterProvider

func NewMeterProvider(svcName string, reader metric.Reader) *Meter

func (*Meter) Int64Counter

func (m *Meter) Int64Counter(name string, opts ...telemetry.CounterOption) (telemetry.Counter, error)

func (*Meter) Int64UpDownCounter

func (m *Meter) Int64UpDownCounter(name string, opts ...telemetry.CounterOption) (telemetry.Counter, error)

Jump to

Keyboard shortcuts

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