metric

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Line

func Line(name string, value float64, ts int64, source string, tags map[string]string, defaultSource string) (string, error)

Gets a metric line in the Wavefront metrics data format: <metricName> <metricValue> [<timestamp>] source=<source> [pointTags] Example: "new-york.power.usage 42422.0 1533531013 source=localhost datacenter=dc1"

Types

This section is empty.

Jump to

Keyboard shortcuts

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