Crate agent_data_plane_config

Crate agent_data_plane_config 

Source
Expand description

ADP-native configuration model: the typed target of configuration translation.

This crate owns the domain-shaped model types that translation produces and that ADP runtime code consumes: SalukiConfiguration { control, shared, domains }, ControlConfiguration, SharedConfiguration, DomainConfiguration and its per-domain structs.

It does not embed component config structs (those stay in saluki-components, built from this model). It depends on neither the raw configuration map nor the Datadog source model, so a consumer can depend on it without inheriting either.

Every field is plain, source-agnostic data. There are no source key names in identifiers and no source serde (these structs are serialized for the /config/runtime view but never deserialized from a source language; that is the source adapter’s job).

A field whose meaning depends on whether its value was set explicitly, rather than on the value alone, is a ConfigValue<T> instead of a plain T.

Re-exports§

pub use control::ControlConfiguration;
pub use control::Logging;
pub use domains::DomainConfiguration;
pub use live::Live;
pub use provenance::ConfigValue;
pub use provenance::Provenance;
pub use shared::SharedConfiguration;

Modules§

control
Topology gates, orchestration decisions and application configuration.
defaults
This is a place for re-usable Saluki-only defaults.
domains
Per-domain resolved config, grouped by ownership domain. Each field is owned by exactly one subsystem; cross-cutting values live in shared instead.
live
Live<T>: a live, typed view of one projection of the current configuration.
provenance
ConfigValue: a configuration value paired with the reason it holds that value.
shared
Cross-cutting values consumed by more than one domain.

Structs§

Error
An error produced while translating a DatadogConfiguration or SalukiOnly value into a SalukiConfiguration value.
SalukiConfiguration
The complete ADP-native runtime configuration after translation.

Type Aliases§

BoxError
A boxed source error that can cross thread boundaries.