Commit Graph

98 Commits

Author SHA1 Message Date
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
Anuraag Agrawal b72e4a9a53
Update smoke tests to released 0.13.1 (#1933) 2020-12-18 12:50:26 +09:00
Anuraag Agrawal f0a6c6d772
Update SDK dependency to 0.13.0-SNAPSHOT. (#1924)
* Update SDK dependency to 0.13.0-SNAPSHOT.

* Update smoke tests

* Fix formatting

* Spot
2020-12-17 18:20:59 +09:00
Anuraag Agrawal 7f3d6c3321
Update smoke tests to 0.13.0-SNAPSHOT (#1923) 2020-12-17 15:42:50 +09:00
Vladimir Šor 135ba344cb
Tomcat server handlers (#1902)
* Tomcat server handler with passing integration and smoke tests.

* Update server span name from the servlet integration instead of trying to mimic it from the server handler.

* Cleanup and more javadocs.

* Use Java8BytecodeBridge in advice code.

* Use Java8BytecodeBridge in advice code.

* Use earliest version for compilation and muzzling.

* Use consistent instrumentation name.

* Record throwables only if the context is managed by something else.

* Getting scope handling right. Moved server span renaming logic via AppServerBridge to the ServletHttpServerTracer.

* codenarc

* more PR comments addressed

* Pass Method to startServerSpan
2020-12-16 16:59:54 +02:00
Lauri Tulmin d00cbfcc5f
Add more testable servlets to some test app, update tomcat 10 and jetty 10 versions (#1899) 2020-12-15 08:15:55 +02:00
jason plumb 4c8b8a77fb
Add exporter factory for JaegerThriftSpanExporter (#1868)
* add exporter factory for JaegerThriftSpanExporter

* add smoke test
2020-12-14 13:02:51 -08:00
Lauri Tulmin f062ee4ce2
fix liberty docker images (#1853) 2020-12-09 10:59:04 +02:00
Nikita Salnikov-Tarnovski 6281583770
Fix smoke tests to use new images (#1845) 2020-12-07 16:21:22 +02:00
Nikita Salnikov-Tarnovski 04217319ad
Let smoke test use non-default servlet context (#1844) 2020-12-07 14:39:23 +02:00
Anuraag Agrawal 3b8827b8ab
Update to SDK 0.12.0 (#1830)
* Update to SDK 0.12.0

* Update error message to the current world.

* Bump referenced smoke test versions

* fixes

* dependency hell

* Suppress unused call

* Bump missed smoke tests

* Bump image, bump smoke tests gRPC version
2020-12-07 17:16:47 +09:00
Anuraag Agrawal b2f2c96904
Bump gRPC version in smoke test (#1838) 2020-12-07 11:34:46 +09:00
Nikita Salnikov-Tarnovski ef02da9090
Bootstrap prefix fix (#1833)
* Proper classloading test for WildFly and GlassFish

* Fix using BootstrapPackagePrefixesHolder

* Polish

* Format
2020-12-05 10:41:00 +02:00
Anuraag Agrawal 32cfc26cfc
Bump smoke tests to SDK 0.12.0 (#1832) 2020-12-04 22:02:27 +09:00
Trask Stalnaker 6154538d08
Fix matrix smoke test package name (#1827) 2020-12-03 17:24:57 -08:00
Nikita Salnikov-Tarnovski 54e3df3cd4
Add jsp to test matrix application (#1825)
* Add jsp to test matrix application

* Trying to fix sudden muzzle failure
2020-12-03 19:40:31 +02:00
Nikita Salnikov-Tarnovski 71f1a79100
Introduce test matrix (#1821)
* Introduce test matrix and proper WildFly test

* Restore test to old version until matrix is merged

* Add workflow to publish test matrix

* Satisfy checkstyle

* Polish

* Use docker build args instead of replacing tokens
2020-12-03 12:34:45 +02:00
Nikita Salnikov-Tarnovski 41fc96d1a6
Test span context propagation (#1808) 2020-12-02 13:56:44 +09:00
Mateusz Rzeszutek 3c1a09109f
Use sdk-extensions/resources in the agent (#1809)
* Use sdk-extensions/resources in the agent

* Add smoke test, fix dropwizard test
2020-12-01 16:03:51 -08:00
Nikita Salnikov-Tarnovski 483d477e67
Fix port used for self-call (#1807) 2020-11-30 16:21:39 +02:00
Anuraag Agrawal 3475cbd77d
Migrate test docker images to GHCR. (#1790) 2020-11-30 09:15:42 +02:00
Trask Stalnaker 61d0af0bd5
Format scala files (#1800) 2020-11-29 21:04:34 -08:00
Trask Stalnaker 41bd489a77
Format groovy files (#1793) 2020-11-28 21:22:14 -08:00
Nikita Salnikov-Tarnovski 2222905aa2
Preparation for e2e propagators test (#1781) 2020-11-27 21:57:21 +02:00
Anuraag Agrawal 7bfb6b6dbd
Update to SDK 0.11.0 (#1690) 2020-11-19 19:37:49 -08:00
Nikita Salnikov-Tarnovski 3c195f3273
Limit latest test version for Apache HttpClient 2.0 (#1676) 2020-11-18 14:57:58 +02:00
Anuraag Agrawal 53529d3028
Use released 0.10.0 in smoke test containers. (#1634) 2020-11-14 15:27:28 -08:00
Anuraag Agrawal 6c1dabf782
Tag smoke test images with date and run ID from workflow. (#1559)
* Tag smoke test images with sha from workflow.

* Pass tag as date from workflow

* Echo tag which is nice to see in logs

* Add run ID

* Remove seconds

* Missed files
2020-11-05 19:11:29 +09:00
Vladimir Šor caf102fe15
Tag docker images for smoke tests with date and time. (#1553) 2020-11-05 00:02:33 +09:00
Nikita Salnikov-Tarnovski 7b64184701
Smoke tests using Jaeger and Zipkin exporters (#1543) 2020-11-02 20:50:14 -08:00
Anuraag Agrawal c6eee70660
Update to latest snapshot. (#1524) 2020-10-29 18:54:09 -07:00
Anuraag Agrawal a2dccf2316
Update to latest SDK snapshot. (#1479) 2020-10-26 19:29:46 -07:00
Anuraag Agrawal f6ad05b8e3
Update to latest SDK snapshot (#1384)
* Update to latest SDK snapshot

* Use published snapshot

* Fixes

* Cleans

* spotless

* Most

* Clean

* Merge

* Temporarily remove context interop

* WIP

* Prepare for intercepting propagated span

* Bump SDK

* IDE updates

* Lots

* compileJava

* Done?

* bar

* Spot

* drugs

* Groovy--

* green for me

* Spot

* Remove grpc import

* Scrub
2020-10-25 15:14:32 +09:00
Nikita Salnikov-Tarnovski 7d77b2dc37
Prefer mavenCentral over jcenter (#1440)
* Prefer mavenCentral over jcenter

* Skip broken version for muzzle
2020-10-21 18:59:29 +03:00
Anuraag Agrawal a6e0e27ad4
Remove usage of Contexts from grpc instrumentation. (#1426)
* Fix grpc instrumentation cannot be applied due to muzzle error and add smoke test.

* Add workflow for building smoke test image

* Revert debug logging

* Java versions
2020-10-21 09:58:45 +09:00
Trask Stalnaker bc507ced12
Fix play span name (#1416) 2020-10-19 17:23:30 +03:00
Trask Stalnaker 1b51d4a6b1
Rename packages (#1367) 2020-10-11 13:54:35 -07:00
Nikita Salnikov-Tarnovski 79ab34b6ef
Single GHA job to mark PR OK/NOK (#1333)
* Single GHA job to mark PR OK/NOK

* Debug

* Debug

* Extract smoke test as a separate job

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Fix for greedy testcontainers
2020-10-07 15:03:34 +03:00
Ioannis Mavroukakis 9523f9ffe6
fix and/or ignore spotbugs errors (#1325) 2020-10-06 19:39:17 -07:00
Nikita Salnikov-Tarnovski a4fab1396b
Fix compatibility problem with Docker for Mac 2.4 (#1332)
* Fix compatibility problem with Docker for Mac 2.4

* Polish
2020-10-06 13:54:31 +03:00
Anuraag Agrawal dadaac9a8c
Use 2-line license header to match SDK repo (#1321)
* Use 2-line license header to match SDK repo

* Apply change
2020-10-05 14:29:56 +09:00
Trask Stalnaker 8954f222c0
Update to the latest opentelemetry-java 0.9.0-SNAPSHOT (#1266) 2020-09-26 20:44:28 -07:00
Pavol Loffay 91b177165c
Bump Java from 14 to 15 in CI (#1252)
* Bump Java from 14 to 15 in CI

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Review comments

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* adjust comment

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Bump jacoco to 0.8.6

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* maxJavaVersionForTests

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-24 15:27:33 +03:00
Nikita Salnikov-Tarnovski d59a0d3898
Run smoke tests only on java 11 (#1247) 2020-09-23 15:03:40 -07:00
Mateusz Rzeszutek f76fb756be
Add smoke test for Logback MDC instrumentation (#1227) 2020-09-22 10:37:36 +03:00
Mateusz Rzeszutek c45a8cd432
Add smoke test for Logback MDC instrumentation - Spring Boot app changes (#1228) 2020-09-21 17:51:23 +03:00
Anuraag Agrawal 5c86bcc20d
Update SDK dependency to released 0.8.0 (#1162)
* Update SDK dependency to released 0.8.0

* Update exporter

* Fix fake-backend proto reference
2020-09-03 17:09:51 +09:00
Anuraag Agrawal 83a5714a97
Use a fake OTLP backend for storing smoke tests traces instead of fil… (#1136)
* Use a fake OTLP backend for storing smoke tests traces instead of file exporter.

* Newlines

* Newlines

* Bins
2020-08-31 15:17:51 +09:00
Nikita Salnikov-Tarnovski e20cba57c2
Telemetry auto version (#1112)
* Provide telemetry.auto.version

* Report instrumentation library version

* Rename class

* Format
2020-08-27 23:16:17 +03:00