pub enum ApmFeature {
Show 13 variants
ProbabilisticSamplerFullTraceId,
DisableOperationAndResourceNameLogicV2,
DisableReceiveResourceSpansV2,
DisableOtelScopeConvention,
TooManyRequests,
DisableConvertTraces,
Sqllexer,
TableNames,
QuantizeSqlTables,
ReplaceSqlDigits,
KeepSqlAlias,
DollarQuotedFunc,
Other(String),
}Expand description
A beta APM feature flag.
The feature inventory is not stable across agent versions: a flag may be promoted to a
dedicated setting or dropped. Unrecognized values are carried as ApmFeature::Other rather
than rejected, so configurations for newer or removed flags load unchanged.
Variants§
ProbabilisticSamplerFullTraceId
Switches the probabilistic sampler from hashing the low 64 bits of the trace ID to hashing the full 128-bit ID.
DisableOperationAndResourceNameLogicV2
Derives OTLP operation and resource names with V1 naming instead of V2.
DisableReceiveResourceSpansV2
Converts OTLP spans on the V1 receive path instead of V2.
DisableOtelScopeConvention
Stops emitting the otel.scope.* tags on OTLP spans. The deprecated otel.library.* tags remain.
TooManyRequests
429: the trace receiver answers 429 Too Many Requests, rather than 200 OK, to a payload it rejects because
no decoder freed up within apm_config.decoder_timeout.
DisableConvertTraces
disable-convert-traces: the trace receiver decodes trace payloads into the legacy span model, rather than
converting them to the v1 representation.
Sqllexer
Selects the sqllexer SQL obfuscator when no SQL obfuscation mode is configured.
TableNames
Collects the table names of SQL queries into the sql.tables tag.
QuantizeSqlTables
Replaces digits in SQL table names and identifiers. Same effect as ReplaceSqlDigits.
ReplaceSqlDigits
Replaces digits in SQL table names and identifiers. Same effect as QuantizeSqlTables.
KeepSqlAlias
Keeps SQL aliases instead of removing them.
DollarQuotedFunc
Treats $func$ dollar-quoted strings specially in PostgreSQL queries.
Other(String)
An unrecognized feature ID, carried verbatim.
Implementations§
Trait Implementations§
Source§impl Clone for ApmFeature
impl Clone for ApmFeature
Source§fn clone(&self) -> ApmFeature
fn clone(&self) -> ApmFeature
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more