agent_data_plane_config_system/lib.rs
1//! The configuration system: translation and subscription of external configuration sources into
2//! an ADP-typed model.
3//!
4//! This crate turns configuration sources into `SalukiConfiguration`:
5//!
6//! - the typed Datadog source (`DatadogConfiguration`), whose supported keys the generated `drive`
7//! feeds to `DatadogTranslator` (a `DatadogConfigWitness`) one key at a time, and
8//! - the Saluki-schema-only source (`SalukiOnly`), whose values seed the fields the Datadog schema
9//! does not cover.
10//!
11//! [`ConfigurationSystem`] is the entry point: it translates a raw source map into the initial
12//! configuration and, when the map streams updates, keeps that configuration current. This is the
13//! only ADP production crate that bridges the source configuration to the model; it constructs no
14//! components and does not depend on `saluki-components`.
15
16mod loaded;
17mod saluki_env_overlay;
18mod saluki_only;
19mod system;
20mod translators;
21
22pub use loaded::{EnvPrecedence, LoadedConfiguration};
23pub use system::{ConfigurationSystem, Error};