-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the SimpleSpanProcessor (#1612)
* Update the SimpleSpanProcessor Subsequent calls to OnStart, OnEnd, and ForceFlush should be ignored gracefully once Shutdown has been called. This implements that behavior by shutting down the exporter and removing it from the SimpleSpanProcessor so subsequent calls to OnEnd will be no-ops. * Add changes to changelog * Lock in sync.Once of shutdown instead of Shutdown scope * Update CHANGELOG.md Co-authored-by: Steven E. Harris <[email protected]> * Release exporterMu before shutdown exporter * Move changes to unreleased section of changelog * Update simple_span_processor.go revert comment change from merge Co-authored-by: Steven E. Harris <[email protected]>
- Loading branch information
Showing
3 changed files
with
110 additions
and
39 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