Skip to main content

AuthoritativeConfiguration

Trait AuthoritativeConfiguration 

Source
pub trait AuthoritativeConfiguration:
    Send
    + Sync
    + 'static {
    // Required methods
    fn is_standalone(&self) -> bool;
    fn client_configuration(
        &self,
    ) -> Result<RemoteAgentClientConfiguration, GenericError>;
    fn logging(&self) -> LoggingSettings;
    fn workload(&self) -> WorkloadSettings;
    fn host(&self) -> HostSettings;
    fn remote_config_enabled(&self) -> bool;
    fn memory_bounds(&self) -> MemoryBoundsConfiguration;
}
Expand description

A remote agent’s authoritative configuration, available once the configuration authority is selected.

Required Methods§

Source

fn is_standalone(&self) -> bool

Returns true if the local configuration was selected as the configuration authority, for standalone mode.

Source

fn client_configuration( &self, ) -> Result<RemoteAgentClientConfiguration, GenericError>

Returns the configuration for connecting to the Datadog Agent.

§Errors

If the configuration is invalid, an error is returned.

Source

fn logging(&self) -> LoggingSettings

Returns the logging settings.

Source

fn workload(&self) -> WorkloadSettings

Returns the settings for the workload provider.

Source

fn host(&self) -> HostSettings

Returns the settings for the host provider.

Source

fn remote_config_enabled(&self) -> bool

Returns true if Remote Configuration is enabled.

Source

fn memory_bounds(&self) -> MemoryBoundsConfiguration

Returns the memory bounds configuration.

Implementors§