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
Piotr Glazar
b3504a1e6a
Rxjava 2 ( #2130 )
...
* RxJava2 autoinstrumentation
* RxJava2 autoinstrumentation
* Fixing gradle dependencies
* Fixing codenarc violations
* Fixing spotless violations
* After merging with main
* Applying spotless
* Javaagent uses library instrumentation
* Code cleanup
* Revert changes to TraceAssert
* Hard-code class name
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Spotless fix
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-02-22 15:25:43 +01:00
Jakub Wach
17aae4dfaa
AWS SDK instrumentation - DynamoDB attributes ( #2262 )
...
* AWS SDK instrumentation - DynamoDB attributes
* aws sdk attributes mapping - dynamoDb
* some clean-up, swithced to AWS SDK marshalling for SdkPojos
* more tests, slight refactoring of different request type fields handling
* code review changes
* code review changes
* code review changes
2021-02-22 11:38:35 +02:00
Nikita Salnikov-Tarnovski
2497a03523
Fix nightly build ( #2368 )
2021-02-22 17:52:28 +09:00
Anuraag Agrawal
2244377dd4
Remove trivial uses of Guava from agent. ( #2360 )
...
* Remove trivial uses of Guava from agent.
* Extract
* Clean
2021-02-22 12:31:02 +09:00
Mateusz Rzeszutek
efa99f0bbe
Update logger MDC docs (after #2312 ) ( #2313 )
2021-02-20 19:00:43 -08:00
Anuraag Agrawal
87e1ae6724
Move reactor library instrumentation from instrumentation-core to instrumentation ( #2359 )
2021-02-20 16:37:21 -08:00
Trask Stalnaker
79fa9e0816
Fix debug logging ( #2351 )
...
* Fix debug logging
* Fix test
* Fix another test
2021-02-20 10:06:50 +02:00
Anuraag Agrawal
0c764e8db0
Fix post-merge conflict ( #2358 )
2021-02-20 13:42:41 +09:00
Anuraag Agrawal
0290761acb
Migrate Armeria to HttpServer/ClientTest ( #2345 )
...
* Add HttpServerTest for Armeria
* semicolon
2021-02-20 10:35:54 +09:00
neinoi
1f884e4d97
Fix Operation name logging for Netty based applications ( #2317 )
2021-02-19 09:59:50 -08:00
Lauri Tulmin
1ca7276593
Remove HttpServerTest.testExceptionBody and redirectHasBody ( #2346 )
2021-02-19 15:57:11 +02:00
Anuraag Agrawal
5d8c6c3e67
Add code-of-conduct file. ( #2341 )
2021-02-19 16:24:41 +09: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
Anuraag Agrawal
b86748fcda
Update links to workflows in RELEASING.md ( #2340 )
2021-02-19 15:39:58 +09:00
Anuraag Agrawal
cf9bfa2373
Publish a BOM ( #2339 )
2021-02-19 15:29:07 +09:00
Anuraag Agrawal
cc033a14ae
Inject OpenTelemetrySdk into lambda library instrumentation instead o… ( #2328 )
...
* Inject OpenTelemetrySdk into lambda library instrumentation instead of using global.
* Update javadoc
* Drift
2021-02-19 12:27:51 +09:00
Lauri Tulmin
bc77ab0c82
jetty 9.4 behave differently from earlier versions ( #2335 )
2021-02-18 15:38:45 -08:00
Ago Allikmaa
72b84c5111
Allow gradle build without JDK/bin in PATH ( #2322 )
2021-02-18 11:33:48 -08:00
Anuraag Agrawal
13acd390f1
Enable runtime metrics on agent startup. ( #2311 )
2021-02-18 11:12:40 -08:00
Nikita Salnikov-Tarnovski
c810db3dd0
Fix nightly build failure ( #2331 )
2021-02-18 21:00:47 +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
Lauri Tulmin
c95b5048e8
Avoid NoSuchMethodError on shutdown ( #2321 )
2021-02-18 11:51:55 +09:00
Mateusz Rzeszutek
15a9d0f113
Update smoke tests for logging changes ( #2312 ) ( #2316 )
2021-02-18 11:46:00 +09:00
Jamal Fanaian
bdcb2d09e8
Implement spanName for MongoClientTracer ( #2307 )
...
* Implement spanName for MongoClientTracer
Adds a basic implementation for spanName in MongoClientTracer that uses the recommended name from the specification.
* Fix mongo4 tests
* Fix typo in test
* Handle missing dbName
* Update test with a command that has no collection as value
* Fix style issues
* Fix formatting
* remove uneeded line
2021-02-18 11:44:21 +09:00
Lauri Tulmin
50cc8ddc8f
Add support for apache httpclient5 ( #2254 )
...
* Add support for apache httpclient5
* review fixes
* copy commnet from httpclient-4 instrumentation
* rebase
2021-02-17 22:03:29 +02:00
jason plumb
3fc1765446
Include status code for HttpUrlConnection exceptions ( #2272 )
...
* work in progress
* set span state to error and cleanup
* build test
* gotta get spotless
* cleanup
* move getResponseCode advice to its own advice class.
* remove dynamic type from annotation
* Update instrumentation/http-url-connection/javaagent/src/test/groovy/HttpUrlConnectionTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/http-url-connection/javaagent/src/test/groovy/HttpUrlConnectionTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-17 22:02:02 +02:00
Mateusz Rzeszutek
e98da2a3a2
Fix VerifyError in examples/distro servlet instrumentation ( #2319 )
2021-02-17 21:55:00 +02:00
Trask Stalnaker
54e9cd5d5f
Update MDC docs to reflect log spec naming ( #2303 )
2021-02-17 14:52:10 +02:00
Trask Stalnaker
427bd5fbb0
Move slf4j-simple initialization from bootstrap into tooling ( #2305 )
...
* Move more init out of bootstrap
* spotLESS
2021-02-17 14:51:45 +02:00
Mateusz Rzeszutek
aa5fef2bfe
Improve library tests' stability ( #2300 )
...
* Improve library tests' stability
* Code review follow-up
2021-02-17 13:22:14 +01:00