Commit Graph

6561 Commits

Author SHA1 Message Date
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
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