Expand description
Datadog (DogStatsD) metric exporter.
DatadogObserver publishes every Event to a caller-supplied
DogStatsdClient under the metric names, units and tags of the
TypeScript and Go adapters. Transport, buffering, flushing and ownership of
the client stay with the caller.
Structs§
- Datadog
Observer - Publishes DialCache diagnostics to DogStatsD. Counters increment by one per event; observations use the configured metric type.
- Datadog
Options - Construction options of a
DatadogObserver.
Enums§
- Datadog
Error - Construction failures of a
DatadogObserver. - Observation
Metric Type - How observations (timers, ages, sizes and ratios) are published.
Constants§
- DEFAULT_
NAMESPACE - The namespace used when
DatadogOptions::namespaceisNone. - METRIC_
NAME_ MAX_ LENGTH - Datadog’s metric name length limit.
Traits§
- DogStatsd
Client - The subset of the DogStatsD client API the exporter uses.
Functions§
- is_
valid_ namespace - Whether
namespacematches^[A-Za-z][A-Za-z0-9_]*(\.[A-Za-z0-9_]+)*$. - metric_
suffix - The metric-name suffix of each kind, appended to the namespace.