Mateusz Rzeszutek
aa5fef2bfe
Improve library tests' stability ( #2300 )
...
* Improve library tests' stability
* Code review follow-up
2021-02-17 13:22:14 +01:00
Piotr Glazar
64c8a51f7d
Rxjava2 library instrumentation ( #2191 )
...
* RxJava 2 library instrumentation
* Spotless fix
* Ignoring problematic test - for now
* Spock test fix
* Gradle testing module
* After upstream main merge
* Spotless fix
* onSubscribe plugin
* Major refactoring
* After main branch merge
* Spotless fix
* Code review fixes
* More code review fixes
* Removing obsolete Connectable* classes
* Apply suggestions from code review
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Code review fixes
* Adding a Javadoc comment that describes test methodology
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-02-17 13:12:50 +01:00
John Watson
836da8dbfd
Add a metric for counting the number of suppressed spans. ( #2135 )
...
* Add debug logging when a span is suppressed.
* cleanup from PR comments
* add a `default` to the switch to make checkstyle happy
* rather than logging, use a counter to keep track of the number of suppressed spans.
* update for latest from upstream
* add a default branch for checkstyle
2021-02-17 09:29:58 +02:00
Anuraag Agrawal
c6bb83e653
Don't String.format when determining if instrumentation is enabled. ( #2309 )
2021-02-17 12:52:40 +09:00
John Watson
a0b208fd52
Turn on the logging span exporter if agent debug is enabled. ( #2270 )
2021-02-16 15:38:37 -08:00
Mateusz Rzeszutek
ee090aee1e
Support library instrumentations with HttpServerTest & HttpClientTest ( #2299 )
2021-02-16 09:05:23 -08:00
Trask Stalnaker
33195bde8b
Better license grouping ( #2297 )
2021-02-16 09:00:08 -08:00
Trask Stalnaker
447470ffaa
Fix main branch build ( #2295 )
2021-02-16 08:51:21 -08:00
Mateusz Rzeszutek
82e3166e68
Fix nightly build (hibernate 4.3 latestDepTest) ( #2298 )
2021-02-16 12:00:03 +01:00
Lauri Tulmin
e76d3b19d1
Fix ServletContextPath.prepend for app server spans ( #2089 )
...
* ServletContextPath.prepend doesn't work when server span is created from app server integration
* move ServletContextPath context creation to servlet-common, make servlet2&3 depend on servlet-common so that it would be used in tests that depend on servlet3
* fix failing test
* add servlet-common dependency to modules that depend on servlet3
* add servlet-common dependency to mojarra and myfaces
* run context path instrumentation after servlet instrumentation
* add servlet-common dependency to wicket
* move servlet context path handling
* enable jetty instrumentation for all handlers
* run springmvc tests with tomcat integration, fix peer port and peer ip reporting on tomcat
* jetty integration is now enabled for all handlers
* update expected span name
* Revert "jetty integration is now enabled for all handlers"
This reverts commit 82cbb663f5
.
* Revert "update expected span name"
This reverts commit c034496fc5
.
* Revert "enable jetty instrumentation for all handlers"
This reverts commit 8a3d077600
.
* Trigger Build
2021-02-15 23:34:15 -08:00
Trask Stalnaker
1311bd1ed8
Propagate context to apache httpclient async callback ( #2276 )
2021-02-15 23:33:34 -08:00
Trask Stalnaker
9d58ac864c
Reduce debug logging ( #2296 )
2021-02-16 16:08:59 +09:00
Trask Stalnaker
fbd55068c8
Remove unnecessary dynamic typing ( #2277 )
2021-02-16 07:52:07 +02:00
Anuraag Agrawal
69e8e8ebcb
Rethrow exception if thrown in gRPC client onMessage. ( #2294 )
2021-02-16 14:34:56 +09:00
Trask Stalnaker
59c9b544d1
Bring back debug logging under class file transform ( #2236 )
...
* Bring back debug logging under class file transform
* spotless
* Feedback
* Rename to TransformSafeLogger
2021-02-16 12:37:17 +09:00
Trask Stalnaker
dba80cecfd
Add example distro to ci ( #2292 )
2021-02-16 12:05:19 +09:00
Anuraag Agrawal
66f5554a2b
Mark all non-javaagent artifacts as -alpha version. ( #2286 )
2021-02-15 16:49:37 -08:00
Trask Stalnaker
f866bf2f93
Remove unused gradle config ( #2268 )
2021-02-15 16:48:23 -08:00
Mateusz Rzeszutek
48a12b7e9f
Remove Hibernate from javaagent jar ( #2288 )
2021-02-15 16:25:08 -08:00
Christian Neumüller
39e194a61f
examples/distro: Update to newest released versions, fix build. ( #2290 )
...
* Fix build of examples/distro.
* examples/distro: Fix smoke test.
2021-02-16 09:08:02 +09:00
Mateusz Rzeszutek
0adeb85f43
Refactor InMemoryExporter and move some of its methods … ( #2264 )
...
* Refactor InMemoryExporter and move some of its methods to spock base class & junit extension
* codenarc
* spotless
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* fix armeria library tests
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-15 17:36:14 +01:00
Trask Stalnaker
adc24352cb
Updates to dependencies included in license report ( #2278 )
2021-02-15 15:16:01 +02:00
Trask Stalnaker
f5b2a9a085
Remove unnecessary shutdown hook ( #2283 )
2021-02-15 15:11:38 +02:00
Christian Neumüller
5d8464305e
writing-instrumentation.md: Fix section hierarchy ( #2287 )
2021-02-15 15:08:09 +02:00
Anuraag Agrawal
15e5c2280a
Embed license report in published jar. ( #2261 )
2021-02-14 11:51:34 +09:00
Trask Stalnaker
37f17317a2
Add new triager @breedx-splk ( #2267 )
2021-02-13 11:16:49 -08:00
Trask Stalnaker
723a08ac4f
Fix references of otel.trace. to otel.traces. ( #2269 )
2021-02-13 11:16:25 -08:00
Trask Stalnaker
45a81d24b1
Remove afterburner from aws-lambda tests ( #2271 )
2021-02-13 11:16:01 -08:00
Trask Stalnaker
8a1c4ed29b
Fix README TOC links ( #2275 )
2021-02-13 11:15:09 -08:00
Mateusz Rzeszutek
211e0b7ab2
Use ClassRule in armeria tests ( #2265 )
2021-02-13 11:54:39 +09:00
Lauri Tulmin
eaa973c208
Test jax-rs on wildfly ( #2242 )
2021-02-12 16:19:10 -08:00
Anuraag Agrawal
5e2d1933b5
Add prometheus http lib to agent. ( #2259 )
2021-02-12 21:18:50 +09:00
Mateusz Rzeszutek
a74f60b3f8
Add JUnit 5 extensions for instrumentation testing ( #2241 )
...
* Add JUnit 5 extensions for instrumentation testing
* Fix kafka tests
* RepeatedTest
2021-02-12 12:57:08 +01:00
Mateusz Rzeszutek
0fbdcad1dd
Make BaseTracer#startSpan() return Context ( #2232 )
...
* Make BaseTracer#startSpan() return Context
* Update instrumentation/apache-camel-2.20/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachecamel/CamelEventNotifier.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* spotless
* Add Javadocs to BaseTracer
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-12 12:12:40 +01:00
Anuraag Agrawal
d3931912f2
Update README for env var rename in 0.16.0 ( #2258 )
...
* Update README for env var rename in 0.16.0
* moar
2021-02-12 12:41:41 +02:00
Anuraag Agrawal
1d4c150111
Add task to generate license report into licenses folder. ( #2239 )
2021-02-12 17:20:08 +09:00
Trask Stalnaker
66fe53b028
Remove deps from javaagent ( #2251 )
...
* Remove deps from javaagent
* Also
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-02-12 17:19:47 +09:00
Lauri Tulmin
5dc2cd420a
Start smoke test backend and collector only once ( #2249 )
2021-02-11 22:13:24 -08:00
Jakub Wach
29780d97be
fixing possible NPE in Apache Camel instrumentation ( #2250 )
2021-02-11 12:38:10 +02:00
Trask Stalnaker
9592229e36
Skip recent problematic elasticsearch version ( #2253 )
2021-02-11 11:28:15 +02:00
Nikita Salnikov-Tarnovski
6cc408f1a1
Add @mateuszrzeszutek as maintainer ( #2246 )
...
Mateusz is a very active both contributing improvements to this repo and review submissions from other people.
2021-02-10 19:58:48 +02:00
Lauri Tulmin
845f758f8e
Close response to avoid warning about leaked response ( #2240 )
2021-02-10 15:01:54 +02:00
Jakub Wach
8592d79362
aws lambda instrumentation - http headers propagation fix ( #2222 )
...
* aws lambda instrumentation - http headers propagation fix
* documented lambda propagation behaviour
* spotless apply
2021-02-10 12:45:38 +01:00
Mateusz Rzeszutek
ecf64c25f3
Remove BaseTracer#startScope() method ( #2224 )
...
* Remove BaseTracer#startScope() method
* fix compilation failure
2021-02-10 11:39:38 +01:00
Trask Stalnaker
7d373c7141
Remove kotlin core libs from javaagent distro ( #2238 )
2021-02-10 18:42:08 +09:00
Trask Stalnaker
c91bff41cb
Add comment about extension shading ( #2235 )
2021-02-10 09:39:33 +02:00
Anuraag Agrawal
a8676e2bc8
Create draft release with uploaded agent in github workflow. ( #2237 )
2021-02-10 14:44:56 +09:00
Trask Stalnaker
3f8cacfcb4
Fix build deadlock ( #2234 )
...
* Fix build deadlock
* spotless
2021-02-10 13:09:14 +09:00
ET
42850e3ac2
Add OpenTelemetry parameter constructors to all api Tracer classes ( #2233 )
2021-02-09 13:35:41 -08:00
jason plumb
ca21955bd9
README and docs reorg ( #2226 )
2021-02-09 11:01:35 -08:00