Commit Graph

5395 Commits

Author SHA1 Message Date
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
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