metrics

package
v0.0.0-...-37de26c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Counter is single additive value. New values are simply added to the current one.
	Counter MetricType = "counter"
	// Histogram is a set of numerical values that quantify a distribution of values. New values are added to the distribution.
	Histogram = "histogram"
	// Gauge is a single non-additive value. New value replaces the previous one.
	Gauge = "gauge"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

type Graph struct {
	Title   string
	Unit    string
	Metrics []Metric
}

type Group

type Group struct {
	Name   string
	Graphs []Graph
}

type Metric

type Metric struct {
	Title string
	Type  MetricType
}

type MetricType

type MetricType string

Jump to

Keyboard shortcuts

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