custommetrics

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: Apache-2.0 Imports: 2 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 interface {
	Inc()
	Add(float64)
}

type Gauge

type Gauge interface {
	Set(float64)
}

type Metrics

type Metrics interface {
	Counter(string) Counter
	Gauge(string) Gauge
}

func NewCustomMetric

func NewCustomMetric(account string, project string) Metrics

Jump to

Keyboard shortcuts

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