Commit Graph

6552 Commits

Author SHA1 Message Date
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
Trask Stalnaker beae022c31
Limit rocketmq version for lib instrumentation too (#3915) 2021-08-23 17:01:08 -07:00
Lauri Tulmin 662e2e8ab5
Jedis 3.0: extract net attributes from InetSocketAddress (#3912) 2021-08-23 16:49:23 -07:00
Trask Stalnaker 1fe4bfb058
Update change log for pending 1.5.0 release (#3894)
* Update change log

* Markdown

* Rewording

* spotless

* Updates

* Fix markdown

* Update CHANGELOG.md

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-08-23 16:46:32 -07:00
Trask Stalnaker 184aa37c71
Versioned helper resources, part 3 (#3891) 2021-08-23 16:45:49 -07:00
Lauri Tulmin bc0ef7e0bd
Remove unused method argument (#3906) 2021-08-23 16:45:28 -07:00
Mateusz Rzeszutek 5c71d28ed7
Remove deprecated Config methods (#3908) 2021-08-23 16:44:54 -07:00
Lauri Tulmin 82e264d909
Limit rocketmq latest dep test version (#3909) 2021-08-23 16:11:12 -07:00
jason plumb 566ec61728
[overhead] fix permissions issue with test results (#3888)
* run as root and provide a little more timeout room

* update test result data

* update test result data

* update test result data

Co-authored-by: breedx-splk <breedx-splk@users.noreply.github.com>
2021-08-23 19:56:25 +02:00
Trask Stalnaker 7f37514075
Remove warning about old memory leak from README (#3893) 2021-08-22 21:19:04 -07:00
Trask Stalnaker fa71cf9c8a
Fix sporadically failing smoke test (#3895)
* Fix failing smoke test

* Revert "Fix failing smoke test"

This reverts commit 0356ae308b.

* Apply Xmx
2021-08-23 11:27:16 +09:00
Trask Stalnaker 6ceeacd381
Fix examples build (#3899)
* Fix examples build

* Publish main repo artifacts locally

* Sync builds

* Fix init script?

* Fix publishing of agent-for-testing
2021-08-22 17:26:51 -07:00
Trask Stalnaker 052d00d059
Fix maven publishing of agent-for-testing module (#3892) 2021-08-22 09:56:19 -07:00
Trask Stalnaker 5ff7901efc
Versioned helper resources, part 2 (#3880)
* Versioned helper resources, part 2

* Remove accidentally added javadoc param

* Spotless

* Fix test
2021-08-20 13:52:04 -07:00
Lauri Tulmin c96af0d51a
Make empty agent bridged context equal root context (#3869)
* Make empty agent bridged context equal root context

* use ContextStorageWrappers

* Use method handle to call ContextStorage.root()

* add comment back

* Add missing imort for javadoc generation
2021-08-20 13:51:29 -07:00
jason plumb 0255e8e95f
Add NamingConventionTest (#3814)
* verify some behaviors of the NamingConvention class.

* document that system property hyphens and underscores don't actually normalize the same

* spotless
2021-08-20 13:50:53 -07:00
Lauri Tulmin 38c8f8940c
Move helper class to spring package so that loadClass can find it (#3718)
* Move helper class to spring package so that loadClass can find it

* spotless

* Add tests

* Add comments

* remove unneeded dependency

* comments
2021-08-20 12:31:25 -07:00
Lauri Tulmin 8d90462a28
AsyncHttpClient: extract net attributes from InetSocketAddress (#3882) 2021-08-20 09:34:15 -07:00
Mateusz Rzeszutek 8200319d2a
Rename Config get*Property() methods to get*() (#3881) 2021-08-20 09:32:41 -07:00
Mateusz Rzeszutek ca8a119e01
Don't pass configuration to SDK autoconfigure through system props (#3866)
* Don't pass configuration to SDK autoconfigure through system props

* suppress CanonicalDuration

* checkstyle
2021-08-19 16:56:12 -07:00
Trask Stalnaker 31f22eb4f7
Use valid Java identifiers for message keys (#3863) 2021-08-19 16:55:29 -07:00
Trask Stalnaker 36bdce2f5c
Support versioned instrumentation helper resources (#3864)
* Support versioned instrumentation helper resources

* Remove duplicated class

* Groovy

* Spotless

* Renames

* HelperResources -> HelperResourceBuilder
2021-08-19 12:17:09 -07:00
jason plumb 46d06f51f5
whoops, missed a colon. #justyamlstuff (#3879) 2021-08-19 11:43:40 -07:00
jason plumb b7577bb31e
Benchmark overhead: Accumulate and persist results (#3832)
* persist summary and csv back into the results directory

* run nightly and don't trigger CI

* leverage autocloseable

* sort once.

* use stringbuilder

* factor out writeheader method

* add comments for clarity
2021-08-19 09:47:36 -07:00
Mateusz Rzeszutek 6a3037df73
Support extraResources in WindowsTestContainerManager (#3868)
* Support extraResources in WindowsTestContainerManager

* Fix span name for liberty servlet test

* Use different server.xml path for linux and windows
2021-08-19 18:38:17 +02:00
Mateusz Rzeszutek 4bbd6b3427
Deprecate MetricExporterFactory (#3862) 2021-08-19 08:53:01 -07:00
Lauri Tulmin fbbd76ef95
Remove http client test workarounds that are not needed with 1.5 sdk (#3875)
* Remove workarounds from http client test that are not needed with 1.5 sdk

* Remove more workarounds
2021-08-19 08:50:25 -07:00
Lauri Tulmin 59c1e6d101
Fix elasticsearch latest dep test (#3876) 2021-08-19 15:34:54 +03:00
Lauri Tulmin 514553eac2
Context propagation to elasticsearch-transport callbacks (#3861) 2021-08-19 12:59:47 +03:00
Lauri Tulmin f05c3788e1
Context propagation to elasticsearch-rest callbacks (#3858)
* Context propagation to elasticsearch-rest callbacks

* remove unused import
2021-08-19 12:59:36 +03:00
Lauri Tulmin f89579a3ab
Convert okhttp-2.2 to instrumenter api (#3852)
* Convert okhttp-2.2 to instrumenter api

* Rephrase comment
2021-08-19 12:59:20 +03:00
Lauri Tulmin 7a705d861e
Move SpringRestTemplateTest (#3870) 2021-08-19 12:58:24 +03:00
Anuraag Agrawal 3f6727d6b7
Don't clobber user decorators in Armeria client instrumentation (#3873)
* Don't clobber user decorators in Armeria client instrumentation

* Spot
2021-08-19 18:55:58 +09:00
jason plumb 73b1560283
fix action after dir was renamed (#3871) 2021-08-19 09:23:37 +09:00
YuDong Tang 60424e0d38
record exception in dubbo inst (#3851)
* record exception in dubbo inst

* record exception in dubbo inst

* remove unused imports

* remove unused imports
2021-08-18 16:31:00 +02:00
Lauri Tulmin 667b87bac7
Support looking up a ContextStore from outside of Advice (#3827)
* Support looking up a ContextStore from outside of Advice

* Add exception message

* Move setting ContextStoreSupplier

* Improve comment
2021-08-18 10:36:04 +03:00
John Watson 6dbb64ec7a
Implement a Call.Factory for okhttp 3.x+ library instrumentation (#3812)
* Add a README for the okhttp library instrumentation.

* Create new instrumentation for okhttp3 4.x+

This exposes a `Call.Factory` which will properly handle internal context propagation when used with async callbacks.

* update the "4.x" instrumentation to support 3.x

* Get rid of the 4.x instrumentation, and just update the 3.x instrumentation to work

* updates from PR review

* replace old reflection with method handle usage

* Apply suggestions from code review

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-08-18 12:16:24 +09:00
Anuraag Agrawal d8eae4997d
Update to SDK 1.5.0 (#3847) 2021-08-17 08:43:11 -07:00
Lauri Tulmin 706bfa2376
Instrument ForkJoinTask.fork (#3849)
* Instrument ForkJoinTask.fork

* spotless
2021-08-17 10:02:57 +03:00
Lauri Tulmin 8c175d4fce
Propagate context to lettuce callbacks (#3839) 2021-08-17 10:02:23 +03:00
Lauri Tulmin c54d192a1a
Vertx: avoid doulbe wrapping exception handler (#3848) 2021-08-17 10:00:45 +03:00
Lauri Tulmin 430f1cb561
Add junit test timeotut (#3850) 2021-08-16 10:11:09 -07:00