Commit Graph

5347 Commits

Author SHA1 Message Date
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
Mateusz Rzeszutek 8bd1298329
Fix muzzle log level in tests (#1930) 2020-12-17 23:00:46 +02: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
Mateusz Rzeszutek 627a7ae6de
Instrument spring-batch: JSR-352 & Spring Batch XML tests (#1852) 2020-12-17 18:15:03 +09:00
Anuraag Agrawal 49fdaee2ee
Add document outlining safety mechanisms of java agent. (#1925)
* Add document outlining safety mechanisms of java agent.

* smoke tests

* Cleanup
2020-12-17 17:27:32 +09:00
Anuraag Agrawal 7f3d6c3321
Update smoke tests to 0.13.0-SNAPSHOT (#1923) 2020-12-17 15:42:50 +09:00
Mateusz Rzeszutek cd58ac816e
Muzzle should add SPI classes defined in helperResourceNames as references (#1918) 2020-12-16 21:54:04 -08:00
Nikita Salnikov-Tarnovski 516e323e88
Remove integration with CiMate (#1921) 2020-12-16 19:11:26 +02: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
Mateusz Rzeszutek f82e9107d6
Instrument spring-batch (#1843)
* Instrument spring-batch: job & step

* Instrument spring-batch: job & step - code review comments

* Instrument spring-batch: job & step - code review comments

* Instrument spring-batch: job & step - code review comments

* spotless

* Apply suggestions from code review

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

* Instrument spring-batch: job & step - code review comments

* spotless

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-12-16 13:27:23 +02:00
Trask Stalnaker 9e38f521f8
HTTP client instrumentation cleanup: http-url-connection (#1908)
* HttpClientTracer cleanup: http-url-connection

* Checkstyle

* Feedback
2020-12-16 07:52:16 +02:00
Trask Stalnaker 6dcc819f77
HTTP client instrumentation cleanup: google-http-client (#1910)
* HTTP client instrumentation cleanup: google-http-client

* Bring back comment

* Feedback
2020-12-16 07:49:00 +02:00
jason plumb 35005bd508
Update javadocs for generic types in HttpServerTracer (#1891) 2020-12-15 11:56:23 -08:00
Lauri Tulmin d8f7886903
Move setup from static initializer to setupSpec to ensure that property is set for both SpringWebfluxTest and SingleThreadedSpringWebfluxTest not only the one that runs first. (#1915) 2020-12-15 10:10:23 -08:00
Mateusz Rzeszutek a7cad4b36f
Propagate context in Spring SimpleAsyncTaskExecutor (#1897)
* Propagate context in Spring SimpleAsyncTaskExecutor

* Propagate context in Spring SimpleAsyncTaskExecutor: code review comments
2020-12-15 15:30:25 +01:00
Trask Stalnaker 49c2a36811
HTTP client instrumentation cleanup: aws-sdk (#1911) 2020-12-15 09:06:28 +02:00
Trask Stalnaker deda1af9c0
HTTP client instrumentation cleanup: netty (#1909) 2020-12-15 09:00:31 +02:00
Trask Stalnaker a20986c9d9
HttpClientTracer cleanup: apache-httpclient (#1907) 2020-12-15 08:53:09 +02:00
Trask Stalnaker 8235b345eb
Hide spring non-spec'd attributes behind flag (#1906)
* Hide spring non-spec'd attributes behind flag

* Spotless

* Don't cache configuration :(
2020-12-15 08:50:00 +02:00
Anuraag Agrawal d02318b5eb
Revert "Update README to mention jaeger-thrift exporter support. (#1882)" (#1913)
This reverts commit 4af2655fa2.
2020-12-15 15:35:04 +09: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
Trask Stalnaker b8b0257e33
Change kafka non-spec'd attributes (#1904)
* Change kafka non-spec'd attributes

* Move to existing config place

* Shorten name, and match api Config name
2020-12-15 08:11:48 +02:00
jason plumb 4af2655fa2
Update README to mention jaeger-thrift exporter support. (#1882) 2020-12-15 13:28:33 +09:00
Trask Stalnaker 84873ea687
Use more semantic attributes (#1905) 2020-12-15 12:45:38 +09:00
Trask Stalnaker e2264222ce
HTTP client instrumentation cleanup, part 0 (#1893) 2020-12-14 16:34:06 -08:00
jason plumb c800c0dc87
Document advice class name hard coding (#1881) 2020-12-14 13:14:57 -08:00
jason plumb 67371ecfc9
Fix import for @WithSpan in docs. (#1900) 2020-12-14 13:03:53 -08: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
Pavol Loffay 16bd639d31
Remove unused fetch JMX classloader (#1901)
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-12-14 13:01:51 -08:00
Trask Stalnaker 0200081007
Use new SemanticAttribute constants (#1896)
* Use new SemanticAttribute constants

* Spotless
2020-12-14 18:16:33 +09:00
Trask Stalnaker 8bcd5f1229
Simplify Apache HttpAsyncClient instrumentation (#1894)
* Simplify Apache HttpAsyncClient instrumentation

* Bump baseline version to 4.1

* Remove all the Intellij auto-formatting of README
2020-12-14 15:16:06 +09:00
Anuraag Agrawal c741eaa501
Shade trace propagators so they can be injected in instrumentation th… (#1892)
* Shade trace propagators so they can be injected in instrumentation that benefits from a hard-coded propagation format

* Runtime shade too
2020-12-14 07:52:21 +02:00
Trask Stalnaker 61825a2cb4
Hide non-spec span attributes behind flag (#1895) 2020-12-14 07:50:54 +02:00
Anuraag Agrawal af936759ed
Change link to snapshots to sonatype. (#1884) 2020-12-11 16:30:51 +09:00
Anuraag Agrawal ef5c1e4230
Add closeAndReleaseAutomatically to workflow (#1883) 2020-12-11 08:48:27 +02:00
Anuraag Agrawal 993c5808e2
Ignore Implementation-Version for runtime up-to-date checks like tests. (#1879) 2020-12-10 19:02:13 +09:00
Nikita Salnikov-Tarnovski c0f9daf0bb
Fix test for latest version of AWS SDK (#1878) 2020-12-10 10:36:42 +02:00
Anuraag Agrawal 1f25259f47
Manually inject AWS SDK helpers since they are refrenced from resource file, not code. (#1876) 2020-12-10 17:36:24 +09:00
Nikita Salnikov-Tarnovski 9556992cbc
Update vendor distro example to 0.12 (#1875) 2020-12-10 10:25:33 +02:00