Commit Graph

6659 Commits

Author SHA1 Message Date
Nikita Salnikov-Tarnovski 1db3f657d1
Update ci.yml (#4111)
Require successful `muzzle` step before publishing snapshots
2021-09-13 14:30:32 +02:00
Nikita Salnikov-Tarnovski 17d9c6f414
Remove generated InstrumentationModule#getMuzzleReferences() method from the source code (#4087)
* Remove generated InstrumentationModule#getMuzzleReferences() method from the source code

* Fix errorprone

* Class-based cache for MethodHandle

* Consistent suppression.
2021-09-13 12:55:38 +02:00
Trask Stalnaker bf2512213e
Consistent naming for nightly builds (#4101) 2021-09-13 16:16:44 +09:00
Trask Stalnaker 62c604f2f5
Format java files in standalone projects (#4105) 2021-09-13 16:16:25 +09:00
Trask Stalnaker 2d79e6a6ef
Upgrade all gradle wrappers (#4107)
* Upgrade all gradle wrappers

* Add doc
2021-09-13 16:16:10 +09:00
Trask Stalnaker b48ced5da0
Fix test on windows (#4094) 2021-09-12 15:53:38 +02:00
Matthew Ho 6967484a97
Update groovy import order to match default IntelliJ (#1708) (#4047)
* Update groovy import order to match default IntelliJ (#1708)

* organized imports for .groovy files to follow default IntelliJ import settings

* updated intellij-setup.md

* Spotless

* drift

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-11 11:53:08 -07:00
Trask Stalnaker 34ddc6911d
Suppress strict scope check for reactor-netty (#4091) 2021-09-11 11:46:03 -07:00
Trask Stalnaker 6cc403cdf2
Add strict context stressor testing option (#4001) 2021-09-10 13:53:46 -07:00
Mateusz Rzeszutek 7424f33dfb
Allow adding multiple ContextStore fields to one key class, part 2 (#4084)
* Allow adding multiple ContextStore fields to one key class, part 2

* checkstyle
2021-09-10 13:50:26 -07:00
Trask Stalnaker 630a8a41b4
Update to InstrumentationContext javadoc (#4080) 2021-09-10 21:29:08 +03:00
Trask Stalnaker d5500d05fd
Add otlp http exporters (#4068) 2021-09-10 10:59:45 -07:00
Mateusz Rzeszutek 05d1a4a54f
Separate suppression strategies for CONSUMER receive/process spans (#4076)
* Separate suppression strategies for CONSUMER receive/process spans

* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/SpanKeyExtractor.java

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

* spotless

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-10 10:55:50 -07:00
Trask Stalnaker dee98a0a9d
Update google docs sources links (#4079) 2021-09-10 10:55:02 -07:00
Lauri Tulmin 4c64f70f94
JaxRS-client: remove our context when request is done (#4075)
* JaxRS-client: remove our context when request is done

* add comment
2021-09-09 14:24:18 -07:00
Sunny Srivastava 50a94bfb73
Better ClassLoader State and initialization-sequence diagrams (#4072)
* update Classloader state Diagram for darkmode

* update diagram for better view in darkmode

* update initialization-sequence diagram for darkmode
2021-09-09 11:46:24 -07:00
Mateusz Rzeszutek 99fe1c6642
Migrate Dubbo to Instrumenter API (#4059)
* Migrate Dubbo to Instrumenter API

* Break library dependency on javaagent-api

* Add a standard library instrumentation *Tracing & *TracingBuilder classes

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-09 11:31:57 -07:00
Lauri Tulmin 0c2aa5eae1
Remove outdated section from servlet instrumentation readme (#4074) 2021-09-09 08:07:33 -07:00
Mateusz Rzeszutek d6c8e3a1f2
Update supported libs list (#4077) 2021-09-09 08:07:04 -07:00
Mateusz Rzeszutek be2e0d137c
Allow adding multiple ContextStore fields to one key class, part 1 (#4067) 2021-09-09 08:06:06 -07:00
Trask Stalnaker c13eb7932e
Update collector port (#4071) 2021-09-08 18:18:05 -07:00
Lauri Tulmin a279b7d5be
Fix build (#4070) 2021-09-08 16:40:31 -07:00
Liudmila Molkova dc69d5fb56
Add documentation for suppression by type flag (#3990)
* Update suppressing-instrumentation.md

* lint

* better suppression strategy description
2021-09-08 15:05:12 -07:00
Nikita Salnikov-Tarnovski 3ae6b46930
Simpler test agent (#3974)
* Trying to simplify testing agent

* Simplified and verified it works

* spotless

* Code review comments

* spotless
2021-09-08 14:11:02 -07:00
Mateusz Rzeszutek e30b082259
Start a CONSUMER span for Kafka poll(); and refactor spring-kafka... (#4041)
* Start a separate CONSUMER receive span for each non-empty KafkaConsumer#poll() call

* One batch receive + one batch process span in spring-kafka

* Add CONSUMER receive spans to kafka-streams too

* codenarc

* code review comments
2021-09-08 13:12:58 -07:00
jack-berg 28e5cb5dd6
Transition twilio-6.6 module to instrumenter API (#4045)
* Convert twilio-6.6 module to instrumenter API

* Rename TwilioTracer to TwilioSingletons
2021-09-08 13:10:03 -07:00
Mateusz Rzeszutek 4820ec4855
Add error parameter to EndTimeExtractor and AttributesExtractor#onEnd() (#3988) 2021-09-08 07:58:13 -07:00
Trask Stalnaker 1ea73278d4
Fix extension shading (#4064) 2021-09-08 07:55:44 -07:00
Trask Stalnaker 2c044253e8
HttpURLConnection response code edge case (#4062) 2021-09-08 07:55:21 -07:00
Trask Stalnaker 400d99467a
Follow http.client_ip spec clarification (#4063) 2021-09-08 07:54:59 -07:00
jack-berg 1a994b9845
Transition kubernetes client 7.0 module to instrumenter API (#4036)
* Convert kubernetes-client-7.0 to Instrumenter API

* Respond to PR feedback
2021-09-07 15:17:42 -07:00
jack-berg 4e221d6e4c
Transition spring batch 3.0 module to Instrumenter API (#4029)
* Convert spring-batch-3.0 step execution instrumentation to Instrumenter API

* Convert spring-batch-3.0 job execution instrumentation to Instrumenter API

* Convert spring-batch-3.0 chunk execution instrumentation to Instrumenter API

* Convert spring-batch-3.0 item instrumentation to Instrumenter API

* Fix rebase issue.

* Respond to PR feedback.

* Respond to PR comments.
2021-09-07 15:13:55 -07:00
Mateusz Rzeszutek dca77b6ae3
Remove unused method (#4058) 2021-09-07 14:56:12 -07:00
jack-berg f89933b67c
Transition http-url-connection module to instrumenter API (#4044)
* Convert http-url-connection to instrumenter API

* Replace HttpUrlResponse with response status code Integer
2021-09-07 14:54:16 -07:00
Mateusz Rzeszutek 23fc4ce443
Fix memleak in the Netty ChannelPipeline instrumentation (#4053) 2021-09-07 14:16:08 -07:00
dependabot[bot] ce85fd963c
Bump technote-space/workflow-conclusion-action from 2.1.7 to 2.2 (#4054)
Bumps [technote-space/workflow-conclusion-action](https://github.com/technote-space/workflow-conclusion-action) from 2.1.7 to 2.2.
- [Release notes](https://github.com/technote-space/workflow-conclusion-action/releases)
- [Changelog](https://github.com/technote-space/workflow-conclusion-action/blob/main/.releasegarc)
- [Commits](https://github.com/technote-space/workflow-conclusion-action/compare/v2.1.7...v2.2)

---
updated-dependencies:
- dependency-name: technote-space/workflow-conclusion-action
  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-09-07 11:40:03 +09:00
Trask Stalnaker ec99db5e5b
Support empty values in config maps (#4037)
* Support empty values in config maps

* Rename method
2021-09-02 16:00:29 +09:00
Dimitar Manev d185377399
"./gradlew :instrumentation:google-http-client-1.19:muzzle" is failing (#4043)
I figured out there is missing string in between while running:
```
./gradlew help --task muzzle
...
    :instrumentation:google-http-client-1.19:javaagent:muzzle
     :instrumentation:grails-3.0:javaagent:muzzle
     :instrumentation:grizzly-2.0:javaagent:muzzle
     :instrumentation:grpc-1.6:javaagent:muzzle
...
```
2021-09-01 19:28:38 -07:00
jason plumb 78c4d981fc
Use a different action and be a bit more hands-on with result handling. (#4038) 2021-09-01 09:17:02 -07:00
Anuraag Agrawal 2565a4f7c5
Update to Gradle 7.2 (#4039) 2021-09-01 16:57:20 +09:00
Mateusz Rzeszutek 62eae30a60
Make Config behave exactly as SDK DefaultConfigProperties (#4035)
* Make Config behave exactly as SDK DefaultConfigProperties

* errorprone

* errorprone part 2

* errorprone part 3

* fix failing tests
2021-08-31 10:00:04 -07:00
Trask Stalnaker 6bf893bdc6
Fix patch release workflow to push changes (#4034) 2021-08-31 09:48:48 -07:00
Trask Stalnaker d52d5d6f8b
Bump smoke test timeout (#4033) 2021-08-31 09:48:25 -07:00
Anuraag Agrawal 10bce56cd6
Add instrumentation for Quartz 2.0 (#4017)
* Add instrumentation for Quartz 2.0

* Fix drift in comment

* Fix fix

* Comment

* Cleanup
2021-08-31 18:05:36 +09:00
Anuraag Agrawal 96f5708655
Fix parsing of unclean map values in Config. (#4032) 2021-08-31 14:57:55 +09:00
Trask Stalnaker 65335962de
Remove capturing lambda (optimization) (#4014)
* Remove capturing lambda

* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/servlet/ServerSpanNameSupplier.java

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

* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/servlet/ServerSpanNameTwoArgSupplier.java

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

* Update instrumentation/jsf/jsf-common/library/src/main/java/io/opentelemetry/instrumentation/jsf/JsfServerSpanNaming.java

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

* checkstyle

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-08-30 20:26:00 -07:00
Mateusz Rzeszutek 01ea967d67
Use kafka transactions to make spring-kafka tests more stable (#4024)
* Use kafka transactions to make spring-kafka tests more stable

* manual acks

* another approach: batch error handler that immediately recovers

* another try

* yet another try

* do nothing error handler

* spotless
2021-08-30 15:04:16 -07:00
Trask Stalnaker 0f9308b4fb
Optimize tomcat uri construction (#4008)
* Optimize tomcat uri construction

* Add TODO
2021-08-30 13:34:23 -07:00
Lauri Tulmin 38470bd2e6
Use unsafe to inject classes to boot loader (#4026) 2021-08-30 11:29:37 -07:00
Lauri Tulmin 9f56888727
Limit lates dep version for rxjava-3.0 (#4028) 2021-08-30 11:02:11 -07:00