models

package
v0.0.0-...-d499528 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	Subsystem string
	Name      string
	Help      string
	Labels    []string
}

Counter defines a counter metric

type CustomMetricsSpec

type CustomMetricsSpec struct {
	Summaries []*Summary
	Gauges    []*Gauge
	Counters  []*Counter
}

CustomMetricsSpec has all metrics specs

type Gauge

type Gauge struct {
	Subsystem string
	Name      string
	Help      string
	Labels    []string
}

Gauge defines a gauge metric

type Summary

type Summary struct {
	Subsystem  string
	Name       string
	Help       string
	Objectives map[float64]float64
	Labels     []string
}

Summary defines a summary metric

Jump to

Keyboard shortcuts

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