Commit Graph

6222 Commits

Author SHA1 Message Date
Trask Stalnaker 9a3c657291
Add library instrumentation docs (#3176) 2021-06-03 14:14:37 -07:00
HaloFour 7ef31a0169
Inject ObjectProvider into BeanPostProcessors to avoid premature initialization of OpenTelemetry (#3171) 2021-06-03 14:14:17 -07:00
HaloFour 7c3c8883a8
End span with attribute on cancellation of Guava future (#3175) 2021-06-03 14:13:56 -07:00
Trask Stalnaker 935eeae544
Update folder structure (#3174)
* Update apache-dubbo-2.7 folder structure

* Update logback-1.0 folder structure
2021-06-02 23:46:52 -07:00
Mateusz Rzeszutek 5e4c5684e6
Moved jdbc-datasource instrumentation to Instrumenter API (#3160) 2021-06-02 23:45:11 -07:00
Anuraag Agrawal 0ad8c1b8ce
Manage Netty transitive dependencies (#3165)
* Manage transitive Netty versions.

* Finish

* .each to not apply resolutions to muzzle

* Exclude epoll from finatra muzzle
2021-06-03 13:12:32 +09:00
Anuraag Agrawal 860ff84768
Don't change snapshot version setting and use shared repository decla… (#3084)
* Don't change snapshot version setting and use shared repository declaration

* Override repositories declaration with full declaration

* MavenCentral to muzzle
2021-06-03 11:31:57 +09:00
HaloFour 1402d11592
End span on cancellation of subscription to reactive publishers (#3153)
* Stop span on cancellation of subscription to reactive publisher

* Add semantic attribute on cancelation of reactive publisher

* Change TracingOperator and TracingAssembly to accept configuration from Javaagent
2021-06-02 19:18:40 -07:00
Mateusz Rzeszutek e1762677da
Refactor HttpClientTest (#3159)
* Remove unused extraClientSpans() method
* Merge extraAttributes() and hasClientSpanHttpAttributes(uri) into
httpAttributes(uri): this will allow to choose extracted attributes
per URI (for example, OkHttp won't set flavor on connection exception
once it's rewritten to Instrumenter)
2021-06-03 10:54:01 +09:00
Anuraag Agrawal ef014e0a4b
Manage transitive commons- dependencies. (#3158) 2021-06-03 08:54:34 +09:00
Anuraag Agrawal 53cfd73bb3
Enable excluding muzzle dependencies and exclude netty-tcnative (#3169)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-06-02 09:42:56 -04:00
Ago Allikmaa 92c27e9e98
Concurrency tests for Reactor (#3154)
* Concurrency tests for Reactor

* Fix test variable naming
2021-06-02 14:29:05 +03:00
Anuraag Agrawal 698faac39d
Run gRPC tests with Netty instrumentation (#3166) 2021-06-02 18:40:12 +09:00
Trask Stalnaker be6816489a
Small cleanup (#3163)
* Small cleanup

* Ooops
2021-06-02 08:56:49 +03:00
Anuraag Agrawal 35727bcffe
Remove khttp instrumentation (#3087) 2021-06-01 20:39:51 +09:00
Anuraag Agrawal 5cbade4f42
Migrate GWT to Instrumenter API (#3146)
* Migrate GWT to Instrumenter API

* TODO

* instrumenter()
2021-06-01 20:12:21 +09:00
Anuraag Agrawal c3dedbb64e
Enable all errorprone checks (#3155)
* Enable all errorprone checks

* Fixes

* Finish

* Finish

* Add flag to disable error prone
2021-06-01 17:41:08 +09:00
Lauri Tulmin a746c94b1c
Single connection concurrency test on ratpack (#3151) 2021-06-01 08:55:40 +03:00
Trask Stalnaker 4ce2cac645
Sync yaml files (#3145) 2021-05-31 13:43:19 -07:00
Trask Stalnaker 5e8568807b
Update spring-webmvc to Instrumenter API (#3132)
* Update spring-webmvc to Instrumenter API

* Remove hasExceptionOnServerSpan from grails too
2021-05-31 08:57:51 -07:00
Lauri Tulmin d2906841bd
Fix flaky spring webflux tests (#3150) 2021-05-31 08:20:25 -07:00
dependabot[bot] c3c5c11acb
Bump gradle/wrapper-validation-action from 1.0.3 to 1.0.4 (#3149)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/v1.0.3...v1.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 07:59:11 -07:00
Trask Stalnaker 7d58dc7b25
Move logic to redisson request object (#3130) 2021-05-31 07:50:18 -07:00
Trask Stalnaker d986981d70
Update cassandra-4.0 to Instrumenter API (#3126)
* Update cassandra-4.0 to Instrumenter API

* Update cassandra-3.0 instrumentation to be consistent
2021-05-31 07:49:59 -07:00
Trask Stalnaker 7d46c336b0
Update lettuce-5.0 to Instrumenter API (#3125) 2021-05-31 07:49:25 -07:00
Trask Stalnaker 3c8874d536
Update jedis-3.0 to Instrumenter API (#3124) 2021-05-31 07:49:02 -07:00
Trask Stalnaker 9ba984ffb8
Consistent job ordering within yaml files (#3143) 2021-05-30 19:53:52 -07:00
Anuraag Agrawal f755b3f52c
Use AtomicLongUpdater for gRPC message ID (#3137) 2021-05-31 11:31:17 +09:00
Anuraag Agrawal c3ed9a381b
Add an optimized Attributes implementation for instrumenter (#3136) 2021-05-31 10:42:15 +09:00
Trask Stalnaker d3cfd9b8ef
Retry muzzle CI step (#3141) 2021-05-31 10:12:52 +09:00
Trask Stalnaker fb0d047fce
Last type instrumentations to top-level classes (#3123) 2021-05-30 16:05:31 -07:00
Trask Stalnaker 1a56ddb427
Simplify tomcat version detection (#3129) 2021-05-30 15:08:00 +09:00
Trask Stalnaker 41f092d0e2
Fix nightly build yaml (#3133) 2021-05-30 14:01:36 +09:00
Trask Stalnaker c1c052318b
Move more type instrumentations to top-level classes (#3118) 2021-05-28 17:24:19 -07:00
dengliming ca5b792f95
Update methods-javaagent to Instrumenter API (#3070)
* Update methods-javaagent to Instrumenter API

Signed-off-by: dengliming <liming.d.pro@gmail.com>

* introduce SpanNames

Signed-off-by: dengliming <liming.d.pro@gmail.com>

* Add test for SpanNames

Signed-off-by: dengliming <liming.d.pro@gmail.com>

* Fix merge

* Codenarc

* Remove unused dep

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 17:23:50 -07:00
Anuraag Agrawal b5f949afb2
Use testcontainers for ES rest tests and some other ES dependency cleanup (#3119) 2021-05-28 15:55:13 -07:00
Lauri Tulmin 32e28c1b1e
Propagate context to armeria callbacks (#3108) 2021-05-28 15:01:31 -07:00
Lauri Tulmin e16cf3001f
Add attributes to netty connection failure span (#3115) 2021-05-28 15:01:10 -07:00
Anuraag Agrawal ed88cca533
Migrate from spotbugs to errorprone (#3122)
* Migrate from spotbugs to errorprone

* Fix hashtable

* try-with-resources

* Fix from merge

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 14:23:40 -07:00
Lauri Tulmin 35d6bdb730
Hibernate query span naming (#3106)
* Hibernate query span naming

* remove commented out code

* modify query sanitizer to accept queries that start with from clause

* add sql sanitizer test for queries starting with from

* rename hibernate-4.3 to hibernate-procedure-call-4.3
2021-05-28 11:31:52 -07:00
Anuraag Agrawal 9a05c1a0fd
Use gradle-nullaway-plugin for nullaway. (#3117) 2021-05-28 14:25:49 +09:00
Anuraag Agrawal 796976a0f1
Workaround glassfish resolution error. (#3116) 2021-05-28 11:56:34 +09:00
Anuraag Agrawal c358a35414
Use dependency management pattern for dependency versions (#3113)
* Use dependency management pattern for dependency versions.

* Add groovy bom too

* Update dependencyManagement/dependencyManagement.gradle.kts

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 11:32:08 +09:00
Trask Stalnaker 98b566959a
Make TypeInstrumentations top-level classes (#3100) 2021-05-27 13:27:28 -07:00
Lauri Tulmin 6706dbfe53
Change smoketests to use testcontainers httpclient5 transport (#3112)
* Change smoketest to use testcontainers httpclient5 transport

* Update smoke-tests/src/test/resources/testcontainers.properties

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-27 12:40:52 -07:00
Ago Allikmaa 165bc1e492
Akka propagation fix and concurrency tests (#3099) 2021-05-27 09:43:09 -07:00
Lauri Tulmin 79e42ad665
Remove unused plugin (#3107) 2021-05-27 09:38:58 -07:00
Trask Stalnaker ceb0ce9b35
Publish snapshot on every merge to main (#3097) 2021-05-27 09:38:13 -07:00
Lauri Tulmin c49a0bb114
Limit latest dep version for glassfish test (#3109) 2021-05-27 21:31:45 +09:00
Lauri Tulmin 6d26321d75
Fix redisson latest dep test (#3110) 2021-05-27 21:29:57 +09:00