Commit Graph

5415 Commits

Author SHA1 Message Date
Anuraag Agrawal 78ef219f74
Remove queued_retry from repo (#2095) 2021-01-22 14:06:07 +09:00
Trask Stalnaker de8f885042
Add new approver @pavolloffay (#2083) 2021-01-20 17:29:37 -08:00
John Watson 4c1144ce78
Distinguish between the various servlet tracers for easier debugging. (#1979)
* Distinguish between the various servlet tracers for easier debugging.

* change to use the `common` suffix for that module

* Update instrumentation/servlet/servlet-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/v2_2/Servlet2HttpServerTracer.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Update instrumentation/servlet/servlet-3.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/v3_0/Servlet3HttpServerTracer.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Update instrumentation/servlet/servlet-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/dispatcher/RequestDispatcherTracer.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Update instrumentation/servlet/servlet-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/http/HttpServletResponseTracer.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-01-20 16:33:13 +02:00
dependabot[bot] e44a3ac7f2
Bump nick-invision/retry from v2.2.0 to v2.4.0 (#1982)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from v2.2.0 to v2.4.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.2.0...7c68161adf97a48beb850a595b8784ec57a98cbb)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 16:32:47 +02:00
Vladimir Šor a2cde4132d
Smoke tests declare shadowJar as an input to be rebuilt (#2085)
* Smoke tests declare shadowJar as an input to be rebuilt. Fix some gradle deprecation warnings.

* Try files as inputs.
2021-01-20 16:30:45 +02:00
Jakub Wach d609aa0647
fixing camel latest deps test failure (#2084) 2021-01-20 14:02:43 +02:00
Lauri Tulmin 9825ab0afa
Instrument jsf action calls (#2018) 2021-01-19 21:34:41 -08:00
Anuraag Agrawal c6cc263c6e
Use SDK Autoconfigure module (#2077)
* Use sdk autoconfigure

* Finish

* Finish

* Group exporters

* Update smoke-tests/src/test/groovy/io/opentelemetry/smoketest/SpringBootWithSamplingSmokeTest.groovy

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-20 14:31:49 +09:00
Jakub Wach 422e1eb6f4
adding AWS SQS tests to Apache Camel instrumentation (#2061)
* adding AWS SQS tests to Apache Camel instrumentation

* code review changes

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

* code review changes

* code review changes

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* code review - switched to localstack

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-01-20 10:30:45 +09:00
jason plumb 9336bf0ecb
updates the examples to use latest otel (#2081) 2021-01-19 10:13:43 -08:00
Lauri Tulmin cdfe8e0afb
Fix integration with jersey-client 2.30 (#2071)
* Fix integration with jetty-client 2.30

* make class final and add private constructor

* Update instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/javaagent/jaxrs-client-2.0-common-javaagent.gradle

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-19 14:02:18 +02:00
Anuraag Agrawal 97b8712e3b
Remove jaeger-thrift from agent distribution (#2073)
* Remove jaeger-thrift from agent distribution

* Update test
2021-01-19 16:08:01 +09:00
Lauri Tulmin 7c3b183294
Move netty4.1 exception handling to an other method (#2070) 2021-01-18 22:14:49 -08:00
Mateusz Rzeszutek 660f0e5225
Remove testing-common dependency on guava (#2062)
* Remove testing-common dependency on guava

* Use nano time

* Add guava dep to opentelemetry-api-metrics
2021-01-19 12:07:27 +09:00
Anuraag Agrawal 999f3112a4
Disable shadowPublish for instrumentation projects (#2068) 2021-01-18 15:29:25 +09:00
Anuraag Agrawal afdde0355b
Update to OTel 0.14.1 (#2059)
* Update SDK dependency to 0.14.1

* WIP

* Finish

* Cleanup
2021-01-18 13:02:04 +09:00
Jakub Wach c16967db7d
fixing Apache Camel instrumentation propagation order (#2052) 2021-01-15 15:03:53 +09:00
Anuraag Agrawal 72a4b9a891
Remove setGlobalPropagators calls from lambda tests. (#2057) 2021-01-15 14:50:31 +09:00
Anuraag Agrawal cfbfc5623d
Explicitly use AwsXRayPropagator in lambda sqs instrumentation. (#2056) 2021-01-15 14:38:23 +09:00
John Watson e6d9840726
tweak the output of the logging exporter: (#2054)
* one span per line
* delineate the span name from the rest of the data
2021-01-15 13:00:26 +09:00
jason plumb 7957293038
update auto-service from rc3 to rc7 (a 3 year difference!) (#2053) 2021-01-15 08:52:49 +09:00
Lauri Tulmin 2a4e07dce1
Netty: add exception to span (#2027) 2021-01-14 09:36:14 -08:00
Mateusz Rzeszutek 99bcf7dcf2
Instrument spring-batch: partitioning (#2034) 2021-01-14 09:33:59 -08:00
Pavol Loffay 8addc67eba
Make global ignore matchers configurable (#2035) 2021-01-14 09:33:21 -08:00
Lauri Tulmin 11ad12289b
Jetty server span handling (#2029) 2021-01-14 09:31:57 -08:00
Jakub Wach b8ef938b84
camel instrumentation to set client context property (#2042) 2021-01-14 16:00:50 +01:00
Pavol Loffay 1070996653
Make factory method for netty 4.0 attribute keys public (#1995)
* Make factory method for netty 4.0 attribute keys public

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Add comment

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2021-01-14 11:44:51 +01:00
Anuraag Agrawal 47a4061078
Update smoke tests to SDK 0.14.1 (#2043) 2021-01-13 22:22:30 -08:00
Mateusz Rzeszutek 822e18675d
Make the agent log its version anymore when starting (#2026)
* Make the agent not log its version anymore when starting

* Version logger smoke test

* Version logger smoke test
2021-01-14 14:06:36 +09:00
Anuraag Agrawal 3dc615eeca
Add a checklist of agent BCI features (#2033)
* Add a checklist of agent BCI features

* Disable / enable

* Apply suggestions from code review

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-14 10:10:49 +09:00
jason plumb 0bf6904a07
Don't override preconfigured propagators. (#2004)
* don't override preconfigured propagators.

* add tests around duplicates, and deduplicate

* spotless life for clean living.

* move a few reused vars to fields.

* simplify list creation.
2021-01-14 10:08:56 +09:00
Amit Patel c7e96c2488
Updated jackson minor version to the latest (#2040) 2021-01-14 09:03:08 +09:00
Maxime Petazzoni 1e553ab97a
Clarify README.md instructions for manual instrumentation (#2007)
See discussion #1945 [1] for the background behind this change. The aim
is to make this repository's README easier to grok when trying to get
started instrumenting a Java application with OpenTelemetry.

[1] https://github.com/open-telemetry/opentelemetry-java-instrumentation/discussions/1945
2021-01-13 15:42:11 -08:00
Mateusz Rzeszutek 269378e929
Spring Batch instrumentation tests: decisions (#2024)
* Spring Batch instrumentation tests: decisions

* spotless
2021-01-13 16:17:15 +09:00
Sergei Malafeev f3334c3990
document how to enable only manual instrumentation (#2028)
* #1994 document how to enable only manual instrumentation

Signed-off-by: Sergei Malafeev <sergei@malafeev.org>

* Update docs/suppressing-instrumentation.md

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

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-13 12:59:47 +09:00
Lauri Tulmin 640a7d624b
Correct some spelling mistakes (#2025) 2021-01-12 11:10:45 -08:00
Lauri Tulmin c7e0a12145
Close request to avoid warnings in stderr (#2030) 2021-01-12 11:02:49 -08:00
Anuraag Agrawal 62bd2c03eb
Update Armeria instrumentation to match latest decorator order and re… (#2021)
* Update Armeria instrumentation to match latest decorator order and remove dedupe logic for now.

* git add

* Revert unused
2021-01-12 17:01:41 +09:00
Brian Ashby 2b73f9f3b6
add table for supported application servers (#2020) 2021-01-12 14:33:35 +09:00
Mateusz Rzeszutek 56dd13bfc1
Spring Batch instrumentation tests: splits (#2017) 2021-01-12 14:32:21 +09:00
Jakub Wach 179b2257f9
AWS lambda - configurable flush timeout (#1960) 2021-01-11 10:50:00 -08:00
Lauri Tulmin 4bf86bec74
Skip testing jetty QueuedThreadPool when dispatch method is missing (#2010) 2021-01-11 10:48:18 -08:00
Pavol Loffay 077d8b64f6
Move common matchers to tooling/bytebuddy/matcher and ignore matchers to tooling/matcher (#1965) 2021-01-10 12:35:53 -08:00
jason plumb cd1cfcc251
Update snapshot url in docs (#1999)
* update the url for the snapshot repo in docs

* Update CONTRIBUTING.md

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-09 10:39:27 +09:00
Anuraag Agrawal 3b88bb75ae
Use SemanticAttributes for DbSystem (#1991) 2021-01-07 18:59:56 -08:00
jason plumb f14c9b7723
Move QueuedThreadPool from executors to jetty (#1963) 2021-01-06 11:02:39 -08:00
Lauri Tulmin 5f816c5d43
Enable servlet forward and include tests (#1968) 2021-01-06 11:01:47 -08:00
Lauri Tulmin 589732bef6
Grizzly: add exception to span (#1987) 2021-01-06 11:00:20 -08:00
jason plumb 6c30888c61
Tests for ServletHttpServerTracer.getSpanName() (#1990) 2021-01-06 10:59:34 -08:00
Lauri Tulmin 2b97c42e01
Improve servlet22 response status handling (#1985)
* imporve servlet22 response status handling

* Update instrumentation/servlet/servlet-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/v2_2/Servlet2Advice.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-06 14:02:51 +09:00