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
[SVLS-9373] fix(config): trim trailing slashes from DD URL env vars (#1298)
## Overview
`DD_URL`, `DD_DD_URL`, and `DD_APM_DD_URL` were not trimming trailing
slashes before being used to build intake URLs. This caused failures
such as failing `dogstatsd`'s `DdUrl`/`DdDdUrl` prefix validation,
panicking with `can't parse DD_DD_URL: UrlPrefixError(...)` in
`start_metrics_flushers`.
The fix lives upstream in `datadog-agent-config`:
DataDog/serverless-components#142.
This PR bumps bottlecap's `serverless-components` pin to the merged fix
commit, and bumps bottlecap's own direct `libdatadog` pins to match.
Also bumps the dd-trace-dotnet layer version for integration tests.
## Motivation
[SVLS-9373](https://datadoghq.atlassian.net/browse/SVLS-9373)
## Testing
- Added tests in serverless-components
- Manually tested on a Lambda function that the extension no longer
panics after these changes
[SVLS-9373]:
https://datadoghq.atlassian.net/browse/SVLS-9373?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
0 commit comments