Anuraag Agrawal
49c20ef724
Migrate Ratpack HTTP Client tests to Java. ( #3768 )
...
* Migrate Ratpack HTTP Client tests to Java.
* Close harness
2021-08-05 11:49:34 +09:00
Nikita Salnikov-Tarnovski
40490a8a0f
Remove khttp from the list of supported libraries ( #3769 )
2021-08-04 14:34:36 +03:00
Mateusz Rzeszutek
21b6492c17
Resolve TODOs in executor instrumentations ( #3760 )
2021-08-04 12:49:53 +02:00
jason plumb
1c58c132a3
test script cleans up the data it inserts. ( #3765 )
2021-08-04 12:06:56 +03:00
Anuraag Agrawal
e92ecc02bc
Add library instrumentation for Ratpack server ( #3749 )
...
* Add Ratpack server library instrumentation
* Finish
* Back to 1.4
* Drift
* Cocaine
* Update instrumentation/ratpack-1.4/library/src/main/java/io/opentelemetry/instrumentation/ratpack/RatpackTracingBuilder.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Cleanup
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-08-04 16:21:36 +09:00
Nikita Salnikov-Tarnovski
32351d0bab
Publish muzze plugins to Gradle Plugin Portal only when manually requested. ( #3763 )
...
Restored publishing to Sonatype OSS repository on every change
2021-08-04 08:59:53 +03:00
jason plumb
f96e545330
Response to additional code review comments from #3648 . ( #3761 )
2021-08-03 23:33:47 +03:00
Mateusz Rzeszutek
ba4db4801f
Clean up concurrent advice utilities in javaagent-instrumentation-api ( #3757 )
...
* Clean up concurrent advice utilities in javaagent-instrumentation-api
* fix classloading tests
2021-08-03 09:17:19 -07:00
Mateusz Rzeszutek
f960456240
Add tests that verify that Span.current() works in spring batch listeners ( #3758 )
2021-08-03 09:17:03 -07:00
Nikita Salnikov-Tarnovski
455574635f
Publish muzze plugins to Gradle Plugin Portal ( #3720 )
2021-08-03 16:49:27 +03:00
Nikita Salnikov-Tarnovski
4b47bc596b
Fix dependency for latest dep test ( #3755 )
2021-08-03 11:58:58 +03:00
Trask Stalnaker
1343a576df
Add JFR option to benchmark ( #3744 )
...
* Add JFR option to benchmark
* Better parameterization and explanation
2021-08-03 16:22:41 +09:00
Nikita Salnikov-Tarnovski
6e706778fd
Remove old muzzle check plugin ( #3741 )
...
* Remove old muzzle check plugin
* Polish
2021-08-03 09:21:50 +03:00
Anuraag Agrawal
7634394664
Flush metrics in Lambda wrapper too ( #3748 )
2021-08-02 20:20:33 -07:00
Nikita Salnikov-Tarnovski
a167c5c2b1
Correctly use muzzleTooling configuration to allow for external additions ( #3743 )
2021-08-02 21:59:21 +03:00
Lauri Tulmin
77dc1ecf27
Fix warning in build scripts ( #3739 )
2021-08-02 19:37:35 +03:00
jason plumb
6d7cb287cc
Overhead results collector ( #3648 )
...
* Skeleton for overhead testing subproject.
* clone into base image instead of submodule
* remove submodules file (even though it was empty)
* set up a junit-based test running project that leverages testcontianers.
* remove builder
* remove builder
* cleanup
* repackage
* leverage an agent object
* simplify writing
* Skeleton for overhead testing subproject.
* clone into base image instead of submodule
* use multi-stage dockerfile to simplify image
* strip ssh and add CMD
* use the JRE base for the final stage
* rebasing
* format tweak
* cleanup
* repackage
* include peak threads
* imports
* write startup file
* fix sorting
* fix writing to allow overwrites
* code review comments
* let results just be a list (instead of map)
* remove gitmodules
* increase usage of naming conventinos (code review comment)
2021-08-02 13:23:05 +03:00
Lauri Tulmin
96d8be8522
Fix gwt latest dep test ( #3737 )
2021-08-02 13:42:34 +09:00
Trask Stalnaker
03632d9bae
Fix JDK http client propagation of non-sampled traces ( #3736 )
...
* Fix JDK http client propagation of non-sampled traces
* Lower wait time
2021-08-02 13:12:37 +09:00
Anuraag Agrawal
40aad4539d
Add HttpClientTestOptions ( #3714 )
...
* Add HttpClientTestOptions
* Drift
2021-08-02 12:56:50 +09:00
Lauri Tulmin
be645f08ab
Test latest version of vert.x reactive ( #3715 )
...
* Test latest version of vert.x reactive
* review comment
2021-07-30 11:42:07 -07:00
HaloFour
b52fd39d8d
Port Spring Boot WithSpanAspect to Instrumenter API ( #3607 )
...
* Start porting WithSpanAspect to use Instrumenter API
* Some cleanup and refactoring
* Switch caching dependency to compile only
* Minor refactors, javadocs
* Fix instrumentation name
* Rename builder methods
* spotless
* Add request type to extract Method and WithSpan annotation, use method references
* Add comment about IntelliJ dependency workaround
* Make cache non-configurable, use AsyncOperationEndSupport directly
* Address PR comments
* Move to static factory method, method-keyed cache
2021-07-30 11:39:09 -07:00
Lauri Tulmin
080b8cd25b
Use Firefox instead of Chrome for selenium tests ( #3732 )
...
* Debug gwt failure
* show debug log
* show debug log
* replace chrome with firefox
* remove debugging
* remove unneccessary change
2021-07-30 10:07:02 -07:00
Mateusz Rzeszutek
cbd8bb29fd
Spring web instrumenter 2 ( #3731 )
...
* Refactor spring-web library instrumentation to Instrumenter API
* errorprone
* fix typo
2021-07-30 09:28:27 -07:00
Lauri Tulmin
78a41261d9
Propagate context into jdk http client callback ( #3719 )
...
* Propage context into jdk http client callback
* address review comment
* remove null check
2021-07-30 09:02:38 -07:00
Lauri Tulmin
a04a7a6b72
Add option to create span on new netty connection ( #3707 )
...
* Create span on new netty connection
* add test for connection failure
* add comment
* remove commented out line
* rebase
* test fix
* review comments
* keep connection failure span as client span
2021-07-30 11:32:53 +03:00
Anuraag Agrawal
ef16e32f95
Disable vaadin test unless requested. ( #3728 )
2021-07-30 11:04:53 +03:00
Nikita Salnikov-Tarnovski
b14e28513f
Muzzle classloading hell ( #3708 )
...
* Running muzzle check from the correct classloader
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-07-30 10:06:15 +03:00
Anuraag Agrawal
6b272fe088
Disable GwtTest unless rqeuested. ( #3725 )
2021-07-30 14:36:28 +09:00
Nikita Salnikov-Tarnovski
cd1af44ce6
Limit recently added apache camel cassandra tests to the supported 2.x branch ( #3723 )
2021-07-29 15:03:42 -07:00
Lauri Tulmin
9c7df20c09
Remove redundant dependency ( #3722 )
2021-07-29 19:39:18 +03:00
Anna Nosek
117891afa1
Sanitize cql in Apache Camel instrumentation ( #3717 )
...
* sanitize cassandra
* use SemanticAttributes
2021-07-29 08:44:10 -07:00
Mateusz Rzeszutek
e5ddbfec0d
Refactor javaagent buildscript ( #3682 )
2021-07-29 08:35:37 -07:00
Trask Stalnaker
8ecf709037
Fix Apache HttpClient host + absolute uri ( #3694 )
2021-07-29 08:35:14 -07:00
Nikita Salnikov-Tarnovski
e20c3779e1
Extract helper injection verification logic from plugin util into standalone class ( #3688 )
2021-07-29 10:23:49 +03:00
Anna Nosek
15a40a0059
Sanitize SQL in Apache Camel instrumentation ( #3683 )
...
* sanitize and test sql and jdbc, remove mongo branch
* checkstyle fix
* move and simplify unit tests
* add @Unroll to parametrized tests
2021-07-28 18:30:52 -07:00
Lauri Tulmin
d73e030000
Fix NullPointerException on tomcat ( #3705 )
...
* Fix NullPointerException on tomcat
* remove commented out line
* instrument CoyoteAdapter
2021-07-28 12:10:14 -07:00
Trask Stalnaker
d305f3140b
Fix NPE in Apache HttpAsyncClient instrumentation ( #3692 )
...
* Fix NPE in Apache HttpAsyncClient instrumentation
* Fix Apache HttpClient host + absolute uri
* Add similar test for Apache HttpClient 5
* Better tests
* Sync with 4.0 and 4.3
* Fix
* sync
* Elasticsearch twist
* Remove so-called optimization path
2021-07-28 10:21:43 -07:00
Lauri Tulmin
0689f86ed3
Fix running tests from intellij ( #3702 )
2021-07-28 10:21:19 -07:00
Nikita Salnikov-Tarnovski
1785db5331
Extension snapshot ( #3625 )
...
* Try to build examples against locally published snapshot
* Always build examples against latest snapshot
* Add Gradle init script to remove sonatype repo
* Build examples against locally published version only during nightly builds
* Update distro demo to the latest snapshot as well
2021-07-28 15:50:27 +03:00
Lauri Tulmin
441609a0d4
Vertx http client 4 instrumentation ( #3665 )
...
* Vertx http client 4 instrumentation
* remove debugging
* rebase
2021-07-28 15:10:28 +03:00
Anuraag Agrawal
e4fcbb8f51
Explicitly check for key for attribute assertions using hasEntrySatis… ( #3703 )
...
* Explicitly check for key for attribute assertions using hasEntrySatisfying
* Check test user agent set first
2021-07-28 13:05:00 +03:00
Nikita Salnikov-Tarnovski
4617a0475a
Extract some muzzle checking logic from plugin util into standalone class ( #3685 )
...
* Extract some muzzle checking logic from plugin util into standalone class
2021-07-28 10:40:30 +03:00
Trask Stalnaker
f2f4e5e900
Fix build error ( #3698 )
2021-07-27 22:00:48 -07:00
Anuraag Agrawal
695cf0ad5f
Add library instrumentation for Apache HTTPClient 4.3 ( #3623 )
...
* Add apache httpclient 4.3 library instrumentation.
* Fixup
* Mostly done
* Finish
* Finish
* Update instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/ApacheHttpClientRequest.java
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
* Cleanup
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2021-07-28 12:18:45 +09:00
Trask Stalnaker
91b302a7d2
Reduce overhead of unsampled requests ( #3681 )
...
* Optimize sampled out requests
* Comment
2021-07-27 17:00:00 -07:00
Trask Stalnaker
07250d3adc
Add JFR profile analyzer ( #3678 )
...
* Add JFR profile analyzer
* Spotless
* Nullable
2021-07-27 15:42:02 -07:00
Lauri Tulmin
ff5472a822
Limit number of concurrently running docker tests ( #3664 )
...
* Limit number of concurrently running docker tests
* rename heavy to testcontainers
* use shorter expression
2021-07-27 15:41:39 -07:00
Trask Stalnaker
d46d73d4b3
Improve benchmark-overhead-jmh consistency ( #3680 )
...
* Improve benchmark-overhead-jmh consistency
* HttpURLConnection
2021-07-27 14:01:10 -07:00
Mateusz Rzeszutek
ed9e1a0cb3
Move instrumentation specific classes out of javaagent-instrumentation-api ( #3604 )
2021-07-27 12:56:59 -07:00