aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorChris K Wensel <chris@wensel.net>2018-05-11 17:22:35 -0700
committersebright <sebright@google.com>2018-05-11 17:22:35 -0700
commit83fd63784edaed486e43be5570549143375fdefc (patch)
tree7e80a2ac9528ae77ec2c10327f71a82218db5393 /CHANGELOG.md
parent36c018e66414fd19632afd2c0f2c8e664274e2c3 (diff)
downloadplatform_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.md1
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)).