Skip to main content

Module encoders

Module encoders 

Source
Expand description

Annotations for shared Datadog encoder configuration keys.

Constants§

ALL
All annotations declared in this module, in declaration order.
ENV
env—the environment name attached to all emitted telemetry.
FLUSH_TIMEOUT_SECS
flush_timeout_secs—how long to wait before force-flushing an in-flight payload. ADP-specific.
LOG_PAYLOADS
log_payloads—debug-log decoded metric, event, and service check payload contents before encoding.
SERIALIZER_COMPRESSOR_KIND
serializer_compressor_kind—compression algorithm for encoder request payloads.
SERIALIZER_MAX_METRICS_PER_PAYLOAD
serializer_max_metrics_per_payload—max metrics per encoded request payload. ADP-specific.
SERIALIZER_MAX_PAYLOAD_SIZE
serializer_max_payload_size—max compressed generic payload size.
SERIALIZER_MAX_SERIES_PAYLOAD_SIZE
serializer_max_series_payload_size—max compressed V2 series payload size.
SERIALIZER_MAX_SERIES_UNCOMPRESSED_PAYLOAD_SIZE
serializer_max_series_uncompressed_payload_size—max uncompressed V2 series payload size.
SERIALIZER_MAX_UNCOMPRESSED_PAYLOAD_SIZE
serializer_max_uncompressed_payload_size—max uncompressed generic payload size.
SERIALIZER_ZSTD_COMPRESSOR_LEVEL
serializer_zstd_compressor_level—zstd compression level for encoder request payloads. Schema declares Float; field is i32.
USE_V2_API_SERIES
use_v2_api.series—when false, send series metrics to the legacy V1 JSON intake at /api/v1/series.