# Functions
Now returns the current time as a Time.
TimeFromUnix returns the Time equivalent to the Unix Time t provided in seconds.
TimeFromUnixNano returns the Time equivalent to the Unix Time t provided in nanoseconds.
# Constants
Earliest is the earliest Time representable.
Latest is the latest Time representable.
MetricNameLabel is the label name indicating the metric name of a timeseries.
# Structs
Interval describes an interval between two timestamps.
SamplePair pairs a SampleValue with a Timestamp.
SampleStream is a stream of Values belonging to an attached COWMetric.
# Type aliases
A LabelName is a key for a Metric.
A LabelSet is a collection of LabelName and LabelValue pairs.
A LabelValue is an associated value for a MetricLabelName.
A Metric is similar to a LabelSet, but the key difference is that a Metric is a singleton and refers to one and only one stream of samples.
A SampleValue is a representation of a value for a given sample at a given time.
Time is the number of milliseconds since the epoch (1970-01-01 00:00 UTC) excluding leap seconds.