Expand description
Loads Datadog Agent configuration schemas for build-time code generation.
Resolves schema file references and incorporates the OTel receiver schema, producing a map
from dotted YAML paths to FieldInfo.
Structs§
- Field
Info - Parsed metadata for a single config field.
- Former
Name - A former name of a schema setting, from its
renamed_from.
Enums§
- EnvBinding
- How a config field is reachable through an environment variable.
- EnvParser
- A named environment-variable parser declared by the schema’s
env_parserkey. - Field
Type - Value type of a config field, as declared in the schema YAML.
Functions§
- env_
var_ names - The environment variables the Agent reads for the setting at
key, highest priority first. - escape_
str - Escape backslashes and double-quotes in
sfor use inside a Rust string literal. - former_
names - Every former name of every setting in
schema, grouped by setting and highest priority first within a setting. - load_
schema - Load and flatten the schema at
schema_pathinto ayaml_path → FieldInfomap. - load_
schema_ from_ value - Builds the flat
yaml_path → FieldInfomap from a pre-loaded composed schema. - standard_
env_ name - Derives the Agent’s standard environment name for a key:
DD_+UPPER(dotted_path).