pub struct PlatformSettings;Expand description
Platform-specific settings and information.
Implementations§
Source§impl PlatformSettings
impl PlatformSettings
Sourcepub fn get_config_dir_path() -> &'static Path
pub fn get_config_dir_path() -> &'static Path
Returns the path to the default Datadog Agent configuration directory.
Sourcepub fn get_config_file_path() -> PathBuf
pub fn get_config_file_path() -> PathBuf
Returns the path to the default Datadog Agent configuration file.
Sourcepub fn get_auth_token_path() -> PathBuf
pub fn get_auth_token_path() -> PathBuf
Returns the path to the default Datadog Agent authentication token.
Sourcepub fn get_ipc_cert_filename() -> &'static Path
pub fn get_ipc_cert_filename() -> &'static Path
Returns the filename of the IPC certificate file.
Sourcepub fn get_default_log_file_path() -> PathBuf
pub fn get_default_log_file_path() -> PathBuf
Returns the default log file path for the Agent Data Plane.
Sourcepub fn get_default_dogstatsd_log_file_path() -> PathBuf
pub fn get_default_dogstatsd_log_file_path() -> PathBuf
Returns the default DogStatsD debug log file path.
Sourcepub const fn get_default_syslog_uri() -> &'static str
pub const fn get_default_syslog_uri() -> &'static str
Returns the default local syslog URI used by the Datadog Agent on this platform.
Sourcepub const fn get_env_var_prefix() -> &'static str
pub const fn get_env_var_prefix() -> &'static str
Returns the prefix for all environment variables used by the Datadog Agent.
Auto Trait Implementations§
impl Freeze for PlatformSettings
impl RefUnwindSafe for PlatformSettings
impl Send for PlatformSettings
impl Sync for PlatformSettings
impl Unpin for PlatformSettings
impl UnwindSafe for PlatformSettings
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Track for T
impl<T> Track for T
Source§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Instruments this type by attaching the given resource group token, returning a
Tracked wrapper. Read moreSource§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Instruments this type by attaching the current resource group, returning a
Tracked wrapper. Read more