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
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
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
Richard Startin
a012143ac0
don't cache classloaders which can be skipped by name ( DataDog/dd-trace-java#1732 )
2020-09-01 10:31:24 -07:00
Tyler Benson
e2aca0f378
Add muzzle reference detection for invokedynamic calls. ( DataDog/dd-trace-java#1712 )
2020-09-01 10:31:24 -07:00
Tyler Benson
d7d46b2ef9
Add instrumentation for Guava ListenableFutures context propagation ( DataDog/dd-trace-java#1665 )
2020-09-01 10:31:23 -07:00
Anuraag Agrawal
770502eed9
Merge exporter auto config into javaagent-tooling. ( #1120 )
...
* Merge exporter auto config into javaagent-tooling.
* Update javadoc
2020-08-30 11:07:48 +09:00
Nikita Salnikov-Tarnovski
e20cba57c2
Telemetry auto version ( #1112 )
...
* Provide telemetry.auto.version
* Report instrumentation library version
* Rename class
* Format
2020-08-27 23:16:17 +03:00
Mateusz Rzeszutek
2203a37771
Log current thread id and name as span attribute ( #1093 )
2020-08-27 10:12:51 -07:00
Ying
cfd111981b
create metricexporterfactory by default ( #1098 )
2020-08-26 19:59:20 -07:00
Nikita Salnikov-Tarnovski
bc98955176
Update to latest otel-java snapshot ( #1057 )
...
* Update to latest otel-java snapshot
* Upgrade to working otel-java snapshot
* Update to latest otel-java snapshot
* Update to latest otel-java snapshot
2020-08-26 22:03:28 +03:00
Trask Stalnaker
14ff14f2b1
Remove thread utils module ( #1017 )
...
* Remove thread-utils module
* No need for extra thread pool
2020-08-17 11:10:48 +03:00
Trask Stalnaker
88eef8934e
Small ReferenceCreator cleanup ( #972 )
2020-08-16 10:13:10 -07:00
Trask Stalnaker
7159d04b8d
Change groovy import order ( #1013 )
...
* Update docs
* Format all groovy code
* Organize imports
2020-08-15 23:19:27 -07:00
Trask Stalnaker
414213f2d1
Remove final from parameters ( #1003 )
2020-08-15 22:35:51 -07:00
Trask Stalnaker
f893ca540b
Scripted package renaming ( #988 )
2020-08-15 21:55:01 -07:00
Trask Stalnaker
f46ba88c29
Rename library-api artifact to instrumentation-api ( #969 )
2020-08-13 22:43:39 -07:00
Trask Stalnaker
f940b2d2de
Use OpenTelemetry.getTracer() shortcut ( #965 )
2020-08-14 07:11:06 +03:00
Trask Stalnaker
7818e33178
Package renaming ( #970 )
2020-08-13 20:14:46 -07:00
Trask Stalnaker
bf9c160570
Rename javaagent modules ( #952 )
2020-08-12 22:50:14 -07:00