Commit Graph

6593 Commits

Author SHA1 Message Date
Trask Stalnaker c13063b5ea
Use --no-daemon on windows builds (#4000) 2021-08-28 10:19:09 -07:00
Lauri Tulmin b61113fef6
JDBC: use ContextStore when running as agent (#3987)
* JDBC: use ContextStore when running as agent

* address review comments

* use singular
2021-08-27 14:14:40 -07:00
Trask Stalnaker 1b78c64e3c
Add missing library instrumentation to changelog (#3992) 2021-08-27 11:09:35 -07:00
Trask Stalnaker 473edf5149
Fix couchbase instrumentation publishing (#3978)
* Fix couchbase instrumentation publishing

* Use new gradle-plugins version
2021-08-27 09:48:35 -07:00
Trask Stalnaker d90d7c80f3
Use new HelperResourceBuilder (#3976)
* Use new HelperResourceBuilder

* Use latest to avoid merge conflict
2021-08-27 09:48:16 -07:00
Lauri Tulmin be95048e60
Help intellij find classes from armeria-shaded-for-testing (#3985) 2021-08-27 08:34:02 -07:00
Mateusz Rzeszutek 4567bc0c2f
Instrument spring-kafka batch message listeners (#3922)
* Instrument spring-kafka batch message listeners

* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/InstrumenterBuilder.java

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

* fix compilation failure

* Suppress nested CONSUMER spans

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-08-27 08:02:37 -07:00
Mateusz Rzeszutek 585cc55921
Add request param to EndTimeExtractor (#3947) 2021-08-27 14:34:47 +02:00
Mateusz Rzeszutek ab9c688e7a
Test nested CLIENT span suppression in library instrumentations (#3970) 2021-08-27 11:16:59 +02:00
Trask Stalnaker 79f4351e5c
Fix examples build again (#3983) 2021-08-26 23:57:26 -07:00
Trask Stalnaker a5f622a5a2
Fix windows smoke tests in patch release build (#3982)
* Fix windows smoke tests in patch release build

* Update docs
2021-08-26 23:52:20 -07:00
Trask Stalnaker 2b322cffcf
Bump gradle-plugins version (#3975)
* Bump gradle-plugins version

* Bump again for new release
2021-08-26 22:27:08 -07:00
Trask Stalnaker b7241cedd0
Support source sets output dirs in muzzle (#3980) 2021-08-26 22:09:59 -07:00
Trask Stalnaker f0c5699b4c
Cherry-pick before running patch release tests (#3979) 2021-08-26 21:54:17 -07:00
Trask Stalnaker f49879ddd9
Fix release yml files (#3977) 2021-08-26 20:56:15 -07:00
Trask Stalnaker fec5ed2290
Fix metrics cardinality (#3972)
* Fix metrics cardinality

* Add test
2021-08-27 10:45:19 +09:00
jason plumb b16331678b
remove local gh-pages dir after rsync (#3973) 2021-08-26 12:11:23 -07:00
jason plumb df14b934b9
Benchmark results to gh pages (#3969)
* use gh-pages for benchmark overhead storage.

* remove locally generated results files (whoops)

* won't be pushing to this dir, so this can be removed now.
2021-08-26 10:16:35 -07:00
Trask Stalnaker 38d5c39579
Remove invalid message header (#3958) 2021-08-26 08:53:21 -07:00
Lauri Tulmin 93a1e419e4
Fix flaky reactor netty test (#3966) 2021-08-26 08:52:39 -07:00
Lauri Tulmin 3fb936be15
AHC: fill user agent (#3930)
* AHC: fill user agent

* suppress unsused warning

* fix muzzle

* Update instrumentation/async-http-client/async-http-client-2.0/javaagent/build.gradle.kts

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

* verify response content length

* remove blank line

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-08-26 08:51:30 -07:00
Trask Stalnaker 06bdd12d41
Bump gradle-plugins version (#3954) 2021-08-26 08:50:28 -07:00
Trask Stalnaker dc2442ce75
Remove unnecessary parameter (#3955) 2021-08-25 21:51:12 -07:00
Lauri Tulmin b5aec6a2e0
Bridge span keys defined in instrumentation api (#3911) 2021-08-25 20:25:37 -07:00
Nikita Salnikov-Tarnovski 28db0c30cd
Deprecate old extensions (#3825)
* Introduce stable property for external extensions

* Update docs to use stable extension property.

Also log a warning if deprecated otel.javaagent.experimental.exporter.jar is used.

* Format

* Format

* Polish
2021-08-25 13:59:17 -07:00
Lauri Tulmin c0aad71650
Convert google-http-client-1.19 to instrumenter api (#3932)
* Convert google-http-client-1.19 to instrumenter api

* remove some nullable annotations

* remove nullable
2021-08-25 13:57:36 -07:00
Trask Stalnaker 6f22d90aa6
Option to suppress controller and view spans (#3865)
* Add option to suppress controller and view spans

* Apply to all existing Instrumenters

* Introduce ExperimentalConfig

* Singleton?

* No need for lazy
2021-08-25 13:43:38 -07:00
Trask Stalnaker eb1a28cdba
Prepare for new gradle-plugins release (#3933)
* Prepare for new gradle-plugins release

* Fix to a real version
2021-08-25 13:30:44 -07:00
Trask Stalnaker b66d74459e
Add building gradle-plugins to GHA workflows (#3951)
* Add building gradle-plugins to GHA workflows

* Fix nightly-no-cache

* Fix yaml

* Fix

* Add --no-build-cache for nightly-no-cache

* Sync
2021-08-25 13:09:43 -07:00
Trask Stalnaker 99de444ffc
Remove zipkin from otel collector smoke test config (#3953)
* Remove zipkin from otel collector smoke test config

* Smoke tests too
2021-08-25 12:17:23 -07:00
Mateusz Rzeszutek 21f178b7bd
Refactor kafka-clients to use Instrumenter API (#3883) 2021-08-25 10:47:39 -07:00
Mateusz Rzeszutek f808090a4a
Enable kubernetes-client strict context check (#3945) 2021-08-25 09:32:56 -07:00
Lauri Tulmin 629801d9ab
Convert play-ws to instrumenter api (#3944) 2021-08-25 09:31:50 -07:00
Lauri Tulmin 564f51c706
Hide our generated fields and methods from reflection (#3948) 2021-08-25 09:24:27 -07:00
Lauri Tulmin d1f987bcb5
Convert jaxrs-client-2.0 to instrumenter api (#3938) 2021-08-25 09:00:28 -07:00
jason plumb 378d0d5f68
[overhead ] README.md enhancements (#3939)
* fill out the readme for the benchmark overhead

* remove trailing hyphen

* Update benchmark-overhead/README.md

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

* Update benchmark-overhead/README.md

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

* add units

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-08-25 08:56:25 -07:00
Lauri Tulmin 3ab8111fe8
Convert jaxrs-client-1.1 to instrumenter api (#3934)
* Convert jaxrs-client-1.1 to instrumenter api

* spotless
2021-08-25 08:52:14 -07:00
Trask Stalnaker e38b80f0e1
Add muzzle to other builds (#3943) 2021-08-25 08:15:35 -07:00
Trask Stalnaker f2605f9acc
Capture OpenJ9 javacore files for troubleshooting (#3931) 2021-08-25 10:20:13 +02:00
Trask Stalnaker 20c72f3e98
Format kotlin gradle files (#3942)
* Add ktlint for kotlinGradle

* ktlint fails on wildcard imports

* Auto-format kotlin gradle files
2021-08-25 13:43:57 +09:00
jason plumb 68d26a2bba
add average and max cpu to results. (#3940) 2021-08-24 18:19:29 -07:00
Lauri Tulmin ec585c7717
Enable strict context check on grizzly (#3921)
* Enable strict context check on grizzly

* add comment

* move wait to base class
2021-08-24 11:46:30 -07:00
Lauri Tulmin a2928663f4
Strict context check for tomcat and jetty (#3923) 2021-08-24 11:45:53 -07:00
Mateusz Rzeszutek 6ba91989a7
Fix javaagent publishing (#3929)
* Fix javaagent publishing

* Take manifest attributes from the jar task too
2021-08-24 11:40:36 -07:00
Lauri Tulmin 1dae415ebc
Mark our generated classes and members as synthetic (#3928) 2021-08-24 09:53:22 -07:00
Lauri Tulmin a923efc077
Strict context check on okhttp3 (#3925) 2021-08-24 09:43:34 -07:00
Trask Stalnaker c9619c0626
Disable strict context check for elasticsearch 6 tests (#3917)
* Disable strict context check for elasticsearch 6 tests

* Mongo too
2021-08-23 22:46:04 -07:00
jason plumb e439c153c8
[overhead] - Add network average read/write to output (#3872)
* add average network read/write to the output results.

* guard against div/zero
2021-08-23 21:52:18 -07:00
John Watson fa168268c5
Revert okhttp library instrumentation back to using standard reflection to support Android usage (#3910)
* Revert back to using standard reflection to support Android usage

* Add a comment about not using MethodHandles
2021-08-23 18:58:43 -07:00
Trask Stalnaker 3525733ea8
Enable strict context check in tests by default (#3822) 2021-08-23 17:40:02 -07:00