Commit Graph

13 Commits

Author SHA1 Message Date
Nikita Salnikov-Tarnovski 7aca0d9192
Apply bom imports only if needed (#1281) 2020-05-29 12:35:15 -07:00
Anuraag Agrawal a9c7c7237d
Update config / deps to allow building on Java 14. (#1287)
* Update config / deps to allow building on Java 14.

* Finish comment
2020-05-29 08:55:38 -07:00
Giovanni Liva b30790c97e
Configuration for Disruptor and Zipkin (#1254)
* add configuration for Disruptor and Zipkin

* Fix checkstyle violation

* Address feedback

* Update Javadoc

* Add missing config test for Zipkin Exporter
2020-05-28 07:15:54 -07:00
John Bley 04c34bf5da
Mark all threads/pools as daemon. (#1120)
* Mark all threads/pools as daemon.

* Move setDaemon calls inside try blocks as they can throw a security exception.

* Add javadoc comment about possibility of SecurityException.

* Create common/DaemonThreadFactory and adjust all thread creation to use it.

* Apply a name prefix in the DaemonThreadPool; rework and simplify several calling sites accordingly.
2020-04-20 07:12:39 -07:00
Bogdan Drutu 4c7072a1e4
Add javadoc link to all readmes (#981)
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-09 14:32:22 -07:00
Bogdan Drutu c80d7f7a76
Small cleanups in async processor (#934)
* Small cleanups in async processor

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>

* Customize the log messages for different actions happening after shutdown

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-27 15:42:01 -08:00
Bogdan Drutu 9eeeb3da0c
Avoid calling processors that do not require an event. (#935)
* Avoid calling processors that do not require an event.

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>

* Add tests for NoopSpanProcessor

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-26 12:10:58 -08:00
Giovanni Liva c4537e0d67
Block Disruptor until flush is performed (#913)
* Block disruptor until flush is performed

* Fix format

* Fix test

* Single enqueue method

* General cleanup

* Refactor shutdown/forceFlush
2020-02-26 09:01:39 -08:00
Giovanni Liva 073ece13b8
Implementing ForceFlush for SpanProcessor (#882)
* first implementation of ForceFlush

* Update sdk/src/main/java/io/opentelemetry/sdk/trace/SpanProcessor.java

Co-Authored-By: John Watson <jkwatson@gmail.com>

* Rename flush -> shutdown. Add test

* Better wording in Javadoc

Co-authored-by: John Watson <jkwatson@gmail.com>
2020-02-21 11:27:18 -08:00
Bogdan Drutu a148263597
Switch to use pluginManagement, Use gradle plugin for jmh. (#903)
* Switch to use pluginManagement, Use gradle plugin for jmh.

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>

* Fix jmh report

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>

* Use ' for the moment for plugin ids in main gradle
2020-02-21 10:19:51 -08:00
Jonathan Giles ecad8609aa Introduce automatic module names into all libraries being built. (#781)
* Introduce automatic module names into all libraries being built.

* Centralise manifest config of automatic module name into root build.gradle file.

* Adding empty new lines
2020-01-22 18:22:00 -08:00
Bogdan Drutu db5347a3ee
Fix that disruptor does not accept events after shutdown. (#496) 2019-08-15 16:05:32 -07:00
Bogdan Drutu 5acf1e87e1
Add an AsyncSpanProcessor that uses Disruptor. (#468)
* Add an AsyncSpanProcessor that uses Disruptor.

* Fix comments.

* Cleanup print messages and simplify tests

* Enforce shutdown to wait for all the processors to finish shutdown.
2019-08-13 10:51:11 -07:00