Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Error log to Warn when SyncForwarder fails to send #11364

Merged
merged 2 commits into from
Mar 18, 2022
Merged

Conversation

nhinsch
Copy link
Contributor

@nhinsch nhinsch commented Mar 18, 2022

What does this PR do?

Changes the log level when the SyncForwarder fails to send a transaction from an error to a warning.

Motivation

Currently, the SyncForwarder is only used by the Serverless agent (aka Lambda Extension). Error logs can cause a Lambda invocation to be flagged as failed in the Datadog UI. However, we do expect occasional networking issues/HTTP errors when sending telemetry to Datadog. To reduce customer confusion/alarm, we should downgrade the severity of this log message from error to warn.

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • A release note has been added or the changelog/no-changelog label has been applied.
  • Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
  • At least one team/.. label has been applied, indicating the team(s) that should QA this change.

@nhinsch nhinsch added changelog/no-changelog [deprecated] qa/skip-qa - use other qa/ labels [DEPRECATED] Please use qa/done or qa/no-code-change to skip creating a QA card team/serverless labels Mar 18, 2022
@nhinsch nhinsch added this to the Triage milestone Mar 18, 2022
@nhinsch nhinsch requested a review from a team as a code owner March 18, 2022 15:35
@nhinsch nhinsch changed the title Change Error log to Warn SyncForwarder fails to send Change Error log to Warn when SyncForwarder fails to send Mar 18, 2022
@nhinsch nhinsch merged commit 50643f5 into main Mar 18, 2022
@nhinsch nhinsch deleted the ngh/debug-log branch March 18, 2022 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog [deprecated] qa/skip-qa - use other qa/ labels [DEPRECATED] Please use qa/done or qa/no-code-change to skip creating a QA card team/serverless
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants