Trask Stalnaker
bf9c160570
Rename javaagent modules ( #952 )
2020-08-12 22:50:14 -07:00
Trask Stalnaker
1816eb9cbe
Rename annotations module to external-annotations ( #951 )
2020-08-12 22:49:50 -07:00
Anuraag Agrawal
e9d456d616
Instrument DefaultSpan.create to return a bridged span. ( #947 )
2020-08-12 10:39:47 -07:00
Nikita Salnikov-Tarnovski
e26801482c
Add document describing current problem with context propagation ( #910 )
...
* Add document describing current problem with context propagation
* Update docs/contributing/inter-thread-context-propagation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update docs/contributing/inter-thread-context-propagation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* More clarifications
* More clarifications
* Better example
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 20:33:07 +03:00
Anuraag Agrawal
c4a494cd68
Add instrumentation for Armeria WebClient. ( #920 )
...
* Add instrumentation for Armeria WebClient.
* Format:
* httpurlconnection
* Docs and consistency:
2020-08-12 17:33:36 +09:00
Anuraag Agrawal
0eafc28608
Run tests using JUnit5 platform and remove SpockRunner ( #770 )
...
* Run tests with JUnit platform
* Matcher
* Restore
* Don't mix JUnit4 with JUunit5 in spring tests
* Separate out tests that need custom class loader.
* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?
* Remove SpockRunner
* Fix grizzly
* Remove assumeTrue workaround.
* Comments
2020-08-12 11:05:26 +09:00
Munir Abdinur
56e1549378
Add spring webflux documentation ( #916 )
...
* add readme and rename springwebflux package
* add readme and rename springwebflux package
* fix bean type
* fix readme
* format
* fix gradle
* fix gradle
* fix gradle
* updated package name
* clean up readme
* Update README.md
* Update instrumentation-core/spring/spring-webflux-5.0/README.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation-core/spring/spring-webflux-5.0/README.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* format, clean up comments
* clean ups
* Update README.md
* fix conflict
* fix helper class names
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 09:27:17 +09:00
Helen Y
5b114d0ac8
Change aws-sdk client decorators to tracers ( #918 )
2020-08-11 17:10:02 -07:00
Trask Stalnaker
275fab6ea5
Retry all tests ( #941 )
2020-08-11 00:20:47 -07:00
Trask Stalnaker
b5fbf90977
Extract instrumentation api module ( #884 )
2020-08-09 22:52:33 -07:00
Trask Stalnaker
2c786ab1a1
Fix WithSpan annotation instrumentation ( #929 )
2020-08-09 21:46:50 -07:00
Trask Stalnaker
51717d1e2f
Better info message ( #937 )
2020-08-10 07:31:58 +03:00
Trask Stalnaker
f9f6d1f6b3
Change library shading approach ( #930 )
2020-08-09 11:16:34 -07:00
Trask Stalnaker
0eda3dbd01
Avoid ClassCastException on direct SDK access ( #931 )
2020-08-09 11:16:04 -07:00
Anuraag Agrawal
e991cae7f0
Don't use non-fixed test name for akka executor ( #933 )
2020-08-09 11:00:10 -07:00
Trask Stalnaker
d85cce0f62
Remove annotation instrumentation vertx dependency ( #917 )
...
* Remove annotation instrumentation vertx dependency
* Remove annotation testing dependency
2020-08-08 20:36:27 -07:00
Nikita Salnikov-Tarnovski
3b68c82f90
Extract Akka context propagation into separate module ( #911 )
2020-08-07 20:24:26 -07:00
Helen Y
1fcb807590
Refactor HttpClient typed Decorators to Tracers ( #893 )
...
* initial work
* Change OkHttp decorators to tracers
* Change AkkaHttpClient decorator to tracer
* Change ClientDecorator to GrizzlyClientTracer
* Change NettyClientDecorator to Tracer
* Change netty3.8 client decorator to tracer
* Update netty4.1 client decorator to tracer
* Override startScope in child tracers when applicable
* Change KHttpDecorator to tracer
* Change HttpUrlConnectionDecorator to tracer
* Fix muzzle validation failure for grizzly client
* Fix a ratpack client test failure
* Address feedback
* Update delegate for setPeer
* Remove nested try
* Remove unnecessary null check
* Remove asserts
* Add a comment for overriding startSpan(String spanName)
* Remove an irrelevant comment
* Throw an exception when getSetter is null
* Change onPeerConnection to static
* Change getSetter() to be abstract
2020-08-06 17:14:19 -07:00
Nikita Salnikov-Tarnovski
46dfa263af
Remove HttpServerTestAdvice ( #897 )
...
* Remove HttpServerTestAdvice
* Trying to fix
2020-08-06 13:05:55 +03:00
Anuraag Agrawal
2ac65a67d5
Replace Spock retry with Gradle retry. ( #908 )
...
* Replace Spock retry with Gradle retry.
* Retry akka for real
* Warning
2020-08-06 17:59:40 +09:00
Trask Stalnaker
2b8cc4a5ae
Fix grizzly instrumentation ( #887 )
2020-08-03 22:57:51 -07:00
Trask Stalnaker
dce9d6db47
Remove ExceptionLogger refs from instrumentation ( #883 )
2020-08-03 19:04:27 -07:00
Trask Stalnaker
303d8f427f
Add response generic parameter to HttpServerTracer ( #870 )
2020-08-03 12:52:55 -07:00
Anuraag Agrawal
ad3963303d
Merge integration tests back into test. ( #871 )
2020-08-02 15:41:47 +09:00
Anuraag Agrawal
87bf97da70
Generate bootstrap jar with gradle instead of when running tests. ( #840 )
...
* Generate bootstrap jar with gradle instead of when running tests.
* kill all semicolons
* docs
* docs
* ByteCodeTest
* Use latestDepTest classpath for its bootstrap jar
* Rename package
* Reformat comment
* Bootstrap jar absolute path
* Save bootstrap jar to reports dir.
* Debug
* Debug
* Use project.getBuildDir
* Restore
* Revert
* testFieldInjection is instrumentation test too.
* Split out bytecode tests for testing-common
* Apply jacoco configuration to all tests.
* Add note that jacoco may be causing frustration.
* YOLO alert - Hope my guess at the reason is correct
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-02 10:17:52 +09:00
Trask Stalnaker
2af43dbf26
Rename trace.methods.exclude config ( #842 )
2020-07-31 12:30:08 -07:00
Trask Stalnaker
5dc2ca350a
Update config property prefix from ota to otel ( #841 )
...
* Update config property prefix from ota to otel
* more
* format
* more
2020-07-31 08:29:29 +03:00
Frank Spitulski
adab0efcd6
feat(tags): http ( #827 )
...
flavour, user agent, client ip
2020-07-29 23:57:12 -07:00
Trask Stalnaker
1c43615de7
Fix tests on newly released grpc version 1.31.0 ( #839 )
2020-07-29 23:22:04 -07:00
Helen Y
b659ee8223
Apply new database semantic attributes ( #823 )
2020-07-28 17:31:33 -07:00
Helen Y
44fcf8115b
Update database semantic conventions ( #785 )
2020-07-28 11:55:55 -07:00
Trask Stalnaker
d63db19167
Remove ratpack duplicate error capture ( #820 )
...
* Remove ratpack duplicate error capture
* Test exceptions again
2020-07-28 10:00:40 +03:00
Anuraag Agrawal
f6594e1a67
Use Span.recordException for logging throwable ( #813 )
...
* Use Span.recordException
* Fix tests
* Cleanup
* Update instrumentation/jsp-2.3/src/test/groovy/JSPInstrumentationBasicTests.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Spotless (IntelliJ acts weird with groovy files for me :()
* Update for merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-28 14:44:42 +09:00
Nikita Salnikov-Tarnovski
e9215c739f
Temporary workaround for https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/787 ( #814 )
2020-07-27 20:41:58 +03:00
Trask Stalnaker
6508ffc889
Remove logging instrumentation ( #803 )
2020-07-27 18:56:25 +03:00
Trask Stalnaker
3a24611d4a
Rename kubernetes module ( #804 )
2020-07-27 10:46:17 +03:00
Anuraag Agrawal
c3299fac30
Add instrumentation for Armeria (server) ( #756 )
...
* Add instrumentation for Armeria (server)
* Spotless
* Use end timestamp too and fix auto test by not using ClassRule
* Reduce number of less useful lambdas and add reference to useful lambda.
* Cleanup
* README
* Move package to v1_0
* No storage
2020-07-27 15:54:07 +09:00
Anuraag Agrawal
688733ad43
Update OTel snapshot to 723 for recordException ( #786 )
...
* Update OTel snapshot to 723 for recordException
* Fix various servlet issues
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-27 14:32:05 +09:00
Trask Stalnaker
d1015a41af
Simplify javaconcurrent instrumentation ( #792 )
...
* Remove unnecessary SpanWithScope
* Inline method
2020-07-26 11:30:14 +03:00
Nikita Salnikov-Tarnovski
62e68689f0
Use testcontainers in CI as well ( #780 )
...
* Use testcontainers in CI as well
* Use testcontainers in CI as well
2020-07-24 12:29:18 +03:00
Nikita Salnikov-Tarnovski
91fde9a915
Update server span ( #774 )
...
* Change name on SERVER spans
* Change name on SERVER spans
* Fixes
* Fixes
* Update instrumentation/spring-webmvc-3.1/src/main/java/io/opentelemetry/auto/instrumentation/springwebmvc/DispatcherServletInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-24 07:46:50 +03:00
Richard Startin
95492b7392
Handle null header values ( DataDog/dd-trace-java#1650 )
2020-07-23 13:34:12 -07:00
Lev Priima
ad1941528c
MDC ThreadLocal initValue should be modifiable for SLF4j's copy-on-write thread context map ( DataDog/dd-trace-java#1645 )
2020-07-23 13:34:12 -07:00
Helen Y
509a234ee3
Refactor net.peer.name and net.peer.ip ( #742 )
2020-07-22 20:29:12 -07:00
Anuraag Agrawal
5fa1efd38c
Target OTel SDK snapshot ( #746 )
2020-07-22 10:37:56 -07:00
Nikita Salnikov-Tarnovski
fcf4319aac
Faster tests ( #725 )
...
🎉
2020-07-22 10:10:34 -07:00
Frank Spitulski
d6e39f89e6
feat(servlet): content length ( #726 )
2020-07-21 20:24:32 -07:00
Trask Stalnaker
3cc735742f
Temporary fix for finatra latestDepTest failure ( #747 )
2020-07-22 11:14:08 +09:00
Anuraag Agrawal
f2f3624d17
Inject span context into log4j2 2.13.2+ context. ( #735 )
2020-07-21 18:49:13 -07:00
Helen Y
86c438b154
Remove final from local variables ( #732 )
...
* Remove final from local variables
2020-07-20 13:53:34 +09:00