Commit Graph

134 Commits

Author SHA1 Message Date
Trask Stalnaker 4c816105d2
Fix grpc smoke build (#2439) 2021-03-01 16:54:18 +09:00
Trask Stalnaker 475830789c
Update to otel-java 1.0.0 (#2431)
* Update to otel-java 1.0.0

* Fix test

* Fix another test

* Fix another test

* Fix hibernate tests

* Fix spring-data tests

* Spotless
2021-02-28 11:15:27 -08:00
Anuraag Agrawal 0f32ed42a4
Instrument log4j to include bugfix of contextdataprovider mechanism. (#2407)
* Instrument log4j to include bugfix of contextdataprovider mechanism.

* Add regression test

* Update smoke test

* Update instrumentation/log4j/log4j-2.13.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/log4j/v2_13_2/BugFixingInstrumentation.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-02-26 09:20:55 +09:00
Anuraag Agrawal 9d47f9272b
grpc smoke test: Add logging of trace_id to pattern and target log4j2 2.13.2 (#2406)
* Add logging of trace_id to pattern and target 2.14.0

* Update build.gradle
2021-02-25 15:49:33 +09:00
Anuraag Agrawal c4a11549b2
Add a log statement to gRPC smoke test. (#2405) 2021-02-25 12:28:31 +09:00
Nikita Salnikov-Tarnovski 1641ff0d5c
Fix running condition for smoke-tests (#2389) 2021-02-24 12:27:29 +09:00
Ago Allikmaa 0b0a0aace2
Add OpenJ9 image smoke test configurations (#2386) 2021-02-23 23:34:02 +02:00
Nikita Salnikov-Tarnovski b6c2a8535a
Only run smoke tests if requested (#2385) 2021-02-23 20:59:43 +02:00
Ago Allikmaa be75cee7e4
Add test matrix Docker images for OpenJ9 (#2377)
* Add test matrix Docker images for OpenJ9

* Removed an invalid test image configuration.

* Reordered lines in Dockerfile for more optimal caching
2021-02-23 16:15:12 +02:00
Lauri Tulmin c8ca7e8d07
Make http.flavor spec compliant (#2370) 2021-02-22 13:12:05 -08:00
Anuraag Agrawal 000df967ce
Update to SDK 0.17.0 (#2338)
* Update to SDK 0.17.0

* Finish

* ottrace
2021-02-19 15:51:55 +09:00
Lauri Tulmin 80f389c778
Instrument all jetty handlers (#2320) 2021-02-18 11:51:48 +02:00
Mateusz Rzeszutek f127a972dc
Add 'trace_flags' to logging MDC (#2312)
* Add 'trace_flags' to logging MDC

* Remove 'sampled' flag
* Rename MDC keys to the current logging spec convention: trace_id instead of traceId

* Fix smoke tests
2021-02-18 16:47:26 +09:00
Anuraag Agrawal 8bba7ac364
Update smoke tests to 0.17.0 (#2327) 2021-02-18 15:49:09 +09:00
Mateusz Rzeszutek 15a9d0f113
Update smoke tests for logging changes (#2312) (#2316) 2021-02-18 11:46:00 +09:00
Lauri Tulmin 5dc2cd420a
Start smoke test backend and collector only once (#2249) 2021-02-11 22:13:24 -08:00
Lauri Tulmin 845f758f8e
Close response to avoid warning about leaked response (#2240) 2021-02-10 15:01:54 +02:00
Anuraag Agrawal fc410706d0
Update to Sdk 0.16.0 (#2221)
* Update to 0.16.0-SNAPSHOT

* Finish

* Finish

* Update to 0.16.0

* Finish
2021-02-09 18:00:54 +09:00
Anuraag Agrawal b0a7aa1ae8
Update smoke tests to released 0.16.0 (#2228) 2021-02-09 15:07:10 +09:00
Anuraag Agrawal ef1c250deb
Update spring boot smoke test code too (#2219) 2021-02-08 15:57:47 +09:00
Anuraag Agrawal 29dd296d7a
Update smoke tests to 0.16.0-SNAPSHOT (#2218) 2021-02-08 15:44:28 +09:00
Lauri Tulmin c65fb3ede4
Add tomee to supported servers (#2180)
* Add tomee to supported servers

* move tomee after tomcat

* correct tomee image tag
2021-02-04 14:44:21 +09:00
Lauri Tulmin 8f8b7f75ca
Add docker images for tomee (#2175) 2021-02-02 20:13:07 +02:00
Anuraag Agrawal 1ebb58a596
Update to SDK 0.15.0 (#2137)
* Update to SDK 0.15.0

* Fix lightstep test
2021-01-29 21:30:22 +09:00
Anuraag Agrawal 0a74799419
Update smoke tests to SDK 0.15.0 (#2136) 2021-01-29 16:59:13 +09:00
Anuraag Agrawal 8b470bf378
Add Netty instrumentation handlers after matched handler rather than at end of pipeline. (#2100)
* Support latest webflux version.

* Add Netty instrumentation handlers after matched handler rather than at end of pipeline.

* Drift

* Fix

* Raise smoke tests timeout
2021-01-25 16:06:57 +09:00
Anuraag Agrawal 78ef219f74
Remove queued_retry from repo (#2095) 2021-01-22 14:06:07 +09:00
Vladimir Šor a2cde4132d
Smoke tests declare shadowJar as an input to be rebuilt (#2085)
* Smoke tests declare shadowJar as an input to be rebuilt. Fix some gradle deprecation warnings.

* Try files as inputs.
2021-01-20 16:30:45 +02:00
Anuraag Agrawal c6cc263c6e
Use SDK Autoconfigure module (#2077)
* Use sdk autoconfigure

* Finish

* Finish

* Group exporters

* Update smoke-tests/src/test/groovy/io/opentelemetry/smoketest/SpringBootWithSamplingSmokeTest.groovy

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-20 14:31:49 +09:00
Anuraag Agrawal 97b8712e3b
Remove jaeger-thrift from agent distribution (#2073)
* Remove jaeger-thrift from agent distribution

* Update test
2021-01-19 16:08:01 +09:00
Anuraag Agrawal afdde0355b
Update to OTel 0.14.1 (#2059)
* Update SDK dependency to 0.14.1

* WIP

* Finish

* Cleanup
2021-01-18 13:02:04 +09:00
Lauri Tulmin 11ad12289b
Jetty server span handling (#2029) 2021-01-14 09:31:57 -08:00
Anuraag Agrawal 47a4061078
Update smoke tests to SDK 0.14.1 (#2043) 2021-01-13 22:22:30 -08:00
Mateusz Rzeszutek 822e18675d
Make the agent log its version anymore when starting (#2026)
* Make the agent not log its version anymore when starting

* Version logger smoke test

* Version logger smoke test
2021-01-14 14:06:36 +09:00
Lauri Tulmin c7e0a12145
Close request to avoid warnings in stderr (#2030) 2021-01-12 11:02:49 -08:00
Lauri Tulmin 28c210ed39
Start each server version once for smoke tests (#1967)
* start each server version once for smoke tests

* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* review fixes

* review fix

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-06 12:10:38 +09:00
Lauri Tulmin 79433966fb
Liberty server span handling (#1929)
* Liberty server span handling

* review fixes

* review fixes

* add doc about using compile stubs

* Update instrumentation/liberty/liberty/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/liberty/LibertyInstrumentationModule.java

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Update instrumentation/liberty/liberty/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/liberty/ThreadLocalContext.java

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* add links to advice classes

* add commnet, remove unneeded dependency

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-12-22 15:00:58 +02:00
Nikita Salnikov-Tarnovski 0888711574
Add support for Undertow server runtime (#1917)
* Add support for Undertow server runtime

* Polish

* Damn be classloaders

* Fix correct span name

* Polish
2020-12-22 14:13:50 +02:00
Anuraag Agrawal b72e4a9a53
Update smoke tests to released 0.13.1 (#1933) 2020-12-18 12:50:26 +09:00
Anuraag Agrawal f0a6c6d772
Update SDK dependency to 0.13.0-SNAPSHOT. (#1924)
* Update SDK dependency to 0.13.0-SNAPSHOT.

* Update smoke tests

* Fix formatting

* Spot
2020-12-17 18:20:59 +09:00
Anuraag Agrawal 7f3d6c3321
Update smoke tests to 0.13.0-SNAPSHOT (#1923) 2020-12-17 15:42:50 +09:00
Vladimir Šor 135ba344cb
Tomcat server handlers (#1902)
* Tomcat server handler with passing integration and smoke tests.

* Update server span name from the servlet integration instead of trying to mimic it from the server handler.

* Cleanup and more javadocs.

* Use Java8BytecodeBridge in advice code.

* Use Java8BytecodeBridge in advice code.

* Use earliest version for compilation and muzzling.

* Use consistent instrumentation name.

* Record throwables only if the context is managed by something else.

* Getting scope handling right. Moved server span renaming logic via AppServerBridge to the ServletHttpServerTracer.

* codenarc

* more PR comments addressed

* Pass Method to startServerSpan
2020-12-16 16:59:54 +02:00
Lauri Tulmin d00cbfcc5f
Add more testable servlets to some test app, update tomcat 10 and jetty 10 versions (#1899) 2020-12-15 08:15:55 +02:00
jason plumb 4c8b8a77fb
Add exporter factory for JaegerThriftSpanExporter (#1868)
* add exporter factory for JaegerThriftSpanExporter

* add smoke test
2020-12-14 13:02:51 -08:00
Lauri Tulmin f062ee4ce2
fix liberty docker images (#1853) 2020-12-09 10:59:04 +02:00
Nikita Salnikov-Tarnovski 6281583770
Fix smoke tests to use new images (#1845) 2020-12-07 16:21:22 +02:00
Nikita Salnikov-Tarnovski 04217319ad
Let smoke test use non-default servlet context (#1844) 2020-12-07 14:39:23 +02:00
Anuraag Agrawal 3b8827b8ab
Update to SDK 0.12.0 (#1830)
* Update to SDK 0.12.0

* Update error message to the current world.

* Bump referenced smoke test versions

* fixes

* dependency hell

* Suppress unused call

* Bump missed smoke tests

* Bump image, bump smoke tests gRPC version
2020-12-07 17:16:47 +09:00
Anuraag Agrawal b2f2c96904
Bump gRPC version in smoke test (#1838) 2020-12-07 11:34:46 +09:00
Nikita Salnikov-Tarnovski ef02da9090
Bootstrap prefix fix (#1833)
* Proper classloading test for WildFly and GlassFish

* Fix using BootstrapPackagePrefixesHolder

* Polish

* Format
2020-12-05 10:41:00 +02:00