Commit Graph

5485 Commits

Author SHA1 Message Date
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
Lauri Tulmin d409a48cb5
Avoid npe when cassandra test fails to start (#1984) 2021-01-06 13:41:56 +09:00
Lauri Tulmin 28c210ed39
Start each server version once for smoke tests (#1967)
* start each server version once for smoke tests

* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java

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

* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java

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

* Update smoke-tests/src/test/java/io/opentelemetry/smoketest/AppServerTestRunner.java

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

* review fixes

* review fix

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-06 12:10:38 +09:00
Trask Stalnaker b859485cd0
Fix flaky camel test (#1964) 2021-01-05 14:16:52 -08:00
Lauri Tulmin 1671951699
Fix jetty context leak (#1966) 2021-01-05 14:16:12 -08:00
Aman Brar d9dc07c154
Add CodeQL security scan (#1971) 2021-01-05 13:43:13 -08:00
Trask Stalnaker f70a46483f
Fix testLatestDeps on new module (#1981) 2021-01-05 12:27:59 -08:00
Vladimir Šor 92dbb410eb
Remove armeria notice from logback instrumentation library. (#1983) 2021-01-06 00:30:13 +09:00
Lauri Tulmin cc9c0f90ce
Close JarFile (#1970) 2021-01-04 18:26:34 -08:00
Trask Stalnaker b97135725c
Change gitter links to github discussions (#1977) 2021-01-05 08:58:06 +09:00
Anuraag Agrawal 8d74baa2e4
Run tests with javaagent. (#1643)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-04 13:13:24 -08:00
Lauri Tulmin 5b2e4ce1c7
Fix javadoc link (#1969) 2021-01-04 13:16:56 +09:00
Nikita Salnikov-Tarnovski 52cecb5209
Update to 0.13 (#1961) 2020-12-26 10:28:47 +02:00
Pavol Loffay fe77bea75c
Expose context in async apache HTTP client instrumentation (#1951) 2020-12-23 16:04:30 -08:00
Lauri Tulmin 79433966fb
Liberty server span handling (#1929)
* Liberty server span handling

* review fixes

* review fixes

* add doc about using compile stubs

* Update instrumentation/liberty/liberty/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/liberty/LibertyInstrumentationModule.java

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Update instrumentation/liberty/liberty/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/liberty/ThreadLocalContext.java

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* add links to advice classes

* add commnet, remove unneeded dependency

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-12-22 15:00:58 +02:00
Nikita Salnikov-Tarnovski 0888711574
Add support for Undertow server runtime (#1917)
* Add support for Undertow server runtime

* Polish

* Damn be classloaders

* Fix correct span name

* Polish
2020-12-22 14:13:50 +02:00
Lauri Tulmin 4ddc2d28f9
correct link in javadoc (#1956) 2020-12-22 14:12:43 +02:00
Bhautik Pipaliya a1945f27c0
end to end latency benchmark (#1935)
* end to end latency benchmark

* minor changes

* added final

* fix spotless check
2020-12-22 13:34:44 +09:00
Mateusz Rzeszutek 8baa897e8b
Spring Batch instrumentation tests: flows (#1944) 2020-12-21 12:46:55 +09:00
jason plumb 71dad57060
Enable Java 15 for akka http instrumentation (#1869) 2020-12-18 20:27:43 -08:00
Lauri Tulmin ad82c30ec2
Skip attempting to retransform our agent classes (#1919) 2020-12-18 12:29:53 -08:00
Mateusz Rzeszutek 5ef9158791
Instrument spring-batch: chunk (#1850) 2020-12-18 13:11:54 +02:00
Vladimir Šor f28e64b877
Include a link to failed build in the issue. (#1943) 2020-12-18 11:18:57 +02:00
Mateusz Rzeszutek b37f580c79
Add Spring Batch to README (#1928) 2020-12-18 17:48:49 +09:00
Anuraag Agrawal ca9b25d867
Revert "Revert "Update README to mention jaeger-thrift exporter support. (#1882)" (#1913)" (#1914)
This reverts commit d02318b5eb.
2020-12-18 17:46:23 +09:00
Pavol Loffay f69217e2a4
Add ComponentInstaller SPI and use it for OpenTelemetry SDK (#1848)
* Add component installer SPI

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

* Move more code to agent installer

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-12-18 08:55:24 +02:00
Anuraag Agrawal 785cb91286
Have bytebuddy task depend on resources. (#1940) 2020-12-18 15:23:18 +09:00
Anuraag Agrawal 76d1f07423
Update to released SDK 0.13.1 (#1936) 2020-12-18 14:12:30 +09:00
Mateusz Rzeszutek 8f095cbf31
Bridge Baggage (#1927)
* Bridge Baggage

* Apply suggestions from code review

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

* Update instrumentation/opentelemetry-api-1.0/javaagent/src/test/groovy/ContextBridgeTest.groovy

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>
2020-12-18 13:20:12 +09:00
Anuraag Agrawal 4da56b4746
Don't compare requested version to current version since we always want to override our default of Java 11 (#1934) 2020-12-18 13:17:50 +09:00
Anuraag Agrawal b72e4a9a53
Update smoke tests to released 0.13.1 (#1933) 2020-12-18 12:50:26 +09:00