汤煜冬
c523fa2eae
add abstract method getRpcSystem() ( #2149 )
2021-02-01 13:47:27 +02:00
Mateusz Rzeszutek
93b3a3b289
testing-common refactoring: replace direct AgentTestRunner usage with… ( #2134 )
...
* testing-common refactoring: replace direct AgentTestRunner usage with spock spec
* Updated instrumentation docs
* Fix reactor-core library tests
ReactorCoreTest was getting a tracer from GlobalOpenTelemetry before LibraryTestTrait had a change to initialize the SDK
2021-02-01 11:32:25 +01:00
Anuraag Agrawal
49194ff444
Don't hardcode agent-for-testing archive filename so it can be publis… ( #2146 )
...
* Don't hardcode agent-for-testing archive filename so it can be published.
* Fix accidental
* afterEvaluate
2021-02-01 14:33:27 +09:00
Trask Stalnaker
23945d97e9
Publish lettuce and mongo common ( #2148 )
2021-02-01 13:26:08 +09:00
Anuraag Agrawal
1ebb58a596
Update to SDK 0.15.0 ( #2137 )
...
* Update to SDK 0.15.0
* Fix lightstep test
2021-01-29 21:30:22 +09:00
Jakub Wach
77922d4834
SQS propagation for AWS SDK 1.1 ( #2114 )
2021-01-29 10:21:12 +02:00
Mateusz Rzeszutek
328c6832a2
Publish agent-for-testing and testing-common ( #2133 )
2021-01-29 08:39:30 +01:00
Mateusz Rzeszutek
c61f3f2949
Use a single configuration property for db.statement sanitization ( #2125 )
...
* Use a single configuration property for db.statement sanitization
* spotless
2021-01-29 16:02:15 +09:00
Mateusz Rzeszutek
b13ef2d809
Instrument spring-batch: tests for parallel steps ( #2121 )
2021-01-28 16:09:42 +09:00
Anuraag Agrawal
6b13bcca63
Use X-Ray propagator for aws sdk 1.1 instrumentation ( #2117 )
...
* Use X-Ray propagator for aws sdk 1.1 instrumentation
* Cleaner
* Fix
* Copy over doc
2021-01-28 16:01:07 +09:00
jason plumb
782a646d89
Cache sql sanitized extraction ( #2094 )
2021-01-27 10:04:58 -08:00
Lauri Tulmin
87ddfb8d0e
Add instrumentation for spring-ws ( #2111 )
...
* Add instrumentation for spring-ws
* add spring-ws to supported frameworks
* Add class loader optimization
* Remov unnecessary latestDepTestLibrary
* review fixes
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-27 17:24:59 +09:00
Mateusz Rzeszutek
20dadc1b6d
Replace two JavaCC lexers with a single JFlex one ( #2113 )
2021-01-26 14:03:11 -08:00
Lauri Tulmin
8d6ee17c05
Fix netty 4.1 tests ( #2122 )
2021-01-26 10:11:06 -08:00
John Watson
df801dc2c3
Clean up some spring-boot auto-configuration to get rid of deprecations ( #2115 )
2021-01-25 22:00:54 -08:00
Mateusz Rzeszutek
b78a38f859
Instrument spring-batch: item-level spans ( #2047 )
2021-01-25 21:38:13 -08:00
John Watson
af5719b48c
Consolidate span suppression logic into the BaseTracer ( #2106 )
...
* Hide the context keys in the BaseTracer.
Provide the appropriate methods to get access.
* key needs to be static
* put all the span suppression logic in the BaseTracer
* the formatter is our friend
* rename method and add tests
* tests that work!
2021-01-26 09:21:29 +09:00
Lauri Tulmin
59c1034d34
Fix warning on agent startup ( #2109 )
2021-01-25 17:03:41 +02:00
Sergei Malafeev
bbcbeb51e3
MongoDB 4 driver instrumentation ( #2046 )
...
* MongoDB 4 driver instrumentation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* fix getting constructor
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* fix formatting
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* Update instrumentation/mongo/mongo-4/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/mongo/v4/MongoClientInstrumentationModule.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update settings.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/mongo/mongo-4/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/mongo/v4/MongoClientInstrumentationModule.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* use mongo-4.0
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* use public api
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* use testImplementation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* use declaresField(named("commandListeners")) in typeMatcher
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* migrate to mongo-4.0-testing
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-25 15:55:03 +02:00
John Watson
588f8847ed
Hide the context keys in the BaseTracer. ( #2105 )
...
* Hide the context keys in the BaseTracer.
Provide the appropriate methods to get access.
* key needs to be static
* fix formatting
* more formatting, sigh
* remove an errant semicolon
2021-01-25 09:49:16 +02:00
Anuraag Agrawal
8b470bf378
Add Netty instrumentation handlers after matched handler rather than at end of pipeline. ( #2100 )
...
* Support latest webflux version.
* Add Netty instrumentation handlers after matched handler rather than at end of pipeline.
* Drift
* Fix
* Raise smoke tests timeout
2021-01-25 16:06:57 +09:00
Sergei Malafeev
54d00026be
JMS instrumentation: do not create spans if no messages are received ( #2091 )
...
* #1989 JMS instrumentation: do not create spans if no messages are received
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove the redundant else
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove JmsSessionInstrumentation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-25 08:42:32 +02:00
Lauri Tulmin
4652ce183d
Replace remaining usages of deprecated SemanticAttributes class ( #2101 )
2021-01-22 12:05:54 +02:00
Anuraag Agrawal
2eee121931
Match classloader when applying netty instrumentation. ( #2099 )
2021-01-22 12:05:20 +02:00
jason plumb
7122c4b2a5
Rename "normalize" to "sanitize" ( #2087 )
...
* rename SqlNormalizer to SqlSanitizer (more descriptive).
* rename normalize to sanitize.
* rename in comments and messages
* rename in variable to sanitized
* rename normalized -> sanitized in tests
* fixed broken tests
* rename variable.
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-22 15:49:24 +09:00
John Watson
4c1144ce78
Distinguish between the various servlet tracers for easier debugging. ( #1979 )
...
* Distinguish between the various servlet tracers for easier debugging.
* change to use the `common` suffix for that module
* Update instrumentation/servlet/servlet-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/v2_2/Servlet2HttpServerTracer.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/servlet/servlet-3.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/v3_0/Servlet3HttpServerTracer.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/servlet/servlet-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/dispatcher/RequestDispatcherTracer.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/servlet/servlet-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/http/HttpServletResponseTracer.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-01-20 16:33:13 +02:00
Vladimir Šor
a2cde4132d
Smoke tests declare shadowJar as an input to be rebuilt ( #2085 )
...
* Smoke tests declare shadowJar as an input to be rebuilt. Fix some gradle deprecation warnings.
* Try files as inputs.
2021-01-20 16:30:45 +02:00
Jakub Wach
d609aa0647
fixing camel latest deps test failure ( #2084 )
2021-01-20 14:02:43 +02:00
Lauri Tulmin
9825ab0afa
Instrument jsf action calls ( #2018 )
2021-01-19 21:34:41 -08:00
Jakub Wach
422e1eb6f4
adding AWS SQS tests to Apache Camel instrumentation ( #2061 )
...
* adding AWS SQS tests to Apache Camel instrumentation
* code review changes
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* code review changes
* code review changes
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* code review - switched to localstack
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-01-20 10:30:45 +09:00
Lauri Tulmin
cdfe8e0afb
Fix integration with jersey-client 2.30 ( #2071 )
...
* Fix integration with jetty-client 2.30
* make class final and add private constructor
* Update instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/javaagent/jaxrs-client-2.0-common-javaagent.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-19 14:02:18 +02:00
Lauri Tulmin
7c3b183294
Move netty4.1 exception handling to an other method ( #2070 )
2021-01-18 22:14:49 -08:00
Mateusz Rzeszutek
660f0e5225
Remove testing-common dependency on guava ( #2062 )
...
* Remove testing-common dependency on guava
* Use nano time
* Add guava dep to opentelemetry-api-metrics
2021-01-19 12:07:27 +09:00
Anuraag Agrawal
afdde0355b
Update to OTel 0.14.1 ( #2059 )
...
* Update SDK dependency to 0.14.1
* WIP
* Finish
* Cleanup
2021-01-18 13:02:04 +09:00
Jakub Wach
c16967db7d
fixing Apache Camel instrumentation propagation order ( #2052 )
2021-01-15 15:03:53 +09:00
Anuraag Agrawal
72a4b9a891
Remove setGlobalPropagators calls from lambda tests. ( #2057 )
2021-01-15 14:50:31 +09:00
Anuraag Agrawal
cfbfc5623d
Explicitly use AwsXRayPropagator in lambda sqs instrumentation. ( #2056 )
2021-01-15 14:38:23 +09:00
Lauri Tulmin
2a4e07dce1
Netty: add exception to span ( #2027 )
2021-01-14 09:36:14 -08:00
Mateusz Rzeszutek
99bcf7dcf2
Instrument spring-batch: partitioning ( #2034 )
2021-01-14 09:33:59 -08:00
Lauri Tulmin
11ad12289b
Jetty server span handling ( #2029 )
2021-01-14 09:31:57 -08:00
Jakub Wach
b8ef938b84
camel instrumentation to set client context property ( #2042 )
2021-01-14 16:00:50 +01:00
Pavol Loffay
1070996653
Make factory method for netty 4.0 attribute keys public ( #1995 )
...
* Make factory method for netty 4.0 attribute keys public
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Add comment
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2021-01-14 11:44:51 +01:00
Amit Patel
c7e96c2488
Updated jackson minor version to the latest ( #2040 )
2021-01-14 09:03:08 +09:00
Mateusz Rzeszutek
269378e929
Spring Batch instrumentation tests: decisions ( #2024 )
...
* Spring Batch instrumentation tests: decisions
* spotless
2021-01-13 16:17:15 +09:00
Lauri Tulmin
640a7d624b
Correct some spelling mistakes ( #2025 )
2021-01-12 11:10:45 -08:00
Anuraag Agrawal
62bd2c03eb
Update Armeria instrumentation to match latest decorator order and re… ( #2021 )
...
* Update Armeria instrumentation to match latest decorator order and remove dedupe logic for now.
* git add
* Revert unused
2021-01-12 17:01:41 +09:00
Mateusz Rzeszutek
56dd13bfc1
Spring Batch instrumentation tests: splits ( #2017 )
2021-01-12 14:32:21 +09:00
Jakub Wach
179b2257f9
AWS lambda - configurable flush timeout ( #1960 )
2021-01-11 10:50:00 -08:00
Lauri Tulmin
4bf86bec74
Skip testing jetty QueuedThreadPool when dispatch method is missing ( #2010 )
2021-01-11 10:48:18 -08:00
Pavol Loffay
077d8b64f6
Move common matchers to tooling/bytebuddy/matcher and ignore matchers to tooling/matcher ( #1965 )
2021-01-10 12:35:53 -08:00