-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[exporter/datadog]: update error formatting for error spans that are …
…not exceptions. (#3701) * [exporter/datadog]: add better fallbacks and metadata for error formatting * [exporter/datadog]: add tests for error formatting fallback behavior * Update exporter/datadogexporter/translate_traces_test.go Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com> * [exporter/datadog]: fix specs and cleanup logic for error fallback * [exporter/datadog]: apply correct defaults * [exporter/datadog]: better code comments around error tag behavior * [exporter/datadog]: clean up if statement complexity * [exporter/datadog]: clean up more nested complexity * [exporter/datadog]: linting, the cause of, and solution to, all of lifes problems Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
- Loading branch information
1 parent
9306fc3
commit a95cdc0
Showing
2 changed files
with
68 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters