Commit Graph

6 Commits

Author SHA1 Message Date
David Poncelow f28396b812
Log4j2 extensions (#1344)
* Initial commit of ContextDataProvider for Log4j 2.x

* add initial OpenTelemetryJsonLayout implementation

* move and reformat

* add javadoc

* update formatting

* fixes for errorprone warnings

* integrate feedback for TraceContextDataProvider

* integrate feedback for OpenTelemetryJsonLayout

* test reformat

* check span validity rather than isRecording
2020-07-01 10:27:49 -07:00
Carlos Alberto Cortez 890ba28fbc
MultiTracePropagator implementation (#1339) 2020-07-01 19:14:21 +02:00
Nikita Salnikov-Tarnovski 46f0c5f0b7
Extension packages should not use "internal" API package (#1342)
* Extension packages should not use "internal" API package

Add InternalApiProtectionTest which uses ArchUnit to enforce architectural constraints.
This change only verifies that classes in `extensions` packages do not use classes in `internal` package of API module.

Test was added into `opentelemetry-all` module because the latter depends on all other submodules
and therefore sees all classes in the project.

* Polish

* Polish
2020-06-18 09:10:18 -07:00
Bogdan Drutu 76ef38955a
Start using real java8 in tests. (#1352)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-06-18 09:09:28 -07:00
Bogdan Drutu b734e366ec
Change to use labels for async instruments (#1349)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-06-17 17:22:32 -07:00
Nikita Salnikov-Tarnovski c558a9651b
Rename contrib to extensions (#1335) 2020-06-17 16:51:14 +02:00