metrics

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricUnitNone         = 0
	MetricUnitPercent      = 1
	MetricUnitByte         = 2
	MetricUnitMicroseconds = 3
	MetricUnitMilliseconds = 4
	MetricUnitSeconds      = 5
)
View Source
const (
	MetricTypeGauge   = 0
	MetricTypeCounter = 1
)

Variables

View Source
var AllMetrics = map[otelmetrics.MetricID]Metric{}/* 230 elements not displayed */

Functions

This section is empty.

Types

type Metric

type Metric struct {
	Desc  string
	Field string
	Type  MetricType
	Unit  MetricUnit
}

type MetricType

type MetricType uint64

MetricType is the type for metric types (e.g. gauge).

type MetricUnit

type MetricUnit uint64

MetricUnit is the type for metric units (e.g. millis).

Jump to

Keyboard shortcuts

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