-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix] apm.DefaultTracer misbehaves when transport configuration is…
… invalid (#1618) * incase of invalid tracer config disabling it instead of returning discard transport * The default value of 'active' is true, setting it to 'false' to support the case where invalid tracer config * added a test case to check if tracer is being set to inactive incase of invalid configuration * removed unwanted variable and linter fix * fix precheck * ran gofmt and golangci-lint to format tracer.go and tracer_test.go * ensure tracecontext example has a discard tracer --------- Co-authored-by: dmathieu <[email protected]>
- Loading branch information
1 parent
73ae416
commit 4b23fe9
Showing
3 changed files
with
13 additions
and
14 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
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