You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(config): accept the wider additional_endpoints input forms
Migrating the metrics encoder and forwarder to the typed model dropped the
component serde on additional_endpoints, whose PickFirst<DisplayFromStr> and
OneOrMany used to accept two shapes the generated HashMap<String, Vec<String>>
deserializer rejects:
- the whole map as a JSON string, which is how an env var arrives
(DD_ADDITIONAL_ENDPOINTS='{"https://app.datadoghq.com":["key"]}'), and
- a bare string in place of a one-element key list for a host.
Either shape now fails deserialization outright, so a dual-shipping deployment
configured through the environment fails to start. Restore both in
normalize_datadog_input_forms, alongside the existing dogstatsd coercions: parse
the JSON-string form into an object, then wrap any bare-string host value into a
one-element array.
0 commit comments