pub enum ConfigurationStruct {
Show 21 variants
AggregateConfiguration,
ContainerdConfiguration,
DatadogApmStatsEncoderConfiguration,
DatadogEventsConfiguration,
DatadogLogsConfiguration,
DatadogMetricsConfiguration,
DatadogServiceChecksConfiguration,
DatadogTraceConfiguration,
DogStatsDConfiguration,
DogStatsDDebugLogConfiguration,
DogStatsDMapperConfiguration,
DogStatsDPrefixFilterConfiguration,
ForwarderConfiguration,
MrfConfiguration,
ProxyConfiguration,
RemoteAgentClientConfiguration,
TagFilterlistConfiguration,
TraceObfuscationConfiguration,
TypedConfigSystem,
GetTyped,
NoSmoke,
}Expand description
A configuration consumer tracked by the legacy smoke-test registry.
Most variants name structs that consume Agent configuration directly. Sentinel variants track consumers that do not fit the legacy deserialization test model.
Variants§
AggregateConfiguration
ContainerdConfiguration
DatadogApmStatsEncoderConfiguration
DatadogEventsConfiguration
DatadogLogsConfiguration
DatadogMetricsConfiguration
DatadogServiceChecksConfiguration
DatadogTraceConfiguration
DogStatsDConfiguration
DogStatsDDebugLogConfiguration
DogStatsDMapperConfiguration
DogStatsDPrefixFilterConfiguration
ForwarderConfiguration
MrfConfiguration
ProxyConfiguration
RemoteAgentClientConfiguration
TagFilterlistConfiguration
TraceObfuscationConfiguration
TypedConfigSystem
Keys consumed through the typed configuration translation system.
GetTyped
Keys read via get_typed / try_get_typed rather than struct deserialization.
NoSmoke
Sentinel for supported keys that are being promoted during the transition to typed-configuration access. These were missing from our inventory when config smoke testing was introduced and for various reasons may not be legitimate targets for that testing modality. Regardless, these fields will be part of the typed translation system and this sentinel can be removed when our testing model moves over to that system.
Implementations§
Source§impl ConfigurationStruct
impl ConfigurationStruct
Sourcepub fn as_smoke_test_const(&self) -> &'static str
pub fn as_smoke_test_const(&self) -> &'static str
Apparently we travel back and forth between string constant representation and the struct names themselves. This function recovers the string constant name for a struct.
Trait Implementations§
Source§impl Clone for ConfigurationStruct
impl Clone for ConfigurationStruct
Source§fn clone(&self) -> ConfigurationStruct
fn clone(&self) -> ConfigurationStruct
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigurationStruct
impl Debug for ConfigurationStruct
Source§impl<'de> Deserialize<'de> for ConfigurationStruct
impl<'de> Deserialize<'de> for ConfigurationStruct
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Hash for ConfigurationStruct
impl Hash for ConfigurationStruct
Source§impl Ord for ConfigurationStruct
impl Ord for ConfigurationStruct
Source§fn cmp(&self, other: &ConfigurationStruct) -> Ordering
fn cmp(&self, other: &ConfigurationStruct) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ConfigurationStruct
impl PartialEq for ConfigurationStruct
Source§impl PartialOrd for ConfigurationStruct
impl PartialOrd for ConfigurationStruct
Source§impl Serialize for ConfigurationStruct
impl Serialize for ConfigurationStruct
impl Copy for ConfigurationStruct
impl Eq for ConfigurationStruct
impl StructuralPartialEq for ConfigurationStruct
Auto Trait Implementations§
impl Freeze for ConfigurationStruct
impl RefUnwindSafe for ConfigurationStruct
impl Send for ConfigurationStruct
impl Sync for ConfigurationStruct
impl Unpin for ConfigurationStruct
impl UnwindSafe for ConfigurationStruct
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.