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§
Sourcefn is_standalone(&self) -> bool
fn is_standalone(&self) -> bool
Returns true if the local configuration was selected as the configuration authority, for standalone mode.
Sourcefn client_configuration(
&self,
) -> Result<RemoteAgentClientConfiguration, GenericError>
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.
Sourcefn logging(&self) -> LoggingSettings
fn logging(&self) -> LoggingSettings
Returns the logging settings.
Sourcefn workload(&self) -> WorkloadSettings
fn workload(&self) -> WorkloadSettings
Returns the settings for the workload provider.
Sourcefn host(&self) -> HostSettings
fn host(&self) -> HostSettings
Returns the settings for the host provider.
Sourcefn remote_config_enabled(&self) -> bool
fn remote_config_enabled(&self) -> bool
Returns true if Remote Configuration is enabled.
Sourcefn memory_bounds(&self) -> MemoryBoundsConfiguration
fn memory_bounds(&self) -> MemoryBoundsConfiguration
Returns the memory bounds configuration.