Commit Graph

7031 Commits

Author SHA1 Message Date
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
Nikita Salnikov-Tarnovski c119fa1bf6
Remove more usages of checker's Nullable (#4410) 2021-10-18 17:32:25 +03:00
Nikita Salnikov-Tarnovski ae7d48cb07
Convert Mongo to Instrumenter (#4387)
* Convert Mongo to Instrumenter

* Apply suggestions from code review

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Update instrumentation/mongo/mongo-3.1/library/src/main/java/io/opentelemetry/instrumentation/mongo/v3_1/TracingCommandListener.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Simplify

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-10-18 10:22:00 +03:00
Martin ac91dc090a
Type annotation placement (#4406)
* switch annotation `org.checkerframework.checker.nullness.qual.Nullable` to `javax.annotation.Nullable`

* code format
2021-10-17 17:38:43 -07:00
Trask Stalnaker 7f44ebf2c3
Fix testLatestDeps (#4402)
* Fix testLatestDeps

* Fix play-2.6 testLatestDeps too
2021-10-16 13:36:34 -07:00
Mateusz Rzeszutek ac479d4b34
Migrate Netty 4.x client instrumentations (except CONNECT) to Instrum… (#4381)
* Migrate Netty 4.x client instrumentations (except CONNECT) to Instrumenter API

* Revert testReadTimeout changes
2021-10-15 17:06:02 -07:00
Trask Stalnaker 0652894a8b
Obfuscate virtual field accessors (#4385)
* Obfuscate virtual field accessors

* Update internal-reflection instrumentation

* Update test

* Remove outdated comment
2021-10-15 14:36:56 -07:00
jack-berg 5e14a5046b
Convert akka-http-10.0 to instrumenter api (#4359)
* Convert akka-http-10.0 to instrumenter api

* Add server and client metrics, add client PeerServiceAttributesExtractor

* Dont check for null request, use currentContext() instead of Context.current()

* Revert currentContext() to Context.current()

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Fix import

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-15 14:35:43 -07:00
Lauri Tulmin 745637cadd
AWS 1.11 strict context check (#4366) 2021-10-15 12:31:37 -07:00
Nikita Salnikov-Tarnovski 699a5adb00
Convert aws lambda integration to Instrumenter (#4362)
* Convert AwsLambdaMessageTracer to Instrumenter

* Convert AwsLambdaTracer to Instrumenter

* Rename class

* Polish

* Polish

* Move classes to internal package
2021-10-15 12:31:08 -07:00
Mateusz Rzeszutek 2904578875
Test HTTP headers capturing on Netty-based server frameworks (#4395)
* Test HTTP headers capturing on Netty-based server frameworks

* fix vertx circuit breaker tests

* fix play async tests
2021-10-15 12:30:24 -07:00
Lauri Tulmin 42dc837eaf
Run selenium tests with chrome (#4393) 2021-10-15 12:30:03 -07:00
Lauri Tulmin 0ba49ac850
Hide virtual field accessor interface methods from reflection (#4390) 2021-10-15 11:07:26 -07:00
Mateusz Rzeszutek 5e7b5380cd
Remove mentions of http.url attribute in server instrumentations (#4394) 2021-10-15 11:00:50 -07:00
Mateusz Rzeszutek b2bc41453b
Rename some *InstrumenterBuilder classes to *InstrumenterFactory (#4391) 2021-10-15 14:47:32 +03:00
Trask Stalnaker b0430f2b79
Minor doc update (#4383) 2021-10-14 19:27:32 -07:00
Liudmila Molkova dfb1529b73
Fix reactor context propagation in latest reactor (#4377)
* Fix build and minor issue

* codenarc

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-14 23:02:23 +03:00
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