Commit Graph

2194 Commits

Author SHA1 Message Date
Trask Stalnaker 9564dbb23d
JDBC-specific sanitizer property (#6472) 2022-08-17 09:21:36 -07:00
Lauri Tulmin 4605be3241
Disable crashing tests on openj9 18 (#6481) 2022-08-17 09:21:18 -07:00
Mateusz Rzeszutek 5862ace233
Tweak naming of spring autoconfigure and starter modules (#6453) 2022-08-15 22:07:08 -07:00
Mateusz Rzeszutek 6cd79b2a94
Deprecate the 2-arg variant of HttpCommonAttributesGeter#statusCode() (#6466)
* Deprecate the 2-arg variant of HttpCommonAttributesGeter#statusCode()

* fix liberty
2022-08-12 17:11:11 -07:00
Trask Stalnaker faa99b2eeb
Update SDK to 1.17.0 (#6467)
* Update SDK to 1.17.0

* Fix

* Update licenses

* Spotless

* license
2022-08-12 17:10:46 -07:00
Lauri Tulmin b5f49636f2
Mongodb: avoid duplicate tracing (#6465) 2022-08-12 08:41:18 -07:00
Mateusz Rzeszutek 08f013f9d6
Update gradle to 7.5.1 (#6359)
* Update gradle to 7.5

* Bump to 7.5.1

* gradle 7.5.1 with jdk17

* spotless

* one more --add-opens

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-08-12 12:03:43 +02:00
Lauri Tulmin 07d7cfd551
Capture messaging header value as span attribute (#6454)
* Capture messaging header value as span attribute

* add comment
2022-08-11 17:28:04 -07:00
Lauri Tulmin fea157fc70
Grizzly: capture all matching request & response headers (#6463) 2022-08-11 09:24:48 -07:00
Lauri Tulmin cd8489f09a
Replace tracing kafka wrappers with jdk proxies (#6457) 2022-08-11 08:59:57 -07:00
Lauri Tulmin 60c4618a15
Correct pseudocode in comment (#6464) 2022-08-11 08:59:36 -07:00
Trask Stalnaker 3ed6fd9d46
Add liberty base version (#6456)
* Add liberty base version

* instrumentation name too
2022-08-10 22:31:06 +03:00
Trask Stalnaker 68a9f20eb3
Enable PrivateConstructorForUtilityClass errorprone check (#6427)
* PrivateConstructorForUtilityClass

* Advice

* More advice

* More

* More advice

* More

* Spotless

* Fix

* Fix

* Fix

* A better solution

* Revert

* More

* Fix

* Spotless

* Fix
2022-08-10 11:30:22 +03:00
Trask Stalnaker 643121ff41
Update instrumentation name (#6450) 2022-08-10 09:52:16 +02:00
mingchuno 1145b67021
Fix ktor-2.0 instrumentation name (#6452) 2022-08-09 19:37:34 -07:00
Trask Stalnaker f69d694a48
Reduce extendsClass type matching (#6446)
* Reduce extendsClass type matching

* Return type too
2022-08-09 22:12:45 +03:00
Mateusz Rzeszutek 0d1cc8ea0a
Set http.route in spring-autoconfigure webmvc instrumentation (#6414)
* Set http.route in spring-autoconfigure webmvc instrumentation

* Bump spring-webmvc library instrumentation version to 5.3

* nit: protected -> private

* Remove duplicated test (already covered by HttpSpanStatusExtractorTest)

* Move the README to the correct module

* fix link

* fix more links

* liiiiiiinks

* fix tests

* remove not needed weakref
2022-08-09 09:36:28 -07:00
Trask Stalnaker beabda6d96
Fix the build (#6445) 2022-08-08 17:39:06 -07:00
Trask Stalnaker 0804fef429
Support DataDirect and Tibco Jdbc URLs (#6420) 2022-08-08 17:13:27 -07:00
Trask Stalnaker 9fe3761731
Document upper version limits (#6436) 2022-08-08 10:08:40 -07:00
Trask Stalnaker 3c6c6c6b3f
Remove external maven repos (#6440)
* Remove external maven repos

* Fix
2022-08-08 10:08:27 -07:00
Trask Stalnaker c18dda76a1
Sync suppression keys (#6428) 2022-08-08 08:30:46 -07:00
Trask Stalnaker 5d6465fe0f
Simplify a couple of type matchers (#6438) 2022-08-08 08:30:11 -07:00
Trask Stalnaker 9366e3aedb
Muzzle review (#6437)
* Muzzle review

* Fix
2022-08-08 08:29:14 -07:00
Trask Stalnaker c3d0498030
Change akka-actor base version from 2.5 to 2.3 (#6439)
* Change akka-actor base version

* Updates

* spotless

Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-08-08 08:27:54 -07:00
Trask Stalnaker f46ca5dfe0
Fix test latest deps (#6429) 2022-08-06 09:02:16 +02:00
Mateusz Rzeszutek b2c90c79b5
Extract HTTP request & response content length from headers (#6415)
* Extract HTTP request & response content length from headers

* remove unused method

* fix camel tests

* fix google http client tests

* fix HttpUrlConnection tests

* fix k8s and jaxrs tests

* fix aws tests

* actually fix aws tests 🤞

* fix elasticsearch tests

* fix ratpack tests

* fix spring webflux tests

* fix vertx tests

* fix reactor netty tests
2022-08-05 10:55:47 -07:00
Mateusz Rzeszutek 6b1d415174
Update spotless version (#6421) 2022-08-05 09:19:37 -07:00
Trask Stalnaker 11a057594e
Fix db.system for SAP Hana and remove unnecessary code (#6401)
* Remove unnecessary code

* Remove unnecessary code

* Fix tests
2022-08-02 11:16:38 -07:00
Mateusz Rzeszutek faa367395f
Fix @WithSpan in spring autoconfigure (#6398) 2022-08-02 09:37:40 +02:00
Mateusz Rzeszutek 61aef2e413
Clean up spring-boot-autoconfigure exporter logic (#6374) 2022-08-02 09:35:19 +02:00
Trask Stalnaker c3c4fb7101
Finish annotation move (#6386)
* Update tests with new annotation

* more

* Fix build

* More
2022-08-01 09:19:58 -07:00
Trask Stalnaker 9e460e28ef
Fix build (#6389) 2022-07-31 10:50:42 +03:00
Mateusz Rzeszutek cf313eb361
Bump Spring Boot version for autoconfigure and starters (#6379) 2022-07-29 13:25:57 +02:00
Mateusz Rzeszutek 5a152cd289
Deprecate uncompressed content length HTTP attributes (#6383) 2022-07-29 06:17:38 +02:00
Mateusz Rzeszutek 54b8b6af89
Add Kafka instrumentation to the Spring Boot starter (#6371) 2022-07-28 12:44:53 +02:00
Mateusz Rzeszutek 561ce5e3cc
Support new @WithSpan annotation in spring-boot-autoconfigure (#6378) 2022-07-28 11:48:59 +02:00
Mateusz Rzeszutek 6a24080fe9
Add code attributes to several instrumentations (#6365)
* Add code attributes to several instrumentations

* fix servlet tests

* fix tests

* fix elasticsearch tests

* fix context bridge test

* fix rxjava tests

* fix spring webmvc tests
2022-07-27 09:37:01 +02:00
Mateusz Rzeszutek 8a3d283941
Move buffer pool metrics out of the experimental block (#6370) 2022-07-26 07:54:59 +02:00
Mateusz Rzeszutek 82b39b1012
Rename `newInstrumenter()` into `buildInstrumenter()` (#6363)
* Rename newInstrumenter() into buildInstrumenter()

* spotless
2022-07-25 12:02:46 -07:00
Sam Xie fcda760ad5
Add shouldStart() call to gRPC instrumentation (#6356) 2022-07-22 10:38:53 +02:00
Mateusz Rzeszutek 11e46f5694
Fix gRPC latestDepTest failures (#6357) 2022-07-22 01:31:44 +03:00
Lauri Tulmin 8be51b3dde
Fix spring kafka latest dep tests (#6339) 2022-07-19 08:04:08 -07:00
Mateusz Rzeszutek b917b3bf9c
Use ConfigProperties instead of Config in the agent code (#6322)
* Use ConfigProperties instead of Config in the agent code

* Fix merge conflict

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 19:04:48 -07:00
Mateusz Rzeszutek 5bc7abf178
Spring Kafka library instrumentation (#6283)
* Spring Kafka library instrumentation

* Merge and fix prior merge

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 14:38:44 -07:00
Mateusz Rzeszutek 257009f944
InstrumentationConfig part 5: library logging appenders (#6321)
* InstrumentationConfig part 5: library logging appenders

* Logback

* remove log4j hackery

* fix tests

* Remove unused

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-18 14:28:26 -07:00
Lauri Tulmin 96cac8184c
Fix dropwizard metrics latest deps test (#6329) 2022-07-16 10:12:40 -07:00
Mateusz Rzeszutek 8d1ba17d29
InstrumentationConfig part 4: DB sanitization (#6317)
* InstrumentationConfig part 4: DB sanitization

* fix couchbase unit tests

* code review comments

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-07-15 21:47:33 -07:00
Mateusz Rzeszutek 3af56e7d22
InstrumentationConfig part 3: HTTP headers and peer service mappings (#6302) 2022-07-15 14:52:52 -07:00
Mateusz Rzeszutek db1250d8c9
Add a dropwizard-metrics -> OTel metrics bridge (#6259)
* Add a dropwizard-metrics -> OTel metrics bridge

* disable by default

* enable metrics for test
2022-07-15 14:48:52 -07:00