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_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_ENTITY_ID_PRECEDENCE
dogstatsd_entity_id_precedence — client entity ID takes precedence over UDS origin.
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 DogStatsD metric debug log files to keep.
DOGSTATSD_LOG_FILE_MAX_SIZE
dogstatsd_log_file_max_size — maximum active DogStatsD metric 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.
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.