Skip to main content

Crate datadog_agent_config_overlay_model

Crate datadog_agent_config_overlay_model 

Source
Expand description

Deserialization types for schema_overlay.yaml.

This crate provides the model for management of our inventory and metadata around Datadog Agent configuration. It is designed to be used during build processes by build.rs and, for simplicity, should not depend on any other crates from our workspace.

Loading checks section and key ordering, deserializes with unknown fields rejected, then validates schema coverage and entry constraints.

Modules§

saluki_keys
Descriptions and displayed defaults for documented Saluki-only configuration keys.
schema_gen
Loads Datadog Agent configuration schemas for build-time code generation.

Structs§

Files
Paths to the core schema, OTel schema directory, and overlay.
FullSupport
Metadata for a fully supported configuration key.
PartialSupport
Metadata for a partially supported configuration key.
SchemaOverlay
Top-level overlay structure.
UnknownSupport
Metadata for a key whose support level has not yet been determined.
Unsupported
Metadata for an unsupported configuration key.

Enums§

Error
Errors that can occur when loading a schema overlay.
KnownEntry
Support classification for a key in the overlay’s inventory.
Pipeline
A single pipeline in the ADP vocabulary.
PipelineAffinity
Which pipelines a config key is associated with.
Severity
Impact severity of an unsupported or unknown key.

Functions§

load_composed_schema
Load the Datadog schema with the OTel receiver schema patched in.
load_resolved_schema
Load the core schema and recursively inline every $ref: <file> reference into a single resolved document with no remaining $ref nodes.