pub struct SharedConfiguration {
pub endpoints: Endpoints,
pub tags: GlobalTags,
pub static_tags: StaticTagSettings,
pub basic_telemetry: BasicTelemetry,
pub metrics_encoding: MetricsEncoding,
pub cluster_agent: ClusterAgent,
pub autoscaling_failover: AutoscalingFailover,
pub secrets: Secrets,
pub environment: Environment,
pub metrics_level: String,
pub run_path: Option<PathBuf>,
}Expand description
Cross-cutting configuration shared across domains.
Fields§
§endpoints: EndpointsPrimary forwarder endpoints and transport.
Global and host-level tagging.
Inputs used to derive deployment-wide static tags.
basic_telemetry: BasicTelemetryTags attached to basic liveness telemetry.
metrics_encoding: MetricsEncodingMetrics-encoder settings reused across the metrics-emitting pipelines.
cluster_agent: ClusterAgentCluster Agent connection, shared by checks, DogStatsD, and OTLP.
autoscaling_failover: AutoscalingFailoverAutoscaling failover, shared by checks, DogStatsD, and OTLP.
secrets: SecretsSecrets management, read by the Datadog intake forwarders.
environment: EnvironmentHost and container runtime discovery, read by the environment providers.
metrics_level: StringVerbosity of the internal telemetry emitted about the runtime itself. (not in Datadog Agent config schema)
run_path: Option<PathBuf>Base directory for runtime-state files.
ADP uses this to derive default locations for forwarder retry data, DogStatsD captures, and
DogStatsD context dumps. Defaults to unset when configuration does not provide a concrete
run_path.
Trait Implementations§
Source§fn clone(&self) -> SharedConfiguration
fn clone(&self) -> SharedConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more