Commit Graph

5671 Commits

Author SHA1 Message Date
Mateusz Rzeszutek 32a575ca9c
Remove deprecated BaseTracer#extractWithGlobalPropagators() methods (#2452) 2021-03-02 11:05:42 +01:00
Trask Stalnaker 62f2611486
Update instrumentation names (#2433) 2021-03-01 19:34:25 -08:00
Trask Stalnaker 5c1a432c54
Update old name (#2440) 2021-03-01 15:43:49 -08:00
Mateusz Rzeszutek 163062d13e
Remove deprecated end() & endExceptionally() methods from BaseTracer (#2424) 2021-03-01 18:14:30 +01:00
Mateusz Rzeszutek d8e630a0a8
Rewrite kubernetes-client instrumentation so that it works (#2416)
* Rewrite kubernetes-client instrumentation so that it works

(and add tests)

* spotless

* Make Kubernetes propagation work

* spotless
2021-03-01 17:44:31 +02:00
Lauri Tulmin e39b0b44c9
Fix flaky tomcat access log tests (#2448) 2021-03-01 17:41:44 +02:00
Lauri Tulmin 5a2bd5f15a
Disable server ping (#2450) 2021-03-01 15:43:25 +02:00
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
Trask Stalnaker 16d654c59e
Add addHandler method to PatchLogger (#2430) 2021-02-28 00:03:38 +02:00
Mateusz Rzeszutek 5317b7e7f1
Enrich JDBC spans with db.operation and db.sql.table (#2425) 2021-02-27 12:44:20 +02:00
John Watson 6fed672dc6
move the SupportabilityMetrics class and make package-private (#2427) 2021-02-26 20:56:09 -08:00
Trask Stalnaker 03bfaee5eb
Move rest of non-specd attributes to experimental (#2402) 2021-02-26 20:50:47 -08:00
Mateusz Rzeszutek fd55ce226a
Refactor DatabaseClientTracer (in preparation for low-cardinality span names) (#2398)
* Refactor DatabaseClientTracer (in preparation for low-cardinality span names)

* spotless
2021-02-26 15:36:24 +01:00
Mateusz Rzeszutek 605485b998
Remove some deprecated BaseTracer#end(Span) usages (part 2) (#2418) 2021-02-26 14:09:32 +02: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
Mateusz Rzeszutek 90350ba6d5
Remove unnecessary muzzle log configuration in tests (#2411) 2021-02-25 18:57:35 +01:00
Mateusz Rzeszutek 68cde08177
Fix netty 4.1 test after adding @Unroll on the base class (#2412) 2021-02-25 15:01:55 +01:00
Mateusz Rzeszutek 0949b7feee
Fix tests that verify experimental span attributes (#2415)
Some of the modules that add experimental span attributes didn't have the flag turned on for tests, which caused them to fail.
2021-02-25 15:01:39 +01:00
Mateusz Rzeszutek e87cf37f63
Remove some deprecated BaseTracer#end(Span) usages (part 1) (#2401) 2021-02-25 11:35:37 +01: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
John Watson 57185f5b73
Create a new SupportabilityMetrics class rather than using alpha Metrics (#2353) 2021-02-24 12:34:45 -08:00
Mateusz Rzeszutek 9e535827e4
Add custom distro instrumentation unit test example (#2373) 2021-02-24 12:33:44 -08:00
Trask Stalnaker b4c8354b56
Hide non-specd attributes behind experimental flag (#2376) 2021-02-24 12:33:21 -08:00
Trask Stalnaker e0bd17aca9
Util simplification (#2394) 2021-02-24 11:09:53 -08:00
Nikita Salnikov-Tarnovski 74bbb27fca
Fix Spring WebFlux test (#2397) 2021-02-24 17:19:36 +09:00
Anuraag Agrawal 6f926fb16a
Fix copypaste bug (#2396) 2021-02-24 09:56:54 +02:00
Anuraag Agrawal 3ff8d0bcef
Link to autoconfigure docs. (#2395) 2021-02-24 15:58:39 +09:00
Anuraag Agrawal 791072bf2a
Use fetch-depth=0 for all non-release builds for consistent versioning. (#2392) 2021-02-24 14:48:37 +09:00
jason plumb 868af7b8e2
update version in docs (#2391) 2021-02-23 19:57:07 -08:00
Nikita Salnikov-Tarnovski 1641ff0d5c
Fix running condition for smoke-tests (#2389) 2021-02-24 12:27:29 +09:00
jason plumb 413b2aee5d
precompile pattern and use char replacement. (#2374)
* precompile pattern and use char replacement.

* expand description for the narc.

* use endsWith and substring vs. regex.

* make .class a string constant
2021-02-24 10:08:55 +09:00
Lauri Tulmin 0c7aff28e5
Enable disabled tests for HttpUrlConnection (#2382)
* Enable disabled tests for HttpUrlConnection

* review fix
2021-02-23 23:34:50 +02:00
Ago Allikmaa 0b0a0aace2
Add OpenJ9 image smoke test configurations (#2386) 2021-02-23 23:34:02 +02:00
Lauri Tulmin e652cb4a7c
Add missing Unroll annotations (#2383) 2021-02-23 23:33:42 +02:00
Nikita Salnikov-Tarnovski 68742677e4
Fix nightly build (#2384) 2021-02-23 21:33:36 +02:00
Lauri Tulmin 99864c7fdf
Fix metro latest dep test (#2388) 2021-02-23 21:33:21 +02:00
Nikita Salnikov-Tarnovski b6c2a8535a
Only run smoke tests if requested (#2385) 2021-02-23 20:59:43 +02:00
Mateusz Rzeszutek f7b825466d
Fix VerifyError in HttpUrlConnectionInstrumentation (#2380) 2021-02-23 17:32:54 +01: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
Nikita Salnikov-Tarnovski e55e4f1976
Fix high concurrency test on later versions of Vert.x (#2378)
* Fix high concurrency test on later versions of Vert.x

* Format
2021-02-23 13:44:09 +02:00
Nikita Salnikov-Tarnovski eaa8604e96
Better context passing for Netty 4.1 (#2361)
* Better context passing for Netty 4.1

* Format

* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/context/ContextPropagationDebug.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Return test

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-02-23 10:26:41 +02:00
Nikita Salnikov-Tarnovski b43391fedf
Add proper integration for AsyncHttpClient 2+ (#2348)
* Reworking context propagation for Netty 4.0

* Spotless

* Add proper integration for AsyncHttpClient 2+

* Polish

* Polish
2021-02-23 08:09:31 +02:00
Lauri Tulmin c8ca7e8d07
Make http.flavor spec compliant (#2370) 2021-02-22 13:12:05 -08:00
Nikita Salnikov-Tarnovski 573e512eda
Reworking context propagation for Netty 4.0 (#2323)
* Reworking context propagation for Netty 4.0

* Spotless
2021-02-22 22:10:01 +02:00
Lauri Tulmin 2f3ffe89f2
Fix build (#2372)
* Fix build

* remvove schema dir from sourceSets, it triggers using deprecated gradle feature usage error
2021-02-22 11:45:09 -08:00
Mateusz Rzeszutek 5490e5b4c5
Update distro example to 0.17.0 (#2371) 2021-02-22 11:41:12 -08:00
Mateusz Rzeszutek fc4d640e1a
Update log4j & logback library instrumentation README (#2369) 2021-02-22 16:47:12 +02:00
Lauri Tulmin 4c49932d8b
Add instrumentation for jax-ws frameworks (#2314)
* Add instrumentation for jax-ws frameworks

* remvoe commneted out code

* Update instrumentation/jaxws/jaxws-2.0-axis2-1.6/library/src/main/java/io/opentelemetry/instrumentation/axis2/Axis2JaxWsTracer.java

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

* review fixes

* review fix

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-02-22 16:46:33 +02:00