pub struct Obfuscation {Show 13 fields
pub credit_cards: CreditCardObfuscation,
pub elasticsearch: JsonQueryObfuscation,
pub http: HttpObfuscation,
pub memcached: MemcachedObfuscation,
pub mongodb: JsonQueryObfuscation,
pub opensearch: JsonQueryObfuscation,
pub redis: CacheObfuscation,
pub remove_stack_traces: bool,
pub valkey: CacheObfuscation,
pub sql: SqlObfuscation,
pub sql_obfuscation_mode: SqlObfuscationMode,
pub sql_exec_plan_enabled: bool,
pub sql_exec_plan_normalize_enabled: bool,
}Expand description
Trace obfuscation, one group per supported subsystem.
Fields§
§credit_cards: CreditCardObfuscationCredit-card obfuscation in span metadata.
elasticsearch: JsonQueryObfuscationElasticsearch query obfuscation.
http: HttpObfuscationHTTP path and query obfuscation.
memcached: MemcachedObfuscationMemcached command obfuscation.
mongodb: JsonQueryObfuscationMongoDB query obfuscation.
opensearch: JsonQueryObfuscationOpenSearch query obfuscation.
redis: CacheObfuscationRedis command obfuscation.
remove_stack_traces: boolWhether the error.stack and exception.stacktrace tags are replaced with ?.
valkey: CacheObfuscationValkey command obfuscation.
sql: SqlObfuscationSQL query obfuscation. (not in Datadog Agent config schema)
sql_obfuscation_mode: SqlObfuscationModeSQL obfuscator mode (apm_config.sql_obfuscation_mode).
sql_exec_plan_enabled: boolWhether SQL execution plans are obfuscated (apm_config.obfuscation.sql_exec_plan.enabled).
sql_exec_plan_normalize_enabled: boolWhether SQL execution plans are normalized (apm_config.obfuscation.sql_exec_plan_normalize.enabled).
Trait Implementations§
Source§impl Clone for Obfuscation
impl Clone for Obfuscation
Source§fn clone(&self) -> Obfuscation
fn clone(&self) -> Obfuscation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Obfuscation
impl Debug for Obfuscation
Source§impl Default for Obfuscation
impl Default for Obfuscation
Source§fn default() -> Obfuscation
fn default() -> Obfuscation
Returns the “default value” for a type. Read more
Source§impl PartialEq for Obfuscation
impl PartialEq for Obfuscation
Source§impl Serialize for Obfuscation
impl Serialize for Obfuscation
impl StructuralPartialEq for Obfuscation
Auto Trait Implementations§
impl Freeze for Obfuscation
impl RefUnwindSafe for Obfuscation
impl Send for Obfuscation
impl Sync for Obfuscation
impl Unpin for Obfuscation
impl UnsafeUnpin for Obfuscation
impl UnwindSafe for Obfuscation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more