Pavol Loffay
22e2bdd34c
Fix typo in readme ( #1240 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-23 15:28:29 +03:00
Mateusz Rzeszutek
3d030288d2
Muzzle should fail on unimplemented abstract methods ( #1193 )
...
* Muzzle should fail on unimplemented abstract methods
* Muzzle should fail on unimplemented abstract methods
* Muzzle should fail on unimplemented abstract methods
* Muzzle should fail on unimplemented abstract methods
* Update javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/Reference.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Muzzle should fail on unimplemented abstract methods
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-23 07:38:58 +03:00
Trask Stalnaker
b9bbcd85a9
Update testLatestDeps doc ( #1238 )
2020-09-23 07:37:05 +03:00
Nikita Salnikov-Tarnovski
5cebfeb247
Update CONTRIBUTING.md ( #1235 )
...
Update @jkwatson affiliation
2020-09-22 21:13:20 +03:00
Nikita Salnikov-Tarnovski
f76473de92
Fix nightly build failure ( #1234 )
2020-09-22 11:57:19 +03:00
Mateusz Rzeszutek
f76fb756be
Add smoke test for Logback MDC instrumentation ( #1227 )
2020-09-22 10:37:36 +03:00
Jamal Fanaian
5598544318
Add otel prefix to excluded classes properties ( #1231 )
...
The documentation doesn't include the property prefix that is required to use this. The change just adds `otel.` and `OTEL_` prefix to the property table.
2020-09-21 19:53:24 -07:00
Mateusz Rzeszutek
c45a8cd432
Add smoke test for Logback MDC instrumentation - Spring Boot app changes ( #1228 )
2020-09-21 17:51:23 +03:00
Nikita Salnikov-Tarnovski
b240cf95e7
Review semantic convention for RPC spans ( #1219 )
...
* Review gRPC semantic conventions
* Review RMI semantic conventions
* Muzzle fix
* Update compliance table
* Update compliance table
2020-09-20 12:13:47 +03:00
Mateusz Rzeszutek
d89ce818ef
Implement MDC auto-instrumentation for log4j2 ( #1200 )
...
* Implement MDC auto-instrumentation for log4j2
* Implement MDC auto-instrumentation for log4j2 2.7
* Implement MDC auto-instrumentation for log4j2
* Implement MDC auto-instrumentation for log4j2
* Implement MDC auto-instrumentation for log4j2
* Implement MDC auto-instrumentation for log4j1
* Implement MDC auto-instrumentation for log4j2
2020-09-18 17:53:43 +03:00
Nikita Salnikov-Tarnovski
beb1901f5f
Review semantic convention for Http Client spans ( #1214 )
...
* Review semantic convention for Http Client spans
* Polish
* Update instrumentation/google-http-client-1.19/src/test/groovy/AbstractGoogleHttpClientTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-18 17:52:08 +03:00
Jakub Wach
e8b54885c4
Enhance AWS DynamoDB instrumentation ( #1191 )
2020-09-18 10:48:56 +03:00
Mateusz Rzeszutek
bc8224f88f
Implement MDC auto-instrumentation for log4j1 ( #1211 )
2020-09-17 12:07:12 +03:00
Anuraag Agrawal
9635a5e84f
Force flush after finishing lambda function. ( #1204 )
...
* Force span flush after lambda invocation.
* Force flush after finishing lambda function.
* bleh
* Better revert
* Accessor
* OpenTelemetrySdkAccess
2020-09-17 14:26:24 +09:00
Mateusz Rzeszutek
d95235476e
Logback MDC auto-instrumentation gets muzzled and does not work ( #1208 )
...
* Logback MDC auto-instrumentation gets muzzled and does not work
* Update instrumentation/logback/logback-1.0.0/auto/src/main/java/io/opentelemetry/instrumentation/auto/logback/v1_0_0/LoggingEventInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Logback MDC auto-instrumentation gets muzzled and does not work
Moved UnionMap to internal package
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-16 14:31:47 +03:00
Nikita Salnikov-Tarnovski
7e41b516ee
Review semantic convention for Http Server spans ( #1207 )
...
* Review semantic convention for Http Server spans
* Polish
2020-09-16 09:52:11 +03:00
Anuraag Agrawal
4c54656f1e
Add configuration for error prone / nullaway to allow opting in packa… ( #1203 )
...
* Add configuration for error prone / nullaway to allow opting in package by package.
* Guava annotated too
2020-09-15 18:59:50 +09:00
Anuraag Agrawal
912a159c19
Update to latest SDK snapshot. ( #1202 )
2020-09-15 17:49:10 +09:00
Anuraag Agrawal
a9f0e21bfe
Support injecting resources into classloader and use it in aws-sdk-2.… ( #1172 )
...
* Support injecting resources into classloader and use it in aws-sdk-2.2 instrumentation.
* Use URL for duplication check instead of reading content and inject URLs directly instead of reading to byte array first.
* Remove getResource
2020-09-15 17:38:20 +09:00
Nikita Salnikov-Tarnovski
fd07525744
Reactor bugs ( #1189 )
...
* Demonstrating bugs with Project Reactor and Reactor Netty support
* Intermediate kinda working state
* Seems to work
* Format
* Always use context active during subscription
* Fix muzzle
* Format
* Test fix
* Ignore failing test for now
* Add attribution and links to borrowed code
* Fix hook reset
* Polish
* Revert "Ignore failing test for now"
This reverts commit 1867995a
* Polish
* Fixes #1103
2020-09-15 09:57:03 +09:00
Trask Stalnaker
221deb1f98
Fix test logging ( #1194 )
2020-09-13 21:13:11 -07:00
Anuraag Agrawal
01ec2ad6a7
Add initial baseline instrumentation for AWS lambda runtime. ( #1192 )
...
* Add initial baseline instrumentation for AWS lambda runtime.
* narc
* Cleanup
* docs
* Remove sentence which is redundant with every manual instrumentation we provide.
2020-09-14 12:57:51 +09:00
Mateusz Rzeszutek
70a5a3eb6e
Implement some support for JAX-RS 2.1 additions ( #1184 )
...
* HTTP method `PATCH`
* Async resource methods returning a `CompletionStage`
2020-09-11 14:13:00 +03:00
Trask Stalnaker
7cf42b1377
Remove old kotlin coroutine instrumentation ( #1185 )
2020-09-11 11:38:50 +03:00
Rashmi
d2d19ef486
Lettuce 5.1 - Remove redis args from span attributes for command such as AUTH ( #1190 )
...
* Obfuscate args in db.statement for AUTH command in redis
* 💄 Changes
* Moved auth tests to separate class
* Reverted unnecessary changes
2020-09-11 17:20:34 +09:00
Mateusz Rzeszutek
9566315914
Support RESTeasy 4.0 version in unit tests ( #1082 )
...
* Support RESTeasy 4.0 version in unit tests
* Split jaxrs-2.0 into jaxrs-2.0-common and jaxrs-2.0-testing (similar to e.g. play)
* Support newest RESTEasy version in unit tests
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Support RESTeasy 4.0 version in unit tests - code review follow-up
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-11 07:21:16 +03:00
Anuraag Agrawal
266b8b927d
Split out artifact for javaagent SPI. ( #1187 )
...
* Split out artifact for javaagent SPI.
* Fix test - exporters are loaded by test and should not be on the classpath
* Fix
2020-09-11 07:09:04 +03:00
Anuraag Agrawal
a1802946fb
Update README for new release ( #1188 )
2020-09-10 18:56:54 +03:00
Sergei Malafeev
f0eaa5f0fa
JDK 11 HttpClient instrumentation ( #1121 )
...
* JDK 11 HttpClient instrumentation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of semicolon
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* trace sync request
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of unnecessary gradle options
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* wip
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* end span when future completed
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove unneeded check
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of repeated test code
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of unneeded code
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove semicolon
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* implement review comments
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* Update instrumentation/httpclient/src/main/java/io/opentelemetry/instrumentation/auto/httpclient/HttpClientInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/httpclient/src/main/java/io/opentelemetry/instrumentation/auto/httpclient/HttpClientInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/httpclient/src/test/groovy/JdkHttpClientTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* rename to java-httpclient
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove unused
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* follow redirects
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove semicolon
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-10 16:04:52 +09:00
Anuraag Agrawal
16b7f5b345
Move AgentClassLoader out of public API. ( #1182 )
...
* Move AgentClassLoader out of public API.
* Move tests too
* Keep auto-api on bootstrap classpath.
2020-09-10 14:56:20 +09:00
dengliming
4959aa735f
Rename spring instrumentation modules ( #1125 )
2020-09-10 08:41:25 +09:00
Mateusz Rzeszutek
79b2ce3a90
Fix Servlet instrumentation for servlet-api 3.1+ - remove output stream wrapper ( #1167 )
2020-09-09 15:31:05 +03:00
Anuraag Agrawal
c1556fa359
Use platformClassLoader as muzzle parent instead of bootstrap. ( #1183 )
2020-09-09 17:57:03 +09:00
Jakub Wach
7080bdb9a4
spring mvc3 - proper span name in case of sec fail ( #718 ) ( #1122 )
2020-09-09 10:08:28 +03:00
Anuraag Agrawal
5289520203
Fix groups / base name for javaagent artifacts ( #1173 )
2020-09-09 09:38:29 +03:00
John Bley
030e9fe107
Properly track causality of kotlin suspend functions ( #1168 )
...
* Initial work on kotlin suspend functions.
Introduce new instrumentation to capture kotlin suspended coroutines
and track/update Context appropriately. Add high-concurrency test
showing the issue and that it is solved.
* spotlessApply
* Fix spelling of continuation.
* Fix kotlin style
* Add kotlin dependencies to muzzle
* Fix muzzle in another package that pulls in java-concurrent.
* Use runBlocking instead of a sleep to finish test
* Clarify and improve comments on how/why
* Move kotlin coroutines instrumentation to top-level instrumentation module
* Properly build muzzle check for kotlin-coroutines
* Merge kotlin-testing into regular src/test rather than separate module
* Clean up attach/detach logic
* Tighten bounds and skipVersions on kotlin muzzle
* Rename fields and clean up attach logic
* Clean up types/side-effect code
* spotlessApply
* Enhance muzzle testing to properly test latest kotlin.
Required updating a few kotlin-y things to latest version to properly resolve the jvm
variant of their new multiplatform stuff.
2020-09-09 14:11:00 +09:00
Mateusz Rzeszutek
70a06ef086
Fix a bug when FieldBackedProvider uses a map and value is set to null ( #1177 )
2020-09-09 14:10:17 +09:00
Anuraag Agrawal
7202d105ba
Auto instrumentation for logback event wrapping. ( #1180 )
2020-09-09 14:10:02 +09:00
Sergei Malafeev
8b62c173ba
add operation name to jms span name ( #1179 )
...
* #983 add operation name to jms span name
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of redundant method
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-09-09 10:25:37 +09:00
Anuraag Agrawal
8433ff9f5c
Restrict logback latest dep to non-alpha versions. ( #1176 )
2020-09-05 12:38:29 +03:00
Anuraag Agrawal
1217882a30
Move archivesBaseName into instrumentation gradle in a way that supports both old and new folder scheme. ( #1169 )
2020-09-04 12:38:58 +03:00
Anuraag Agrawal
fa3ae0921f
Use ClassValue and full name cache in AWS SDK 1.1 ( #1153 )
...
* Use ClassValue and full name cache in AWS SDK 1.1
* Mysterious class
* Muzzle
2020-09-04 14:59:02 +09:00
Anuraag Agrawal
d21db7b0a6
Add a logback appender that can be added to a config to export context IDs ( #1165 )
...
* Add a logback appender that exports IDs.
* Progress
* Finish
* NOTICE
2020-09-04 14:41:41 +09:00
Anuraag Agrawal
5c86bcc20d
Update SDK dependency to released 0.8.0 ( #1162 )
...
* Update SDK dependency to released 0.8.0
* Update exporter
* Fix fake-backend proto reference
2020-09-03 17:09:51 +09:00
Nikita Salnikov-Tarnovski
ec9c20b490
Don't wrap request/response in Jetty ( #1156 )
...
* Don't wrap request/response in Jetty
* Polish
* Add test
2020-09-03 16:18:28 +09:00
Anuraag Agrawal
6f783bc576
Make sure finatra is included on normal test classpath even when runn… ( #1163 )
...
* Make sure finatra is included on normal test classpath even when running latest dep tests.
* Move comment
2020-09-03 16:00:19 +09:00
Nikita Salnikov-Tarnovski
2b83c310da
More decorators translated to tracers ( #1148 )
2020-09-03 07:53:14 +03:00
Nikita Salnikov-Tarnovski
84da1b1897
Remove charged language ( #1159 )
2020-09-03 07:32:36 +03:00
Nikita Salnikov-Tarnovski
3eca8a4d47
Validate gradle wrapper only when changed ( #1157 )
...
* Validate gradle wrapper only when changed
* Validate gradle wrapper only when changed
2020-09-03 07:31:44 +03:00
Jakub Wach
f033fd451a
mapping redis (jedis) connection net.peer properties ( #1158 )
2020-09-03 12:55:23 +09:00