Mateusz Rzeszutek
0825da7ae4
Migrate netty-3.8 server instrumentation to Instrumenter API ( #4368 )
2021-10-14 08:59:04 -07:00
Lauri Tulmin
abe26caeb7
Ratpack strict context check ( #4367 )
...
* Ratpack strict context check
* Add comment, remove logging
2021-10-14 08:58:43 -07:00
Lauri Tulmin
6952e87fc5
Also run strict context check retry for junit tests ( #4380 )
2021-10-14 08:57:30 -07:00
Anna Nosek
a5339894bb
Add Spring Extension tests to Restlet instrumentation ( #4344 )
...
* add spring tests
* rename AbstractSpringTest to AbstractSpringServerLibraryTest, remove unnecessary dependencies
2021-10-14 13:31:50 +02:00
Nikita Salnikov-Tarnovski
30ec7b4801
Convert HibernateTracer to Instrumenter ( #4369 )
2021-10-14 09:09:26 +03:00
Nikita Salnikov-Tarnovski
efddb72cef
Convert AttributesExtractor to interface ( #4363 )
2021-10-14 08:36:47 +03:00
Trask Stalnaker
ae008c6892
Fix issue creation on build failure ( #4376 )
2021-10-13 21:45:55 -07:00
Trask Stalnaker
7ff98128c6
Fix issue creation on build failure ( #4373 )
2021-10-13 16:03:14 -07:00
Trask Stalnaker
3bec44c0e3
Fix issue on build failure ( #4371 )
2021-10-13 15:22:57 -07:00
Trask Stalnaker
53a639bbba
Fix tomcat async spans ( #4339 )
...
* Add test
* Fix tomcat async spans
* Preserve existing test controller behavior
* Comments
2021-10-13 13:04:23 -07:00
Lauri Tulmin
25491d7d61
Mongo4 strict context check ( #4364 )
...
* Mongo4 strict context check
* Update instrumentation/mongo/mongo-4.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/mongo/v4_0/AsyncWorkManagerInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-13 13:03:59 -07:00
Lauri Tulmin
72d3c337ba
PlayWS strict context check ( #4365 )
...
* PlayWS strict context check
* add comment
2021-10-13 10:26:11 -07:00
Mateusz Rzeszutek
25bfb49b80
Migrate Netty 4.x server instrumentations to Instrumenter API ( #4342 )
...
* Migrate Netty 4.x server instrumentations to Instrumenter API
* fix vertx tests
* codenarc
* code review comments
* fix broken assertion
* Update instrumentation/netty/netty-4-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/netty/common/server/NettyServerInstrumenterFactory.java
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2021-10-13 15:32:24 +02:00
Trask Stalnaker
d781995d0a
Less surprising behavior ( #4349 )
...
* Less surprising behavior
2021-10-13 10:10:03 +03:00
Mateusz Rzeszutek
ff8696586d
Remove VirtualField#computeIfNull() method ( #4354 )
2021-10-12 11:37:35 -07:00
Liudmila Molkova
1dfae9fd02
Allow reactor instrumentation to pick up spans from reactor context ( #4159 )
...
* Allow reactor instrumentation to pick up spans from reactor context in addition to current tracing context
* And fix nested WithSpan with defer
* up
* Review comments
* move ReactorTracing to Operation and rename to ContextPropagationOperator
* fix build
* Add reactor-netty client test nested under WithSpan
* Add link to the issue in comments
* clean up
2021-10-12 11:02:57 -07:00
Lauri Tulmin
b06c1f9018
Collect more attributes from servlet instrumenter ( #4356 )
...
* Collect more attributes from servlet instrumenter
* spotless
2021-10-12 10:58:47 -07:00
Mateusz Rzeszutek
8d73403188
Back VirtualField with a volatile field ( #4355 )
2021-10-12 10:54:40 -07:00
Lauri Tulmin
57146b3ba7
Spymemcached: add shouldStart checks ( #4358 )
2021-10-12 10:41:34 -07:00
Nikita Salnikov-Tarnovski
3a90673c99
Convert AwsSdk2 to Instrumenter API ( #4341 )
...
* Convert AwsSdk2 to Instrumenter API
2021-10-12 15:58:00 +03:00
Nikita Salnikov-Tarnovski
55f987613a
Remove deprecated ServerSpanNaming.updateSource method ( #4327 )
...
* Remove deprecated ServerSpanNaming.updateSource method
2021-10-12 13:45:18 +03:00
Mateusz Rzeszutek
4031f9611a
Remove almost all VirtualField#computeIfNull() usages ( #4313 )
2021-10-11 23:16:01 -07:00
Mateusz Rzeszutek
51cf64bb3f
Add @UnstableApi annotation to the ExperimentalConfig class ( #4346 )
2021-10-11 12:50:11 -07:00
Mateusz Rzeszutek
c5182d3f94
Add utility toString() implementations to the opentelemetry-api bridge ( #4343 )
...
* Add utility toString() implementations to the opentelemetry-api bridge
* checkstyle
2021-10-11 10:55:23 -07:00
Anuraag Agrawal
f208ba72b7
Update to OTel 1.7 ( #4340 )
...
* Update to OTel 1.7
* Fix metrics tests
2021-10-11 19:52:50 +09:00
Trask Stalnaker
87038f2899
Fix call depth ( #4338 )
2021-10-11 10:42:20 +03:00
Trask Stalnaker
8f29dfc8f9
Add code attributes to quartz spans ( #4332 )
...
* Add code attributes to quartz spans
* Use constants!
2021-10-09 09:54:38 -07:00
Lauri Tulmin
344c74a02d
Disable strict context check for mongo4 tests ( #4336 )
...
* Disable strict context check for mongo4 tests
* spotless
2021-10-09 09:54:24 -07:00
Mateusz Rzeszutek
354699647a
Test captured HTTP headers - HTTP server tests, part 2 ( #4328 )
...
* Test captured HTTP headers - HTTP server tests, part 2
* Turn off captured HTTP headers testing for grizzly
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-08 13:05:35 -07:00
Lauri Tulmin
b371361bb9
Set server span name only when needed ( #4331 )
2021-10-08 13:05:20 -07:00
Mateusz Rzeszutek
2fbec93313
Document captured HTTP headers configuration options ( #4321 )
...
* Document captured HTTP headers configuration options
* Apply suggestions from code review
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
* Reformatting after applying comments
* Update docs/config/common.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-08 10:53:10 -07:00
Nikita Salnikov-Tarnovski
99f6bcde92
Convert AwsSdk1 to Instrumenter API ( #4315 )
...
* Convert AwsSdk1 to Instrumenter API
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Polish
* Polish and tests
* Polish
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-10-08 10:48:41 -07:00
Lauri Tulmin
478f936d54
Retry strict context check failures ( #4282 )
2021-10-08 10:47:52 -07:00
Jakub Wach
727214e1ab
AWS lambda - improvements in custom type handling in wrappers, SQS ev… ( #4254 )
...
* AWS lambda - improvements in custom type handling in wrappers, SQS even wrapper added
* post-review changes
* Update instrumentation/aws-lambda-1.0/library/src/main/java/io/opentelemetry/instrumentation/awslambda/v1_0/LambdaParameters.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/aws-lambda-1.0/library/src/main/java/io/opentelemetry/instrumentation/awslambda/v1_0/LambdaParameters.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* post-review changes
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-10-08 10:26:32 -07:00
Mateusz Rzeszutek
fb77651658
Restrict usage of arrays as VirtualField types and fix field naming ( #4323 )
...
* Restrict usage of arrays as VirtualField types and fix field naming
* disallow primitive type usage too
* A few more test cases and validations
2021-10-08 10:52:26 +02:00
dependabot[bot]
746631d212
Bump nick-invision/retry from 2.4.1 to 2.5.0 ( #4325 )
...
Bumps [nick-invision/retry](https://github.com/nick-invision/retry ) from 2.4.1 to 2.5.0.
- [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.1...v2.5.0 )
---
updated-dependencies:
- dependency-name: nick-invision/retry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 09:05:58 +02:00
Trask Stalnaker
63a2383905
Split NetAttributesExtractor into NetClientAttributesExtractor and NetServerAttributesExtractor ( #4287 )
...
* Net Extractors
* Either request or response but not both
* Fix merge conflicts
* Separate by OnStart/OnEnd
* PeerServiceAttributes
* Fix test
* Restructure to client/server
* Fix merge conflict in main
* more
* peer.service
* Feedback
* peer.service is only for clients
* Fix merge conflict
* rename
* Armeria
* peer.service is only for clients
* rename
* WIP
* Sync Dubbo with Armeria
* More Dubbo and Armeria
* gRPC
* Revert some Dubbo changes
* more peer.service
* Fix test
* Fix merge
* Fixes
2021-10-07 15:40:15 -07:00
Mateusz Rzeszutek
581a5e3980
Test captured HTTP headers - HTTP server tests, part 1 ( #4320 )
...
* Test captured HTTP headers - HTTP server tests, part 1
* Upgrade undertow in resteasy tests (Undertow 1.0 had a bug where it thrown NPE on getHeaders())
2021-10-07 13:41:48 -07:00
Mateusz Rzeszutek
fd872b0d8a
Fix table in manual instrumentation doc ( #4322 )
2021-10-07 13:33:40 -07:00
Nikita Salnikov-Tarnovski
9476f86920
Remove deprecated ServerSpanNaming.updateServerSpanName method ( #4318 )
2021-10-07 10:16:50 -07:00
Nikita Salnikov-Tarnovski
84b5ae6f30
Make all methods on PropagatedContext package protected ( #4316 )
2021-10-07 10:14:50 -07:00
Trask Stalnaker
435793a148
Fix merge conflict ( #4314 )
2021-10-06 15:33:58 -07:00
Nikita Salnikov-Tarnovski
a48bd9de3f
Move PeerServiceAttributesExtractor from javaagent api to instrumentation api ( #4235 )
...
* Move PeerServiceAttributesExtractor from javaagent api to instrumentation api
* spotless
2021-10-06 12:42:55 -07:00
Trask Stalnaker
02b8f0d6dc
Open issue on nightly benchmark job failure ( #4305 )
...
* Open issue on nightly benchmark job failure
* feedback
2021-10-06 11:52:20 -07:00
Nikita Salnikov-Tarnovski
0683371110
Add supported way to add additional helper classes to instrumentation without interfering with muzzle ( #4302 )
...
* Add supported way to add additional helper classes to instrumentation without interfering with muzzle
* Better javadoc
2021-10-06 09:52:54 -07:00
Mateusz Rzeszutek
fda4779127
Fix a bug in the field backed VirtualField implementation ( #4310 )
...
* Fix a bug in the field backed VirtualField implementation
* Multiple interface fields
2021-10-06 09:40:53 -07:00
Lauri Tulmin
b1493dfe8f
Remove rocketmq latest dep test restriction ( #4312 )
2021-10-06 09:34:00 -07:00
Lauri Tulmin
cc75cd351b
Remove restriction on vaadin latest dep tests ( #4311 )
2021-10-06 09:33:20 -07:00
Mateusz Rzeszutek
f80f4a9f63
Allow configuring captured HTTP headers in library instrumentations ( #4309 )
2021-10-06 13:32:39 +02:00
Mateusz Rzeszutek
d3dbe415a1
Move HttpHeadersConfig methods back to instrumentation-api ( #4298 )
...
* Move HttpHeadersConfig methods back to instrumentation-api
* remove unnecessary method
2021-10-06 10:51:45 +02:00