Skip to main content

Module dogstatsd

Module dogstatsd 

Source
Expand description

Annotations for DogStatsD source configuration keys.

Constants§

ALL
All annotations declared in this module, in declaration order.
BIND_HOST
bind_host—host address to bind UDP/TCP listeners to.
DOGSTATSD_ALLOW_CONTEXT_HEAP_ALLOCS
dogstatsd_allow_context_heap_allocs—allow heap allocations when interner is full.
DOGSTATSD_AUTOSCALE_UDP_LISTENERS
dogstatsd_autoscale_udp_listeners—bind multiple UDP sockets with SO_REUSEPORT for kernel load balancing.
DOGSTATSD_BUFFER_COUNT
dogstatsd_buffer_count—number of message buffers to pre-allocate.
DOGSTATSD_BUFFER_SIZE
dogstatsd_buffer_size—receive buffer size in bytes. Schema says Float; field is usize.
DOGSTATSD_CACHED_CONTEXTS_LIMIT
dogstatsd_cached_contexts_limit—max cached metric contexts.
DOGSTATSD_CACHED_TAGSETS_LIMIT
dogstatsd_cached_tagsets_limit—max cached tag sets.
DOGSTATSD_CAPTURE_DEPTH
dogstatsd_capture_depth - traffic capture channel depth.
DOGSTATSD_CAPTURE_PATH
dogstatsd_capture_path - traffic capture file location.
DOGSTATSD_CONTEXT_EXPIRY_SECONDS
dogstatsd_context_expiry_seconds - context cache TTL.
DOGSTATSD_ENTITY_ID_PRECEDENCE
dogstatsd_entity_id_precedence—client entity ID takes precedence over UDS origin.
DOGSTATSD_EOL_REQUIRED
dogstatsd_eol_required—require newline-terminated messages for selected listener types.
DOGSTATSD_LOGGING_ENABLED
dogstatsd_logging_enabled—enable writing DogStatsD metric debug stats to a file.
DOGSTATSD_LOG_FILE
dogstatsd_log_file—path to the DogStatsD metric debug log file.
DOGSTATSD_LOG_FILE_MAX_ROLLS
dogstatsd_log_file_max_rolls—number of rotated debug log files to keep. Schema Float; field usize.
DOGSTATSD_LOG_FILE_MAX_SIZE
dogstatsd_log_file_max_size—max active debug log file size before rotation.
DOGSTATSD_METRICS_STATS_ENABLE
dogstatsd_metrics_stats_enable—enable metric-level DogStatsD debug statistics.
DOGSTATSD_MINIMUM_SAMPLE_RATE
dogstatsd_minimum_sample_rate—minimum allowed sample rate.
DOGSTATSD_NON_LOCAL_TRAFFIC
dogstatsd_non_local_traffic—accept packets from non-localhost addresses.
DOGSTATSD_ORIGIN_DETECTION
dogstatsd_origin_detection—enable UDS-based origin detection.
DOGSTATSD_ORIGIN_DETECTION_CLIENT
dogstatsd_origin_detection_client—enable container enrichment fields.
DOGSTATSD_ORIGIN_OPTOUT_ENABLED
dogstatsd_origin_optout_enabled—skip enrichment when cardinality=none.
DOGSTATSD_PERMISSIVE_DECODING
dogstatsd_permissive_decoding—relax decoding strictness for Agent compat.
DOGSTATSD_PORT
dogstatsd_port—UDP port. Schema says Float; field is u16.
DOGSTATSD_SOCKET
dogstatsd_socket—UDS datagram socket path.
DOGSTATSD_SO_RCVBUF
dogstatsd_so_rcvbuf—DogStatsD UDP/UDS socket receive buffer size. Schema Float; field usize.
DOGSTATSD_STREAM_LOG_TOO_BIG
dogstatsd_stream_log_too_big—log oversized UDS stream frames.
DOGSTATSD_STREAM_SOCKET
dogstatsd_stream_socket—UDS stream socket path.
DOGSTATSD_STRING_INTERNER_SIZE
dogstatsd_string_interner_size—context interner entry count. Schema Float; field u64.
DOGSTATSD_STRING_INTERNER_SIZE_BYTES
dogstatsd_string_interner_size_bytes—explicit interner byte budget (overrides entry count).
DOGSTATSD_TAGS
dogstatsd_tags—additional tags applied to all ingested metrics.
DOGSTATSD_TAG_CARDINALITY
dogstatsd_tag_cardinality—default tag cardinality for origin enrichment. Default is “Low”; inject “high” as test value to differ from default.
DOGSTATSD_TCP_PORT
dogstatsd_tcp_port—TCP port (0 = disabled).
ENABLE_PAYLOADS_EVENTS
enable_payloads.events—forward event payloads.
ENABLE_PAYLOADS_SERIES
enable_payloads.series—forward series (counter/gauge/rate) payloads.
ENABLE_PAYLOADS_SERVICE_CHECKS
enable_payloads.service_checks—forward service check payloads.
ENABLE_PAYLOADS_SKETCHES
enable_payloads.sketches—forward sketch (distribution) payloads.
ORIGIN_DETECTION_UNIFIED
origin_detection_unified—use unified entity ID resolution for origin enrichment.
PROVIDER_KIND
provider_kind—appended as a static tag (provider_kind:<value>) to all DogStatsD metrics.
STATSD_FORWARD_HOST
statsd_forward_host—host for DogStatsD message forwarding.
STATSD_FORWARD_PORT
statsd_forward_port—port for DogStatsD message forwarding.