package
2.5.1+incompatible
Repository: https://github.com/signalfx/golib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddMaps adds two maps of dimensions and returns a new map of dimensions that is a + b.
CastFloatValue casts a float to datapoint Value.
CastIntegerValue casts a signed integer to a datapoint Value.
CastMetricValue casts an interface to datapoint Value.
CastMetricValueWithBool casts an interface to datapoint Value and handles bool.
CastUIntegerValue casts an unsigned integer to a datapoint Value.
New creates a new datapoint with empty meta data.
NewFloatValue creates new datapoint value is a float.
NewIntValue creates new datapoint value is an integer.
NewStringValue creates new datapoint value is a string.
NewWithMeta creates a new datapoint with passed metadata.

# Constants

Count is a number per a given interval (such as a statsd flushInterval); not very useful.
Counter is a number that keeps increasing over time (but might wrap/reset at some points) (no statsd counterpart), i.e.
Enum is an added type: Values aren't important relative to each other but are just important as distinct items in a set.
Gauge is values at each point in time.
Rate is a number per second.
Timestamp value represents a unix timestamp.

# Structs

A Datapoint is the metric that is saved.

# Interfaces

FloatValue are values that represent an exact floating point value.
IntValue are values that represent an exact integer point value.
StringValue are values that represent an exact string value and don't have a numeric representation.
A Value is the value being sent between servers.

# Type aliases

MetricType define how to display the Value.