Skip to main content

Module datadog

Module datadog 

Source
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§

DatadogObserver
Publishes DialCache diagnostics to DogStatsD. Counters increment by one per event; observations use the configured metric type.
DatadogOptions
Construction options of a DatadogObserver.

Enums§

DatadogError
Construction failures of a DatadogObserver.
ObservationMetricType
How observations (timers, ages, sizes and ratios) are published.

Constants§

DEFAULT_NAMESPACE
The namespace used when DatadogOptions::namespace is None.
METRIC_NAME_MAX_LENGTH
Datadog’s metric name length limit.

Traits§

DogStatsdClient
The subset of the DogStatsD client API the exporter uses.

Functions§

is_valid_namespace
Whether namespace matches ^[A-Za-z][A-Za-z0-9_]*(\.[A-Za-z0-9_]+)*$.
metric_suffix
The metric-name suffix of each kind, appended to the namespace.