chore(logs): No retries while running into permission issue when flushing logs. by litianningdatadog · Pull Request #784 · DataDog/datadog-lambda-extension
https://datadoghq.atlassian.net/browse/SVLS-7256
fix: Skip flush retries on invalid DD_API_KEY to reduce CPU overhead
When Lambda functions are configured with an invalid DD_API_KEY, the DD extension
continuously retries log flushing, causing unnecessary CPU consumption and
impacting runtime performance. This change detects invalid API key errors and
skips further flush attempts to minimize the impact of misconfiguration.
| Header | Header | Header |
|---|---|---|
| Without the change | With the change | |
| Log | Link | Link |
| Observation | Failed on retries | Failed and moved on upon detecting permission error |
| Manifest | ![]() |
![]() |

