Commit Graph

2043 Commits

Author SHA1 Message Date
Lauri Tulmin 30945cc85e
Remove unused SLF4J_VERSION (#5964) 2022-05-02 19:12:08 -07:00
Lauri Tulmin 47128f3a3d
Wait a bit before retrying (#5965) 2022-05-02 19:11:59 -07:00
Lauri Tulmin 998c85571a
Play ws: replace common singleton with factory (#5958)
* Play ws: replace common singleton with factory

* Apply suggestions from code review

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-30 13:27:02 +03:00
Lauri Tulmin dc829b59d3
JaxWS: replace common singleton with factory (#5960)
* JaxWS: replace common singleton with factory

* address review comments
2022-04-30 13:26:47 +03:00
Lauri Tulmin b52576b72a
Hibernate: replace common singleton with factory (#5959) 2022-04-29 09:47:50 -07:00
Lauri Tulmin b32d6eb458
Test latest version of paly-ws (#5956) 2022-04-29 15:49:52 +03:00
Lauri Tulmin c5885267c2
Wrong library name in comment (#5955) 2022-04-29 15:49:34 +03:00
Daniel Gradecak a06f4b1e8e
fix NPE for commons-httpclient v3.1 (#5944) (#5949)
* fix NPE for commons-httpclient v3.1 (#5944)

* fix NPE for commons-httpclient v3.1 (#5944) - spotless fixes

* extracting abstract class with reused code (#5944)
2022-04-28 20:19:52 -07:00
Mateusz Rzeszutek d919f84cf8
Merge javaagent-instrumentation-api into javaagent-extension-api (#5936)
* Merge javaagent-instrumentation-api into javaagent-extension-api

* remove some leftover references to javaagent-instrumentation-api

* add missing instrumentation-api to distro example
2022-04-28 20:11:15 -07:00
Lauri Tulmin 2fa85f12e1
Test latest version of rediscala (#5951)
* Test latest version of rediscala

* spotless
2022-04-28 08:35:54 -07:00
Lauri Tulmin 2bc962c5ee
Test latest version of finatra (#5952)
* Test latest version of finatra

* spotless
2022-04-28 08:35:28 -07:00
Lauri Tulmin a45ee01259
Test latest version of akka-http (#5945)
* Test latest version of akka-http

* checkstyle

* spotless
2022-04-28 15:08:58 +03:00
Lauri Tulmin e93f5c3a1e
Flaky redisson async test (#5940) 2022-04-28 15:08:39 +03:00
Trask Stalnaker e3588ceee3
Fix some jul messages (#5930) 2022-04-27 10:33:12 -07:00
Lauri Tulmin 51548735c2
Increase get operation timeout for couchbase31 (#5943) 2022-04-27 10:25:33 -07:00
Lauri Tulmin 72a4637d0e
Fix flaky spring batch test (#5935)
* Fix flaky spring batch test

* set only completion policy
2022-04-27 10:23:22 -07:00
Trask Stalnaker f2714ad021
Small consistency (#5931) 2022-04-25 15:06:38 -07:00
jack-berg 6fe3299f52
Add metric support for grpc (#5923)
* Add metric support for grpc

* Spotless
2022-04-25 10:36:26 -07:00
Mateusz Rzeszutek 1345a6665e
Test spring-kafka instrumentation with receive telemetry disabled (#5913)
* Test spring-kafka instrumentation with receive telemetry disabled

* checkstyle and code review comment
2022-04-25 15:56:55 +02:00
Mateusz Rzeszutek 7d5555432c
Refactor KafkaInstrumenterFactory a bit (#5911) 2022-04-22 08:34:26 -07:00
Lauri Tulmin f7039dc371
Suppress unused waring for advice class (#5908) 2022-04-22 08:32:41 -07:00
Lauri Tulmin a46e6745cf
Increase timeout for kafka topic creation (#5909) 2022-04-22 08:30:41 -07:00
Mateusz Rzeszutek 2bb7873f99
Add javaagent<->application context bridge for HttpRouteHolder (#5838)
* Add javaagent<->application context bridge for HttpRouteHolder

* remove comments

* fix broken http.route bridge

* spotless

* Move to a separate module
2022-04-22 08:29:54 -07:00
Mateusz Rzeszutek 28825724db
Spring-kafka single record instrumentation (#5904) 2022-04-21 14:42:49 -07:00
Lauri Tulmin ceeaa1b660
Avoid npe in netty 4.1 instrumentation (#5902) 2022-04-21 09:28:22 -07:00
Lauri Tulmin 2e912eb346
Remove outdated info from servlet README.md (#5903) 2022-04-21 08:55:30 -07:00
Mateusz Rzeszutek 2c4acd7c81
Introduce LocalRootSpan (replacing ServerSpan) (#5896)
* Introduce LocalRootSpan (replacing ServerSpan)

* fix tests

* bridge old ServerSpan class
2022-04-21 11:29:10 +02:00
YuDong Tang 0c1afee422
record exception in dubbo high version (#5892) 2022-04-20 10:42:23 -07:00
Mateusz Rzeszutek 4e3f19d469
Enable span suppression by SpanKey by default (#5779)
* Enable span suppression by SpanKey by default

* fix HTTP tests (probably)

* add exception for camel

* remove suppression tests from @WithSpan instrumentations

* remove suppression tests from @WithSpan instrumentation; spring boot autoconfigure

* fix twilio tests

* fix netty-based HTTP clients, remove AWS SDK 1.11 unit test

* fix elasticsearch tests

* codenarc

* spotless

* fix AWS SDK 1.11 tests

* remove a TODO

* code review comments

* fix merge conflict

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-19 14:13:09 -07:00
Mateusz Rzeszutek b702a9d4d1
Fix logging instrumentation to pass Context instead of Span (#5881) 2022-04-19 12:24:10 -07:00
Mateusz Rzeszutek 1ab173755f
Delete deprecated micrometer library instrumentation (#5884) 2022-04-19 12:22:45 -07:00
Trask Stalnaker 85061691fe
Bump log4j version for library instrumentation to 2.17 (#5849)
* Bump log4j library version to 2.17

* muzzle
2022-04-19 12:11:10 -07:00
Will Li c7f6eab664
Add jboss-logmanager mdc support (#5842)
* add support for jboss-logmanager-mdc

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* update based on feedback

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* update

* check spanContext is valid
2022-04-19 12:10:40 -07:00
Trask Stalnaker 0d92a21f37
Rename javaagent executor package names (#5847)
* Rename package javaconcurrent -> executors

* Rename package concurrent -> executors
2022-04-18 22:15:28 -07:00
Mateusz Rzeszutek 7c760acea6
Move some classes out of `javaagent-instrumentation-api` (#5841)
* Move concurrent instrumentation utils out from javaagent-instrumentation-api

* Move AgentLogEmitterProvider, InstrumentedTaskClasses and OpenTelemetrySdkAccess out of javaagent-instrumentation-api
2022-04-15 12:09:28 -07:00
Mateusz Rzeszutek 1ad0342ab0
Update the http.route attribute even for not sampled server spans (#5844) 2022-04-15 10:15:49 -07:00
Mateusz Rzeszutek e9fbb367b3
Rename netty `always-create-connect-span` property to `connection-tel… (#5834)
* Rename netty `always-create-connect-span` property to `connection-telemetry`

* formatting

* warn when deprecated property is used

* errorprone
2022-04-15 13:38:04 +02:00
Trask Stalnaker 793cc7d759
Limit problems from kafka iterator instrumentation thread context leak (#5826)
* Limit problems from kafka iterator instrumentation thread context leak

* spring-kafka

* no system out
2022-04-14 18:00:23 -07:00
Mateusz Rzeszutek b19e95bc8d
Use micrometer1-shim in micrometer javaagent instrumentation, depreca… (#5820)
* Use micrometer1-shim in micrometer javaagent instrumentation, deprecate micrometer library instrumentation

* fix actuator instrumentation
2022-04-14 17:20:58 -07:00
Lauri Tulmin 1f9c1c1b5f
JUnit5 parameterized tests don't work correctly with arquillian (#5833)
* JUnit5 parameterized tests don't work correctly with arquillian

* disable test on java 17
2022-04-14 12:15:55 -07:00
Mateusz Rzeszutek 4d34d90437
Do not set the http.route attribute in JSF instrumentations by default (#5819)
* Do not set the http.route attribute in JSF instrumentations by default

* code review comments
2022-04-14 09:07:05 -07:00
Lauri Tulmin 5946813a68
Use UnsynchronizedAppenderBase as base class for our logback appender (#5818) 2022-04-13 10:11:00 -07:00
Anuraag Agrawal e58d39d4ad
Update to OTel 1.13 (#5799)
* Update to OTel 1.13

* Fix test

* Foo

* Fix app server test and start yak shaving

* Yak

* Yak

* groovy fail

* Yak

* GROOVY

* yak farm
2022-04-13 13:16:32 +03:00
Lauri Tulmin b587473331
Fix flaky SpringRestTemplateTest (#5808) 2022-04-12 20:55:52 +03:00
Lauri Tulmin 92f3658aa3
Fix jaxws metro tests on jdk8 (#5809) 2022-04-12 10:26:23 -07:00
Trask Stalnaker 7b6b31ff88
Extract instrumentation out of jaxrs-common module (#5788)
* Extract instrumentation out of jaxrs-common module

* dropwizard

* Move jaxrs annotation test too

Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-04-11 16:59:15 -07:00
Anuraag Agrawal 980746ae44
Update errorprone (#5776)
* Update errorprone

* Fix errorprone on java 17

* Fix oshi test

* Spot

* Fix merge
2022-04-11 12:48:16 -07:00
Lauri Tulmin 91066a8073
Add library instrumentation for ktor 2 (#5797) 2022-04-11 13:05:00 +03:00
Trask Stalnaker cc05e57e67
Fix testLatestDeps (#5792)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-04-11 11:36:07 +03:00
Lauri Tulmin 4ad44909ca
Faster type matching (#5724)
* Faster type matching

* make findLoadedClass accessible on java17

* enable jaxrs instrumentation for quarkus test

* fix websphere

* fix muzzle

* javadoc formating

* ignore classes that are know to fail to load for virtual field transforms

* add back jaxrs and jaxws annotation instrumentations

* Apply suggestions from code review

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

* fix compile error

* comments

* replace deprecated method usage

* add comment

* add an spi to get access to bootstrap proxy from muzzle module

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-08 10:38:50 -07:00