Anuraag Agrawal
e9244e6398
Directly initialize OkHttp without using test util. ( #3304 )
...
* Directly initialize OkHttp without using test util.
* Consistent version with smoke test
2021-06-15 18:42:55 +09:00
Anuraag Agrawal
e399ffeffa
Migrate spotless, checkstyle, codenarc to convention plugin ( #3310 )
2021-06-15 16:58:44 +09:00
Trask Stalnaker
48a90b090c
Better support for wrapping premain ( #3302 )
...
* Better support for wrapping premain
* fix
* Fix test
* Sync comment from test
2021-06-15 09:27:10 +03:00
Trask Stalnaker
0a21abe15a
Remove glassfish-testing module ( #3301 )
2021-06-15 09:03:57 +03:00
Trask Stalnaker
c79b5c5f1d
Fix some raw types warnings ( #3300 )
...
* Fix some raw types warnings
* oops
2021-06-15 08:42:07 +03:00
Nikita Salnikov-Tarnovski
b9eac531ea
Embedded extension ( #3237 )
...
* Support for multiple extension jars by scanning the given folder
* Support to embed extension jar right inside agent jar
* Support for multiple embedded extensions
* Create temp folder for embedded extensions only if they found
* ExtensionClassLoader skips agent jar when scanning folder
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update examples/extension/build.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-14 16:24:25 -07:00
Anuraag Agrawal
224dc51e93
Migrate java.gradle to conventions plugin ( #3289 )
...
* Migrate java.gradle to convention plugin.
* Switch to java-conventions
* Remove old file
* Fix
* Fix merge
* Missing paragraph
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-15 08:10:39 +09:00
Trask Stalnaker
9f31a057b6
Refactor span names class ( #3281 )
...
* spanNameForMethod
* spanNameForClass
* Cache simple name using ClassValue
2021-06-14 11:56:40 -07:00
Mateusz Rzeszutek
1982065270
Deprecate SpanExporterFactory in favor of ConfigurableSpanExporterProvider ( #3299 )
2021-06-14 11:56:02 -07:00
Trask Stalnaker
62f1f49bcd
Intellij cleanup (Java and Groovy) ( #3285 )
...
* Intellij cleanup
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/code/CodeAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/db/DbAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/db/SqlAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/messaging/MessagingAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/spring/spring-web-3.1/library/src/test/java/io/opentelemetry/instrumentation/spring/httpclients/RestTemplateInterceptorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Use glassfish version that supports lambdas
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-06-14 10:23:01 -07:00
Nikita Salnikov-Tarnovski
fbb1a357c9
Publish shaded armeria ( #3297 )
...
* Publish shaded armeria
Fixes #3296
* Add group
2021-06-14 19:19:58 +03:00
Anuraag Agrawal
9a19c6fa67
Make guava compileonly ( #3290 )
...
* Make guava compileonly
* testImplementation
2021-06-14 23:05:53 +09:00
Trask Stalnaker
f1beb2397f
Intellij cleanup of markdown and yaml ( #3284 )
...
* Intellij cleanup of markdown and yaml
* Revert required yaml param
2021-06-14 13:13:01 +03:00
Trask Stalnaker
8be100637a
Fix ForkJoinPool sometimes not instrumented ( #3293 )
2021-06-14 13:01:33 +03:00
Anuraag Agrawal
7b0be0d603
Make kotlin stdlib dependency compileOnly ( #3291 )
2021-06-14 16:56:02 +09:00
Anuraag Agrawal
ceaa92ad36
Disable default resource providers in tests. ( #3288 )
2021-06-14 16:24:35 +09:00
Trask Stalnaker
ac9cd8d56a
Consistent github workflows extension ( #3278 )
...
* Consistent github workflows extension
* yaml -> yml
2021-06-14 10:10:26 +03:00
Trask Stalnaker
b8b2760b44
Sync style guide with otel-java repo ( #3265 )
2021-06-14 10:02:24 +03:00
Trask Stalnaker
e9a8beb231
Document final keyword usage in code style ( #3287 )
...
* Document final keyword usage in code style
* Update docs/contributing/style-guideline.md
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-06-14 15:36:41 +09:00
Trask Stalnaker
c483966a37
Move last advice class that can be nested ( #3279 )
2021-06-13 22:11:06 -07:00
Trask Stalnaker
b25ac0f1ad
Clean up old operation name terminology ( #3282 )
2021-06-13 22:10:36 -07:00
Anuraag Agrawal
b8cddc0dd8
Only include exporters in -all jar. ( #3286 )
...
* Only include exporters in -all jar.
* override exporter
* Newline
2021-06-14 13:49:22 +09:00
Trask Stalnaker
dc316609ee
Remove unnecessary final on params and local vars ( #3283 )
...
* Remove unnecessary final on params and local vars
* Fix gwt
* Keep final for non-initialized var
* Keep final for non-initialized var
* Keep final for non-initialized var
2021-06-14 07:13:11 +03:00
Trask Stalnaker
be983a9439
Rename testLatestDep job to match flag name ( #3277 )
2021-06-14 11:30:25 +09:00
Trask Stalnaker
4c80c62ce7
Add unused to remaining advice classes ( #3280 )
...
* Add unused to remaining advice classes
* Add newlines for visual separation
2021-06-14 11:12:02 +09:00
Trask Stalnaker
8d9edd4cec
Exclude jandex.idx from bootstrap class path ( #3273 )
2021-06-13 10:58:06 -07:00
Trask Stalnaker
ab174f4f9c
Remove javaagent-tooling test forking ( #3272 )
...
* Remove javaagent-tooling test forking
* Remove one more forking
2021-06-13 10:57:45 -07:00
Trask Stalnaker
e418ddd734
Remove jboss maven repo ( #3271 )
...
* Remove jboss maven repo
* Make tests run faster
2021-06-12 18:36:00 -07:00
Anuraag Agrawal
5f49dc0e4a
Extract agent shadow configuration to conventions script. ( #3256 )
...
* Extract agent shadow configuration to conventions script.
* Remove redundant plugin version declaration
* Resource loader doesn't load from buildSrc
* Comments about byte buddy version
* Fix ReferenceCollectorTest
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-12 16:45:26 -07:00
Anuraag Agrawal
c92fbcf624
Update to OTel SDK 1.3.0 ( #3253 )
2021-06-12 09:56:23 -07:00
Trask Stalnaker
80a7403763
Remove insecure trust manager from test ( #3268 )
2021-06-12 12:03:46 +03:00
Trask Stalnaker
bec9966e30
Fix failing test ( #3269 )
2021-06-12 11:37:04 +03:00
Anuraag Agrawal
e118c469be
Replace Guava cache with Caffeine in agent type pool. ( #3255 )
...
* Replace Guava cache with Caffeine in agent type pool.
* Not that many classloaders
* Remove unused
2021-06-12 15:56:45 +09:00
Trask Stalnaker
16be695c6c
Fix test latest deps ( #3266 )
2021-06-11 18:45:12 -07:00
Lauri Tulmin
06033ed3f2
Akka http: propagate context to callbacks ( #3263 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-11 17:17:11 -07:00
Lauri Tulmin
de7eaa0fe6
Enable https tests ( #3258 )
2021-06-11 17:16:34 -07:00
Trask Stalnaker
24aa31ebc3
Fix context leak in akka-http instrumentation (DataDog/dd-trace-java#2320) ( #3264 )
...
Co-authored-by: Björn Antonsson <bjorn.antonsson@datadoghq.com>
2021-06-11 18:48:12 -04:00
Lauri Tulmin
8a6ec1126f
Ratpack tests pass with strick context check ( #3259 )
2021-06-11 13:42:48 -07:00
Mateusz Rzeszutek
3b09d46950
Introduce IgnoredTypesConfigurer SPI to enable defining per-module ignores ( #3219 )
2021-06-11 12:41:57 -07:00
Trask Stalnaker
f7a24b0e4b
Update asynchttpclient-2.0 to Instrumenter API ( #3211 )
...
* Update asynchttpclient-2.0 to Instrumenter API
* Fix play-2.4 tests
2021-06-11 12:41:25 -07:00
Mateusz Rzeszutek
cc43cf326d
Internal instrumentations should always be enabled by default ( #3257 )
2021-06-11 12:16:14 -07:00
Anuraag Agrawal
84cc044ddf
Migrate remaining test client calls to Armeria and remove testing-com… ( #3250 )
2021-06-11 11:51:23 -07:00
Mateusz Rzeszutek
4c6cfb52ab
Test spring-integration instrumentation with spring-cloud-stream example ( #3241 )
2021-06-11 11:49:16 -07:00
Nikita Salnikov-Tarnovski
aa4f07db6e
Support for multiple extension jars by scanning the given folder ( #3226 )
2021-06-11 11:32:52 -07:00
Nikita Salnikov-Tarnovski
31d3f2f8de
Update ByteBuddy ( #3254 )
...
* Update ByteBuddy
* spotless
2021-06-11 21:12:38 +09:00
Anuraag Agrawal
6733b50a65
Update fake backend proto version to 1.3.0 ( #3252 )
2021-06-11 17:22:46 +09:00
Mateusz Rzeszutek
50b7a20b39
Fix spring-webflux latestDepTest ( #3251 )
2021-06-11 11:06:47 +03:00
dependabot[bot]
5fdba59c51
Bump nick-invision/retry from 2.4.0 to 2.4.1 ( #3249 )
...
Bumps [nick-invision/retry](https://github.com/nick-invision/retry ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/nick-invision/retry/releases )
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js )
- [Commits](https://github.com/nick-invision/retry/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: nick-invision/retry
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 10:26:13 +03:00
Anuraag Agrawal
d44cf56636
Remove leftover google.com references. ( #3243 )
2021-06-11 11:04:41 +09:00
Anuraag Agrawal
60aaff8972
Migrate HttpServerTest to Armeria ( #3240 )
...
* Migrate HttpServerTest to Armeria
* Update testing-common/src/main/groovy/io/opentelemetry/instrumentation/test/base/HttpServerTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-11 08:56:02 +09:00