# Functions
Combine returns a Type implementation that feeds metrics into two underlying Type implementations.
FakeCounterVec returns a counter vec implementation that ignores labels.
FakeGaugeVec returns a gauge vec implementation that ignores labels.
FakeTimerVec returns a timer vec implementation that ignores labels.
NewCloudWatchConfig creates an CloudWatchConfig struct with default values.
NewConfig returns a configuration struct fully populated with default values.
NewInfluxDBConfig creates an InfluxDBConfig struct with default values.
NewJSONAPIConfig returns a new JSONAPIConfig with default values.
NewLocal creates and returns a new Local aggregator.
NewLoggerConfig returns a new StdoutConfig with default values.
NewMapping parses a Bloblang mapping and returns a metrics mapping.
NewNamespaced wraps a metrics exporter and adds prefixes and custom labels.
NewPrometheusConfig creates an PrometheusConfig struct with default values.
NewPrometheusPushBasicAuthConfig creates a new NewPrometheusPushBasicAuthConfig with default values.
NewStatsdConfig creates an StatsdConfig struct with default values.
Noop returns a namespaced metrics aggregator with a noop child.
ReverseLabelledPath extracts a name, tag names and tag values from a labelled metric name.
# Structs
CloudWatchConfig contains config fields for the CloudWatch metrics type.
Config is the all encompassing configuration struct for all metric output types.
DudStat implements the Stat interface but doesn't actual do anything.
DudType implements the Type interface but doesn't actual do anything.
InfluxDBConfig is config for the influx metrics type.
InfluxDBInclude contains configuration parameters for optional metrics to include.
JSONAPIConfig contains configuration parameters for the JSON API metrics aggregator.
Local is a metrics aggregator that stores metrics locally.
LocalStat is a representation of a single metric stat.
LocalTiming is a representation of a single metric timing.
LoggerConfig contains configuration parameters for the Stdout metrics aggregator.
Mapping is a compiled Bloblang mapping used to rewrite metrics.
Namespaced wraps a child metrics exporter and exposes a Type API that adds namespacing labels and name prefixes to new.
PrometheusConfig is config for the Prometheus metrics type.
PrometheusPushBasicAuthConfig contains parameters for establishing basic authentication against a push service.
StatsdConfig is config for the Statsd metrics type.
# Interfaces
StatCounter is a representation of a single counter metric stat.
StatCounterVec creates StatCounters with dynamic labels.
StatGauge is a representation of a single gauge metric stat.
StatGaugeVec creates StatGauges with dynamic labels.
StatTimer is a representation of a single timer metric stat, timing values should be presented in nanoseconds for consistency.
StatTimerVec creates StatTimers with dynamic labels.
Type is an interface for metrics aggregation.