Module defaults

Module defaults 

Source
Expand description

This is a place for re-usable Saluki-only defaults.

Important: this is not a place where we should restate Datadog Agent schema-derived defaults. Defaults that flow from the Datadog schema are defined by codegen in the appropriate crate. We only want the definitive codegen defaults rather than restating values that can drift (see #1802).

Constants§

DEFAULT_AGGREGATE_CONTEXT_LIMIT
Default maximum number of contexts held per aggregation window.
DEFAULT_AGGREGATE_FLUSH_INTERVAL
Default period between aggregation flushes.
DEFAULT_AGGREGATE_PASSTHROUGH_IDLE_FLUSH_TIMEOUT
Default delay before an idle passthrough buffer is flushed.
DEFAULT_AGGREGATE_WINDOW_DURATION_SECONDS
Default length of an aggregation window.
DEFAULT_CHECKS_IPC_ENDPOINT
Default Checks IPC endpoint.
DEFAULT_DOGSTATSD_ALLOW_CONTEXT_HEAP_ALLOCS
Whether DogStatsD contexts may be heap-allocated when the string interner is full by default.
DEFAULT_DOGSTATSD_AUTOSCALE_UDP_LISTENERS
Whether DogStatsD UDP listener autoscaling is enabled by default.
DEFAULT_DOGSTATSD_BUFFER_COUNT
Default number of DogStatsD packet receive buffers allocated at startup.
DEFAULT_DOGSTATSD_BUFFER_COUNT_MAX
Default ceiling on DogStatsD packet receive buffers.
DEFAULT_DOGSTATSD_CACHED_CONTEXTS_LIMIT
Default maximum number of DogStatsD metric contexts held in the cache.
DEFAULT_DOGSTATSD_CACHED_TAGSETS_LIMIT
Default maximum number of DogStatsD tagsets held in the cache.
DEFAULT_DOGSTATSD_MAPPER_STRING_INTERNER_SIZE_BYTES
Default byte capacity of the DogStatsD mapper’s string interner.
DEFAULT_DOGSTATSD_MINIMUM_SAMPLE_RATE
Default floor applied to DogStatsD metric sample rates, which is roughly 260M samples.
DEFAULT_DOGSTATSD_PERMISSIVE_DECODING
Whether the DogStatsD decoder relaxes its strictness by default.
DEFAULT_DOGSTATSD_TCP_PORT
Default DogStatsD TCP listen port.
DEFAULT_ENABLE_GLOBAL_LIMITER
Default global memory limiter state.
DEFAULT_ENCODER_FLUSH_TIMEOUT
Default timeout before a partially filled encoder payload is flushed.
DEFAULT_ERROR_SAMPLING_ENABLED
Whether error traces are sampled independently of the base sampler by default.
DEFAULT_MAX_METRICS_PER_PAYLOAD
Default maximum number of metrics packed into a single encoder payload.
DEFAULT_MEMORY_SLOP_FACTOR
Default memory-accounting slop factor.
DEFAULT_METRICS_LEVEL
Default internal telemetry verbosity.
DEFAULT_RARE_SAMPLER_CARDINALITY
Default rare-sampler signature cardinality.
DEFAULT_RARE_SAMPLER_COOLDOWN_SECS
Default rare-sampler cooldown, in seconds.
DEFAULT_RARE_SAMPLER_TPS
Default rare-sampler traces-per-second budget.
DEFAULT_REMOTE_AGENT_STRING_INTERNER_SIZE_BYTES
Default remote-agent IPC string interner budget.
DEFAULT_STRING_INTERNER_SIZE_BYTES
Default OTLP trace string interner capacity: 512 KiB.
DEFAULT_TRACE_ENV
Default environment for traces that do not provide one.
DEFAULT_ZSTD_COMPRESSOR_LEVEL
Default zstd compression level for payloads ADP sends.
MAX_STRING_INTERNER_SIZE_BYTES
Maximum string interner capacity: 1 GiB. Arbitrary to stop @blt from blowing us up.