Trask Stalnaker
81cb8e61db
More metrics ( #4541 )
2021-10-29 10:17:35 +03:00
Trask Stalnaker
472fb5024e
Remove roadmap to 1.0 ( #4542 )
2021-10-29 10:16:17 +03:00
Lauri Tulmin
2d0aa19179
Add missing java.util.logging.Logger methods to PatchLogger ( #4540 )
...
* Add missing java.util.logging.Logger methods to PatchLogger
* spotless
2021-10-28 17:59:21 -07:00
Lauri Tulmin
c109773f17
Test modular jdk ( #4501 )
...
* Test modular jdk
* review comment
2021-10-28 10:54:00 -07:00
Fabrizio Ferri-Benedetti
114a1b455c
Review "writing-instrumentation-module.md" ( #4507 )
...
* Review "writing-instrumentation-module.md"
A peer review of "writing-instrumentation-module" for language and style, as requested by @mateuszrzeszutek .
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
* Update docs/contributing/writing-instrumentation-module.md
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update writing-instrumentation-module.md
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update docs/contributing/writing-instrumentation-module.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Spotless
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-27 21:07:22 -07:00
Lauri Tulmin
e31439ee0d
Fix context propagation in tomcat thread pool ( #4521 )
2021-10-27 16:52:55 -07:00
Mateusz Rzeszutek
bdb3511362
Migrate vertx HTTP client to Instrumenter API ( #4510 )
...
* Migrate vertx HTTP client to Instrumenter API
* Fix vertx-reactive tests
* Code review comments
2021-10-27 16:39:10 -07:00
Trask Stalnaker
3e3024d2b9
Fix patch release build ( #4530 )
2021-10-27 13:09:27 -07:00
Nikita Salnikov-Tarnovski
41b5bf999a
Prevent NPE ( #4527 )
2021-10-27 12:54:18 -07:00
Mateusz Rzeszutek
270c4b4e12
Migrate Spring Webflux HTTP client instrumentation to Instrumenter API ( #4517 )
...
* Migrate Spring Webflux HTTP client instrumentation to Instrumenter API
* Update instrumentation/spring/spring-webflux-5.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/client/SpringWebfluxHttpAttributesExtractor.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-27 12:52:02 -07:00
Mateusz Rzeszutek
73ff98904e
Update prometheus to 0.12.0 ( #4515 )
2021-10-27 10:16:25 +02:00
Nikita Salnikov-Tarnovski
458ff3e4d7
Convert RabbitMQ to Instrumenter ( #4463 )
...
* Convert RabbitMQ to Instrumenter
* Polish
2021-10-26 18:14:19 -07:00
Mateusz Rzeszutek
e9ba87d6b3
Migrate Netty 3.8 CONNECT instrumentation to Instrumenter API ( #4492 )
...
* Migrate Netty 3.8 CONNECT instrumentation to Instrumenter API
* Move shouldStart()
2021-10-26 17:28:31 +02:00
Mateusz Rzeszutek
a4947bc3dc
Migrate Finatra instrumentation to Instrumenter API ( #4495 )
2021-10-26 16:50:50 +03:00
Nikita Salnikov-Tarnovski
6bbc10a4aa
Convert RocketMQ to Instrumenter ( #4457 )
...
* Convert RocketMqProducerTracer to Instrumenter
* Convert RocketMqConsumerTracer to Instrumenter
* Use semantic constants
* Renames
* Add shouldStart checks
* Replace unused parameter with Void
2021-10-26 16:48:39 +03:00
Lauri Tulmin
00643724d1
Increase wait timeout in lettuce tests ( #4506 )
2021-10-26 15:18:08 +03:00
Lauri Tulmin
41a143812e
On failure log the whole matcher ( #4500 )
2021-10-25 22:45:20 -07:00
Nikita Salnikov-Tarnovski
ad4f973da4
Don't use deprecated class in Grizzly instrumentation ( #4485 )
2021-10-25 20:51:39 -07:00
Lauri Tulmin
c35cc03fc3
Fix running hibernate tests from intellij ( #4498 )
2021-10-25 20:39:37 -07:00
Lauri Tulmin
3fbacb70fd
Don't include caffeine3 in instrumentation-api ( #4466 )
2021-10-25 20:37:44 -07:00
dependabot[bot]
2ed3f2a006
Bump nick-invision/retry from 2.5.0 to 2.5.1 ( #4502 )
...
Bumps [nick-invision/retry](https://github.com/nick-invision/retry ) from 2.5.0 to 2.5.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.5.0...v2.5.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-10-26 11:01:39 +09:00
Lauri Tulmin
44cec73cec
Fix flaky okhttp read timeout tests ( #4499 )
2021-10-25 13:45:21 -07:00
Nikita Salnikov-Tarnovski
e19d086d58
Migrate ResponseSendAdvice to Instrumenter ( #4488 )
...
* Migrate ResponseSendAdvice to Instrumenter
* Add shouldStart checks
2021-10-25 13:44:26 -07:00
Nikita Salnikov-Tarnovski
3d92cd2337
Add javadoc to ServletContextPath method ( #4484 )
...
* Add javadoc to ServletContextPath method
* Normalise span name and add test
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/servlet/ServletContextPathTest.java
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2021-10-25 13:44:02 -07:00
Mateusz Rzeszutek
25f6864602
Migrate reactor-netty CONNECT instrumentation to Instrumenter API ( #4493 )
2021-10-25 13:43:30 -07:00
Mateusz Rzeszutek
23b95901f5
Update and extend the writing-instrumentation.md doc ( #4443 )
...
* Update and extend the writing-instrumentation.md doc
* Apply suggestions from code review
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
* Reformat; added a tiny bit of explanation about the classloader separation thing
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* fix that 'testing strategy' part
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-25 13:21:50 -07:00
Nikita Salnikov-Tarnovski
8ea59f0846
Rename all InjectAdapters to Setters ( #4489 )
...
* Rename all InjectAdapters to Setters
* Errorprone fixes
* Make setter public
2021-10-25 12:36:59 -07:00
Mateusz Rzeszutek
413d7d1fa6
Migrate Netty 4.x CONNECT instrumentation to Instrumenter API ( #4461 )
2021-10-25 12:44:20 +02:00
Nikita Salnikov-Tarnovski
6a43c53707
Remove obsolete condition from JaxRS ClientHandlerInstrumentation ( #4486 )
2021-10-25 12:20:21 +03:00
Nikita Salnikov-Tarnovski
5908cd31ed
Move constant away from deprecated class ( #4487 )
2021-10-25 12:19:58 +03:00
Lauri Tulmin
cb0fa464c0
Fix awssdk2 latest dep tests ( #4472 )
2021-10-22 20:51:06 -07:00
Martin
d314d76fce
rename `newBuilder()` to `builder()` ( #4475 )
...
* rename `newBuilder()` to `builder()`
* rename `newBuilder()` to `builder()`
2021-10-22 20:50:43 -07:00
Lauri Tulmin
1dfd8654f6
Avoid logging servlet3 muzzle failure when running on servlet2 ( #4474 )
2021-10-22 22:57:53 +03:00
Lauri Tulmin
9b8ab5eeec
Migrate to spock 2 ( #4458 )
...
* Migrate to spock 2
* Fix smoke test suites
* address review comments
* review comment
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-22 08:40:58 -07:00
Lauri Tulmin
ef131acd6d
Enable http server concurrency test everywhere ( #4465 )
...
* Enable http server concurrency test everywhere
* remove testConcurrency method as test is now always enabled
* rebase
2021-10-22 08:39:30 -07:00
Nikita Salnikov-Tarnovski
e1e30eb502
Remove --stacktrace from gradle builds ( #4470 )
2021-10-22 08:38:54 -07:00
Anna Nosek
4b21d8c8c4
Add tests for Restlet Servlet extension ( #4428 )
...
* test servlet
* delete unused web.xml
2021-10-21 22:56:38 -07:00
Mateusz Rzeszutek
05a391459b
Stabilize HTTP headers capturing configuration property names ( #4459 )
...
* Stabilize HTTP headers capturing configuration property names
* code review comments
2021-10-21 21:56:20 -07:00
Trask Stalnaker
e9022da102
Remove unshaded javax.annotation classes from bootstrap class loader ( #4454 )
...
* Fix shading
* Revert "Fix shading"
This reverts commit 2aad3cfe21
.
* Make javax.annotations compileOnly
* Replace checker GuardedBy with otel api internal GuardedBy
* Fix build
* Fix errorprone failures
* Remove extra newline
* Move internal GuardedBy to instrumentation-api
* empty commit
* empty commit
2021-10-21 14:47:50 -07:00
Trask Stalnaker
1b37df7afd
Move common testing modules to match convention a bit better(?) ( #4451 )
...
* Rename jsf modules to match convention
* Couchbase too
* Mongo too
* Play WS too
* Log4j too
* Elasticsearch too
* JAX-RS too
* JAX-WS sort of
* Spotless
* empty commit
2021-10-21 12:41:28 -07:00
Osher Vaknin
7998c842db
Netty server instrumentation now captures http.scheme ( #4446 )
...
* Netty server instrumentation now captures http.scheme
* Fixed Spring Netty related tests
* Fixed Spring Netty related tests
2021-10-21 10:39:00 -07:00
Mateusz Rzeszutek
c490b2903b
Extract net attributes both on start and on end in netty HTTP client ( #4420 )
...
* Extract net attributes both on start and on end in netty HTTP client
* storing remote address in HttpRequestAndChannel
* Update instrumentation/netty/netty-4-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/netty/common/client/NettyNetClientAttributesExtractor.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-21 10:38:33 -07:00
Trask Stalnaker
b1d638fc35
Move jaxrs bootstrap module ( #4448 )
2021-10-20 15:02:06 -07:00
jason plumb
a50c13382f
Don't report 400 level as error for SERVER spans ( #4403 )
...
* don't report 400 level as error for server spans
* fix HttpServerTest base class
* fix JspInstrumentationForward test
* split HttpStatusConverter into client and server implementations, and create two HttpSpanStatusExtractor.create methods, one for server and one for client.
* rebase
* fix test
* spotless
* fix test
* remove unused
* use strongly typed attributes converters and rename to overloaded create()
* fix tests
* remove redundant assert
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-20 13:39:35 -07:00
Trask Stalnaker
5d7c0dd95b
Fix nightly no cache build ( #4449 )
2021-10-20 12:08:18 -07:00
Trask Stalnaker
35dd350625
Capture metric dimensions from end attributes also ( #4430 )
...
* Capture metric dimensions from end attributes also
* Fix test
* Update tests
2021-10-20 09:29:03 -07:00
Trask Stalnaker
923797d82c
Publish javaagent bootstrap modules ( #4438 )
2021-10-20 09:28:45 -07:00
Nikita Salnikov-Tarnovski
62cc2a77db
Use new smoke test images ( #4439 )
2021-10-20 13:25:36 +03:00
Nikita Salnikov-Tarnovski
6dd6592678
Unify images configuration for smoke test matrix build ( #4437 )
2021-10-20 09:56:04 +03:00
Nikita Salnikov-Tarnovski
2c7ff5e367
Base TomEE smoke test images on jdk ones ( #4425 )
2021-10-20 08:48:51 +03:00