YuDong Tang
c03c800bad
Solve the problem that module definitions are not in dictionary order ( #2576 )
2021-03-15 23:27:13 -07:00
Nikita Salnikov-Tarnovski
196d1b3ee7
Fix docker login on Windows ( #2573 )
...
* Fix docker login on Windows
* Add TODO
2021-03-15 17:12:03 +02:00
addname
5bd148ca9b
Update supported libraries doc for rocketmq ( #2575 )
2021-03-15 13:27:11 +02:00
Nikita Salnikov-Tarnovski
0a1ea92733
Build Windows images for smoke tests ( #2568 )
2021-03-15 09:38:06 +02:00
Mateusz Rzeszutek
f8dd8c8f56
Move RuntimeMetricsInstaller to correct package ( #2567 )
2021-03-12 09:49:25 -08:00
Mateusz Rzeszutek
670a9cde3f
Minor InstrumentationClassPredicate refactor (don't treat javaagent-t… ( #2536 )
...
* Minor InstrumentationClassPredicate refactor (don't treat javaagent-tooling as helper classes)
* Update javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/InstrumentationClassPredicate.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* fix tests
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-12 16:36:34 +01:00
Lauri Tulmin
ff3542eff8
Fix prematurely ending server span on undertow ( #2560 )
...
* Fix permaturely ending server span on undertow
* Trigger Build
* Add undertow to supported frameworks
* Review fixes
* Update instrumentation/undertow/javaagent/src/test/groovy/UndertowServerTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/undertow/javaagent/src/test/groovy/UndertowServerTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Review fixes
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-12 16:52:33 +02:00
jason plumb
182574a672
give `service.name` additional visibility within the resource def. ( #2563 )
2021-03-12 08:47:01 +02:00
Nikita Salnikov-Tarnovski
ae236a646c
Update Gradle to 6.8.3 ( #2561 )
2021-03-11 22:12:30 -08:00
Anuraag Agrawal
be423c23f7
Revert patch-release-build workflow to previous plugin temporarily.
2021-03-12 13:35:05 +09:00
Anuraag Agrawal
63ad9b2a35
Remove aws sdk v1 tests that rely too much on implementation detail of SDK without really testing anything. ( #2557 )
2021-03-11 11:47:12 -08:00
Anuraag Agrawal
4a4482c025
Use ClassValue instead of ClassLoader -> Class weakmap since it should be same thing. ( #2559 )
2021-03-11 11:38:32 -08:00
John Watson
5af8bef834
Update the agent-config docs. ( #2551 )
...
This provides more direct linking to the auto-instrumentation docs that people might need.
2021-03-11 11:25:37 -08:00
Jakub Wach
04b9b64e53
AWS SDK - S3 - SNS - SQS propagation tests ( #2549 )
...
* AWS SDK - S3 - SNS - SQS propagation tests
* code review
2021-03-11 13:46:33 +02:00
Anuraag Agrawal
27d3cc5e57
Update to OTel 1.0.1 ( #2558 )
2021-03-11 18:18:20 +09:00
Anuraag Agrawal
100a446e31
Use reflection to access json serializers. ( #2555 )
...
* Use reflection to access json serializers.
* git add
* Fix
2021-03-11 16:51:18 +09:00
addname
ee665548d9
Add instrumentation for rocketmq ( #2263 )
...
* add rocketmq support
* merge main
* modify tests
* modify tests
* modify tests
* modify style
* modify style
* modify style
* modify style
* modify tests
* modify tests
* modify tests
* modify tests
* Use hooks to register in the iavaagent instrumentation
* Use hooks to register in the iavaagent instrumentation
* Use hooks to register in the iavaagent instrumentation
* Use hooks to register in the iavaagent instrumentation
* Use hooks to register in the iavaagent instrumentation
* Use hooks to register in the iavaagent instrumentation
* Fix
* Revert "Use hooks to register in the iavaagent instrumentation"
This reverts commit 558acf76
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Update settings.gradle
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-03-11 09:28:58 +02:00
Shantanu Bhosale
8e5e453933
column mismatch changes ( #2542 )
2021-03-11 09:11:34 +02:00
Lauri Tulmin
14dcd14871
Add support for elasticsearch 7 rest client ( #2528 )
...
* Add support for elasticsearch 7 rest client
* remove commented out line
* Trigger Build
* exclude bad version from muzzle
* imrove muzzle checks
* Trigger Build
* Add comment
2021-03-11 09:03:24 +02:00
Mateusz Rzeszutek
97fa9932d4
Remove unnecessary libs from javaagent test classpath ( #2545 )
...
* Remove unnecessary libs from javaagent test classpath
All `javaagent` & `library` modules are now filtered out: for instance, `hibernate-3.3:javaagent` tests no longer have `hibernate-common:javaagent` on classpath (previously they had).
Honestly this is kind of hacky, but I don't know gradle enough to solve that "properly" - maybe it is possible to filter out all `implementation` libraries from the classpath?
* spotless
2021-03-11 15:56:24 +09:00
dependabot[bot]
999a78c9ee
Bump burrunan/gradle-cache-action from v1.9 to v1.10 ( #2553 )
...
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action ) from v1.9 to v1.10.
- [Release notes](https://github.com/burrunan/gradle-cache-action/releases )
- [Changelog](https://github.com/burrunan/gradle-cache-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/burrunan/gradle-cache-action/compare/v1.9...cbdf4342ff988d143aa7a5aeceedffafb8c74bcf )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 08:49:25 +02:00
dependabot[bot]
7273404128
Bump burrunan/gradle-cache-action from v1.8 to v1.9 ( #2541 )
...
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action ) from v1.8 to v1.9.
- [Release notes](https://github.com/burrunan/gradle-cache-action/releases )
- [Changelog](https://github.com/burrunan/gradle-cache-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/burrunan/gradle-cache-action/compare/v1.8...97d1da428b1d9b4f4a0de9aa268c72ce1fe9ca69 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 11:19:32 +09:00
Mateusz Rzeszutek
62c039372d
Add missing @Unroll to jax-rs 1 tests ( #2544 )
...
To avoid test failures like this one:
```
Execution failed for task ':instrumentation:jaxrs:jaxrs-1.0:javaagent:test'.
> Received a failure event for test with unknown id '23.11'. Registered test ids: '[:instrumentation:jaxrs:jaxrs-1.0:javaagent:test, 23.2, 23.1]'
```
2021-03-10 12:32:53 -08:00
Lauri Tulmin
569b7b5818
Fix grails latestDep test failure ( #2547 )
...
* Fix grails3 latestDep test failure
* not found uses sendError
2021-03-10 20:26:19 +02:00
Trask Stalnaker
f94fabe07f
Fix app failure under Eclipse OSGi ( #2521 )
...
* Fix app failure under Eclipse OSGi
* Feedback
* Alphabetical
2021-03-10 08:19:32 +02:00
Anuraag Agrawal
71d3f09c80
Extract library instrumentation for AWS SDK v1 ( #2525 )
...
* Extract library instrumentation for AWS SDK v1
* Drift
2021-03-10 12:36:12 +09:00
Anuraag Agrawal
cf6d9deb4e
Extract library instrumentation for lettuce 5.1 ( #2533 )
2021-03-10 10:03:53 +09:00
Amit Gud
9ea6fcd7b8
Update CONTRIBUTING.md ( #2426 )
2021-03-09 09:49:51 -08:00
Jakub Wach
e013c381f2
AWS SDK - S3 to SQS propagation test ( #2518 )
...
* AWS SDK - S3 to SQS propagation test
* code review changes - got rid of thread.sleep
2021-03-09 18:47:06 +02:00
Piotr Glazar
92d61b5844
Auto value ( #2494 )
...
* SqlStatementInfo as AutoValue
* RequestMeta as AutoValue
* DbInfo as AutoValue
* After merge compilation fix
* CouchbaseQuerySanitizer compilation fix
* JdbcConnectionUrlParserTest compilation fix
* Revert "RequestMeta as AutoValue"
This reverts commit 609b57ee48
.
2021-03-09 15:07:03 +02:00
Lauri Tulmin
1dd1bf2267
Exclude bad couchbase versions from muzzle ( #2534 )
2021-03-09 20:35:45 +09:00
dependabot[bot]
ee04ff72c3
Update burrunan/gradle-cache-action requirement to v1.8 ( #2532 )
...
Updates the requirements on [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action ) to permit the latest version.
- [Release notes](https://github.com/burrunan/gradle-cache-action/releases )
- [Changelog](https://github.com/burrunan/gradle-cache-action/blob/main/CHANGELOG.md )
- [Commits](a61b505b54
)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 08:57:53 +02:00
Lauri Tulmin
7013376030
Add support for Grails ( #2512 )
...
* Add support for Grails
* exclude bad version from muzzle
* Review fixes
* review fixes
* rebase
* Trigger Build
2021-03-09 08:56:33 +02:00
Anuraag Agrawal
0dde62b498
Load couchbase otel instrumentation for 3.1 ( #2524 )
...
* Load couchbase otel instrumentation for 3.1
* Drift
2021-03-09 09:44:28 +09:00
Mateusz Rzeszutek
3dff44874f
Fix RestTemplateInterceptor so that it calls endExceptionally() on exception ( #2516 )
2021-03-08 09:36:47 -08:00
Mateusz Rzeszutek
fe4d95a689
Refactor BaseTracer#onError() method (and unwrapThrowable()) ( #2513 )
...
* Refactor BaseTracer#onError() method (and unwrapThrowable())
Also remove the deprecated BaseTracer(Tracer) constructor.
* Update BaseTracer javadoc
* fix tests
* Code review comments
2021-03-08 15:08:26 +02:00
Anuraag Agrawal
2c03f2c526
Add support for muzzle to process AWS SDK v1 handler resource file. ( #2526 )
...
* Add support for muzzle to process AWS SDK v1 handler resource file.
* git add
2021-03-08 15:03:08 +02:00
Anuraag Agrawal
2adb1e080c
Use new version of publish / staging plugin which has merged the two projects. ( #2519 )
2021-03-08 20:18:28 +09:00
Anuraag Agrawal
eff96a2fb3
Use reflection to get request metadata instead of instrumentation. ( #2508 )
2021-03-08 15:20:38 +09:00
Anuraag Agrawal
682dd10a6e
Fix shading of caching artifact. ( #2523 )
2021-03-08 13:32:20 +09:00
Trask Stalnaker
e8ebf4b8a2
Update example distro to 1.0.0 ( #2507 )
2021-03-07 20:12:00 -08:00
Anuraag Agrawal
94872b1ced
Move DB helpers to instrumentation-api ( #2511 )
...
* Move DB helpers to instrumentation-api
* Fix gradle config
* Remove legacy
2021-03-08 12:32:36 +09:00
Trask Stalnaker
3d6da76962
Update doc for next release ( #2473 )
2021-03-07 12:17:13 -08:00
Lauri Tulmin
7df5579768
Add support for elasticsearch7 ( #2514 )
...
* Add support for elasticsearch7
* Fix formatting
2021-03-07 13:10:21 +02:00
Trask Stalnaker
5162c023bc
Updates to thread propagation debug property ( #2500 )
2021-03-05 11:02:36 -08:00
Anuraag Agrawal
96606711ac
Only set aws header attribute name once. ( #2509 )
2021-03-05 11:00:07 -08:00
Trask Stalnaker
3a206db032
Add VERSIONING doc ( #2490 )
2021-03-05 10:54:26 -08:00
Mateusz Rzeszutek
72ffb3b7c5
Make BaseTracer fields private ( #2492 )
...
* Make BaseTracer fields private
By making `tracer` private we're forcing all tracer implementation to use the `spanBuilder()` utility method and pass the parent context manually.
2021-03-05 10:54:00 -08:00
Anuraag Agrawal
7111cb793e
Fix GrpcTracing method return types to not expose private classes. ( #2510 )
...
* Fix GrpcTracing method return types to not expose private classes.
* javadoc too
2021-03-05 19:07:43 +09:00
Mateusz Rzeszutek
ce39c55c0f
Remove tracer name configuration from spring-boot-autoconfigure ( #2478 )
...
* Remove tracer name configuration from spring-boot-autoconfigure
* Use OpenTelemetry wherever it makes sense
* Refactor @WithSpan advice since it made no sense before
* Rename @EnableOpenTelemetryTracing to @EnableOpenTelemetry (it won't be just tracing in the future)
* And add a getOpenTelemetry() method to InstrumentationExtension & InstrumentationSpecification
* Update instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/aspects/WithSpanAspectTracer.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Code review comments
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-05 10:50:14 +01:00