Commit 3407f02
authored
[SVLS-7945] feat: Support TLS certificate for dogstatsd metrics flusher (#984)
## Motivation
A customer reported that their Lambda is behind a proxy, and the
Rust-based extension encounters an error when sending logs and metrics
to Datadog via the proxy.
## Overview
Previous PRs in fixed this for traces/stats
(#961) and
logs/proxy
(#979).
DataDog/serverless-components#61 in
`serverless-components` repo fixed this issue for dogstatsd metrics.
This PR upgrades the dependency on `serverless-components` to patch this
update.
## Testing
#### Steps
See #979
#### Result
**Before:**
Metrics flushing failed:
> DD_EXTENSION | DEBUG | Flushing 0 series and 1 distributions
DD_EXTENSION | DEBUG | Sending distributions: SketchPayload { ... }
DD_EXTENSION | DEBUG | Request to
https://api.datadoghq.com/api/beta/sketches took 144ms
DD_EXTENSION | ERROR | Error shipping data: None Failed to send request
after 3 attempts
DD_EXTENSION | ERROR | Failed to flush some metrics due to shipping
errors: 0 series and 1 sketches
**After:**
Metrics flushing succeeded:
> DD_EXTENSION | DEBUG | Flushing 0 series and 1 distributions
DD_EXTENSION | DEBUG | Sending distributions: SketchPayload { ... }
DD_EXTENSION | DEBUG | Request to
https://api.datadoghq.com/api/beta/sketches took 619ms
DD_EXTENSION | DEBUG | Successfully flushed 0 series and 1 distributions
## Notes
Customer report issue:
#9191 parent 2b44db0 commit 3407f02
4 files changed
Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1622 | 1622 | | |
1623 | 1623 | | |
1624 | 1624 | | |
| 1625 | + | |
1625 | 1626 | | |
1626 | 1627 | | |
1627 | 1628 | | |
| |||
1651 | 1652 | | |
1652 | 1653 | | |
1653 | 1654 | | |
| 1655 | + | |
1654 | 1656 | | |
1655 | 1657 | | |
1656 | 1658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments