Expand description
A Figment provider that reads the schema’s environment variables into their canonical shape. A Figment provider that reads the Datadog schema’s environment variables into their canonical shape.
Figment’s own environment provider can only split a variable name on a fixed separator, but the
Datadog Agent does not name its variables that way: it looks up each known key’s declared
variable names, so DD_PROXY_HTTP reaches proxy.http while DD_DOGSTATSD_PORT reaches the
flat dogstatsd_port. Nothing about either name says where a nesting boundary falls.
DatadogEnvProvider resolves that by reading the environment through
apply_datadog_env, the same schema-driven reader the typed
configuration path uses, so every value lands at the path its key declares.
Structs§
- Datadog
EnvProvider - A Figment provider carrying every Datadog schema key set in the environment, at its canonical path.