diff options
| author | Chris K Wensel <chris@wensel.net> | 2018-05-11 17:22:35 -0700 |
|---|---|---|
| committer | sebright <sebright@google.com> | 2018-05-11 17:22:35 -0700 |
| commit | 83fd63784edaed486e43be5570549143375fdefc (patch) | |
| tree | 7e80a2ac9528ae77ec2c10327f71a82218db5393 /CHANGELOG.md | |
| parent | 36c018e66414fd19632afd2c0f2c8e664274e2c3 (diff) | |
| download | platform_external_opencensus-java-83fd63784edaed486e43be5570549143375fdefc.tar.gz platform_external_opencensus-java-83fd63784edaed486e43be5570549143375fdefc.tar.bz2 platform_external_opencensus-java-83fd63784edaed486e43be5570549143375fdefc.zip | |
Adds Tracing.getExportComponent().flushAndShutdown() for use within application shutdown hooks. (#1141)
Adds the ability to flush pending spans via a call to Tracing.getExportComponent().shutdown()
This allows a developer to force a flush from within a shutdown hook or other means.
Unfortunately the underlying Disruptor instance only provides a #shutdown() call, not a flush, or a public method
for testing for backlog. Thus shutdown has propagated up to the above api call.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 756d3b41..03fb4bb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## Unreleased +- Adds Tracing.getExportComponent().shutdown() for use within application shutdown hooks. ## 0.13.2 - 2018-05-08 - Map http attributes to Stackdriver format (fix [#1153](https://github.com/census-instrumentation/opencensus-java/issues/1153)). |
