# Functions
DecodeExpfmt decodes the reader of format into metric families.
DecodeJSON decodes a JSON array of metrics families.
EncodeExpfmt encodes the metrics family (defaults to expfmt.FmtProtoDelim).
EncodeJSON encodes the metric families to JSON.
EncodeLineProtocol converts prometheus metrics into line protocol.
L is used with Family to create a series of label pairs for matching.
NewAuthorizationService creates an instance of AuthorizationService.
NewEventRecorder returns an instance of a metric event recorder.
NewInfluxCollector returns a collector which exports influxdb process metrics.
NewMatcher returns a new matcher.
# Structs
AddLabels adds labels to all metrics.
AuthorizationService manages authorizations.
EventRecorder implements http/metric.EventRecorder.
Expfmt encodes metric families into prometheus exposition format.
Filter filters the metrics from Gather using Matcher.
JSON encodes metric families into JSON.
LineProtocol encodes metric families into influxdb line protocol.
RemoveLabels adds labels to all metrics.
RenameFamilies changes the name of families to another name.
# Interfaces
Encoder transforms metric families into bytes.
Transformer modifies prometheus metrics families.