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
Trask Stalnaker
7ae89fa3b9
Post 1.6.0 release updates ( #4108 )
2021-10-19 22:31:08 -07:00
Trask Stalnaker
9c19ecdda3
Fix nightly build ( #4434 )
2021-10-19 22:29:33 -07:00
Trask Stalnaker
f4194e9809
Fix examples build ( #4431 )
2021-10-19 16:49:44 -07:00
jason plumb
e1b4054e52
Update to latest version (from 1.0.0) ( #4361 )
...
Not sure how frequently we want to update the docs like this, but it seemed that quite some time had passed.
2021-10-19 15:24:11 -07:00
Lauri Tulmin
17a85bbc22
Use byte-buddy-dep instead of byte-buddy ( #4400 )
...
* Use byte-buddy-dep instead of byte-buddy
* print stacktrace on examples failure
* try to fix gradle plugins
* try to fix extension build
* try to fix extension build
* try to fix extension build
* try to fix extension build
* try removing mavenLocal
* add mavenLocal plugin repository
* publish gradle-plugins to mavenLocal for examples ci build
* Fix bytebuddy exclusion
2021-10-19 13:46:48 -07:00
Mateusz Rzeszutek
be55b2aac6
Update muzzle and InstrumentationModule docs after latest changes ( #4412 )
...
* Update muzzle and InstrumentationModule docs after latest changes
* additional comment
2021-10-19 13:44:15 -07:00
Mateusz Rzeszutek
2e97a4d3d5
Netty: preserve caught exception in the context instead of calling end() ( #4413 )
2021-10-19 13:40:11 -07:00
Mateusz Rzeszutek
13f28dca2a
Enable read timeout tests in OkHTTP instrumentation ( #4422 )
2021-10-19 13:38:36 -07:00
Nikita Salnikov-Tarnovski
538f2a7cd7
Build servlet 5 example app for java8 ( #4423 )
2021-10-19 13:38:20 -07:00
Nikita Salnikov-Tarnovski
6958896cb4
Base Jetty smoke test images on jdk ones ( #4424 )
...
* Base Jetty smoke test images on jdk ones
* Guessing on PowerShell syntax
2021-10-19 13:38:08 -07:00
Nikita Salnikov-Tarnovski
dee28c367c
Base Payara smoke test images on jdk ones ( #4426 )
2021-10-19 13:37:38 -07:00
Trask Stalnaker
dce8c91ee5
Fix release build yaml ( #4429 )
2021-10-19 12:44:37 -07:00
Trask Stalnaker
236061b8e9
Bump gradle-plugins version in examples ( #4427 )
2021-10-19 11:44:12 -07:00
Trask Stalnaker
54651f250e
Update change log for 1.7.0 ( #4416 )
...
* Update change log for 1.7.0
* Update CHANGELOG.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-10-19 10:57:13 -07:00
Trask Stalnaker
8739cdf73e
Capture response headers for HttpUrlConnection ( #4417 )
2021-10-19 10:18:19 -07:00
Martin
62c90512cd
switch annotation `org.checkerframework.checker.nullness.qual.Nullable` to `javax.annotation.Nullable` ( #4418 )
2021-10-19 10:59:18 +03:00
Nikita Salnikov-Tarnovski
25910d99d3
Base tomcat smoke test images on jdk ones ( #4414 )
2021-10-19 10:54:34 +03:00
Nikita Salnikov-Tarnovski
2f5a40dda7
Prepare gradle plugins for release ( #4419 )
2021-10-19 10:37:16 +03:00
Mateusz Rzeszutek
b6728de75f
Migrate Grizzly to Instrumenter API ( #4409 )
...
* Migrate Grizzly to Instrumenter API
* javax.annotation.Nullable
* Preserve the caught exception in the Context until end() is called
* rename to GrizzlyErrorHolder
2021-10-18 22:55:17 -07:00
Martin
6d9e3618d3
rename `newBuilder()` to `builder()` ( #4407 )
...
* rename `newBuilder()` to `builder()`
* code format
2021-10-18 10:00:49 -07:00
Mateusz Rzeszutek
22ea557c41
Migrate Ratpack javaagent instrumentation to Instrumenter API ( #4399 )
2021-10-18 10:00:40 -07:00
Mateusz Rzeszutek
888496413d
Migrate netty-3.8 client instrumentation (except CONNECT) to Instrume… ( #4396 )
...
* Migrate netty-3.8 client instrumentation (except CONNECT) to Instrumenter API
* spotless
2021-10-18 18:32:04 +02:00