dd-trace-go icon indicating copy to clipboard operation
dd-trace-go copied to clipboard

pgx.v5: Add IgnoreError option

Open ryanslade opened this issue 6 months ago • 0 comments

This allows ignoring certain errors so that the spans do not show up as errors later.

What does this PR do?

Motivation

Reviewer's Checklist

  • [ ] Changed code has unit tests for its functionality at or near 100% coverage.
  • [ ] System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • [ ] There is a benchmark for any new code, or changes to existing code.
  • [ ] If this interacts with the agent in a new way, a system test has been added.
  • [ ] New code is free of linting errors. You can check this by running golangci-lint run locally.
  • [ ] Add an appropriate team label so this PR gets put in the right place for the release notes.
  • [ ] Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.

Unsure? Have a question? Request a review!

ryanslade avatar Jun 12 '25 09:06 ryanslade