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
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
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
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
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
Mateusz Rzeszutek
ed9e1a0cb3
Move instrumentation specific classes out of javaagent-instrumentation-api ( #3604 )
2021-07-27 12:56:59 -07:00
Anuraag Agrawal
47be4a16b4
Convert HttpClientTest to JUnit ( #3652 )
...
* Migrate HttpClientTest to junit to allow both Java or spock tests.
* More
* Update
* Finish
* Cleanup
* Better stack
* Java 15
* Merge
* Fix name
* Cleanup
* ? extends
* Moar
2021-07-27 21:55:40 +09:00
Lauri Tulmin
b483d7d249
Fix concurrency with callback test on okhttp3 latest ( #3676 )
2021-07-26 18:49:21 +03:00
Lauri Tulmin
3555c251c9
Hibernate: set span name only on method entry ( #3603 )
2021-07-26 10:29:40 +03:00
Lauri Tulmin
26dc106399
Okhttp3: fix concurrency test with callback ( #3669 )
2021-07-26 13:12:29 +09:00
Lauri Tulmin
437e568fee
Enable disable apache async http client tests ( #3667 )
2021-07-26 13:11:25 +09:00
Lauri Tulmin
266dc46b39
Causality test is enabled by default ( #3670 )
...
* Causality test is enabled by default
* Causality test is enabled by default
2021-07-26 12:06:36 +09:00
Lauri Tulmin
c3d26f99fa
Include rxjava2 instrumentation for vertx reactive tests ( #3668 )
2021-07-26 11:42:00 +09:00
Lauri Tulmin
4db7bd5ff3
Move common code from netty 4.0 and 4.1 http client to common superclass ( #3660 )
2021-07-26 11:15:13 +09:00
Lauri Tulmin
3d36fecd81
Don't wait in busy loop ( #3663 )
...
* Don't wait in busy loop
* use awaitility
2021-07-25 10:40:27 -07:00
Lauri Tulmin
1b5df6d78a
Netty connection failure handling ( #3569 )
...
* Netty connection failure handling
* Update instrumentation/netty/netty-4-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/netty/common/client/AbstractNettyHttpClientTracer.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Remove unused import
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-07-23 11:21:15 +03:00
Lauri Tulmin
4f088c7e05
Test latest version of vert.x http server ( #3621 )
...
* Test latest version of vert.x http server
* add missing files
* spotless
2021-07-23 11:00:48 +03:00
Lauri Tulmin
d7dcc70119
Rename jws-1.1 to jaxws-jws-api-1.1 ( #3653 )
2021-07-22 10:25:43 -07:00
Lauri Tulmin
1197480f6e
Netty4: handle read timeout ( #3613 )
...
* Netty4: handle read timeout
* spotless
2021-07-21 21:20:21 +03:00
Lauri Tulmin
6269eb57b4
Fix aws-sdk latest dep tests ( #3646 )
2021-07-21 18:51:39 +03:00
Lauri Tulmin
fc9609d814
couchbase 3.2.0 ( #3645 )
2021-07-21 16:46:31 +03:00
Nikita Salnikov-Tarnovski
e937d85188
Use the correct version ( #3634 )
2021-07-20 09:38:07 +03:00
Nikita Salnikov-Tarnovski
d3ba86fd3d
Exclude broken version from tests ( #3632 )
2021-07-20 15:23:51 +09:00
Trask Stalnaker
e2d23cd8c1
Fix bounds check ( #3612 )
...
* Fix bounds check
* Update instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/aspects/WithSpanAspectAttributeBinder.java
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2021-07-20 09:29:45 +09:00
Trask Stalnaker
734a1e2e6e
Update opentelemetry-api-metrics instrumentation name ( #3611 )
2021-07-19 10:10:09 -07:00
Anuraag Agrawal
e0cb216610
Remove remaining usages of basic span asserts ( #3616 )
2021-07-19 10:09:44 -07:00
Anuraag Agrawal
f5ce4c03f8
Inline basic usages of basicSpan ( #3583 )
...
* Inline basic usages of basicSpan
* spock
2021-07-18 21:15:51 +03:00
Lauri Tulmin
050e675abc
Split vertx instrumentation into client and server instrumentation ( #3567 )
2021-07-18 21:15:02 +03:00
Anuraag Agrawal
04c070ccc1
Add HTTPClientMetrics ( #3598 )
...
* Add HTTPClientMetrics
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/http/HttpClientMetrics.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-07-16 18:22:35 +09:00
HaloFour
256e8f2a64
Move async strategies to annotation support ( #3574 )
...
* Move async strategies to annotation support
* Fix dependencies and refactor copypasta
* Move AsyncSpanEndStrategy to annotation support project
* spotless
2021-07-16 10:55:23 +02:00
Trask Stalnaker
344e205720
Help out Intellij ( #3595 )
2021-07-16 15:55:30 +09:00
Anuraag Agrawal
d87f876467
Fix test metrics conversion from OTLP ( #3580 )
2021-07-16 12:06:38 +09:00
Anuraag Agrawal
d3b62de8a5
Replace most uses of TraceUtils with testRunner runWithSpan. ( #3582 )
2021-07-15 10:30:34 -07:00
Niki
016a963640
fixed potential NullPointerException if AMQP.Properties::getHeaders returns null ( #3588 )
2021-07-15 10:27:23 -07:00
Mateusz Rzeszutek
9a3734f8ed
Clean up bootstrap dependencies and build scripts ( #3570 )
...
* Clean up bootstrap dependencies and build scripts
* add evaluationDependsOn()
* Resolve configuration later
* remove the javaagentLibs config
* Fix muzzle bootstrap classpath
* Fix after rebase
* Try javaagentLibs once again
2021-07-15 18:56:36 +02:00
Mateusz Rzeszutek
e1584b5c11
Skip jedis-3.6.2 version ( #3590 )
2021-07-15 17:03:37 +03:00
Trask Stalnaker
dffb12fd44
Add missing test verification ( #3578 )
2021-07-15 09:15:12 +03:00
HaloFour
814239c8c0
Adds binding of attributes in methods annotated with @WithSpan ( #3188 )
...
* Add binding of span attributes for traced methods
* Spring Aspect support, memoization
* Test with attribute name from ParameterNameDiscoverer
* Refactorings, javadocs and tests
* Refactor out creating AttributeBinding to separate class
* Wrapped attribute bindings for array parameters
* Attribute binding for List and EnumSet
* Attribute binding for subclass of List with reflection helper class
* Fix test failures in JDK 8
* Attribute binding to Set<? extends Enum>
* Move attribute binding to instrumentation-annotation-support project
* Fix copypastaed missing imports in tests
* Simplify ParameterizedClass based on PR feedback and add javadocs
* Remove blank javadoc
* Switch to cache with weak keys for memoizing attribute bindings by method
* Remove binding support for EnumSet<?>
* Clean up javadoc
* Use SpanAttribute annotation from opentelemetry 1.4.0-SNAPSHOT
* Address some PR concerns
* Clean up
* Fix instrumentation dependency in Springboot
* Update documentation
* Switch javaagent dep to compileOnly per PR comment
* spotless
* Kick CI
* Rename annotation support module and packages
* Resolve SpanAttribute annotation at runtime with fallback for older OTel versions
* Remove unnecessary dependency
* Move reflection helper to annotation support module
* Remove unnecessary enum and fields from unit test
2021-07-14 13:32:07 -07:00
Mateusz Rzeszutek
229d8adc49
Publish shaded OpenTelemetry API and annotations for muzzle ( #3555 )
...
* Publish shaded OpenTelemetry API and annotations for muzzle
* code review
2021-07-14 15:33:07 +02:00
Lauri Tulmin
8318d5acc9
Hibernate: handle jpa EntityManager ( #3540 )
...
* Hibernate: handle jpa EntityManager
* review comments
* Update instrumentation/hibernate/hibernate-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/hibernate/SessionMethodUtils.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-07-14 13:25:35 +03:00
Lauri Tulmin
1d01475948
Use http 1.1 for okhttp3 tests ( #3565 )
2021-07-14 13:21:49 +03:00
Mateusz Rzeszutek
71e7d666ed
Convert OkHttp 3 to Instrumenter API ( #3538 )
...
* Convert OkHttp 3 to Instrumenter API
* code review
* Update instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/OkHttpAttributesExtractor.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-07-13 18:41:19 -07:00