Crate agent_data_plane_config_system

Crate agent_data_plane_config_system 

Source
Expand description

The configuration system: translation and subscription of external configuration sources into an ADP-typed model.

This crate turns configuration sources into SalukiConfiguration:

  • the typed Datadog source (DatadogConfiguration), whose supported keys the generated drive feeds to DatadogTranslator (a DatadogConfigWitness) one key at a time, and
  • the Saluki-schema-only source (SalukiOnly), whose values seed the fields the Datadog schema does not cover.

ConfigurationSystem is the entry point: it translates a raw source map into the initial configuration and, when the map streams updates, keeps that configuration current. This is the only ADP production crate that bridges the source configuration to the model; it constructs no components and does not depend on saluki-components.

Structs§

ConfigurationSystem
The runtime configuration, translated from the raw sources and kept current.
LoadedConfiguration
Local configuration prepared before a runtime authority is selected.

Enums§

EnvPrecedence
Where environment variables sit relative to the configuration file.
Error
An error building the translated configuration from the raw sources.