Mateusz Rzeszutek
72ffb3b7c5
Make BaseTracer fields private ( #2492 )
...
* Make BaseTracer fields private
By making `tracer` private we're forcing all tracer implementation to use the `spanBuilder()` utility method and pass the parent context manually.
2021-03-05 10:54:00 -08:00
Jakub Wach
9a5bc66329
AWS SDK - SNS to SQS tracing propagation test ( #2483 )
2021-03-04 13:33:22 -08:00
Trask Stalnaker
0abc492bc3
Rename more properties ( #2486 )
...
* Rename more props to experimental
* Rename more properties
* Rename .internal to .testing
* Revert changes to examples distro
* Move chunk.new-trace to experimental
* Fix unrelated build issue
2021-03-04 11:20:47 -08:00
Mateusz Rzeszutek
04d6fb67ff
Move SERVER and CLIENT span context keys out of BaseTracer ( #2468 )
...
* Move SERVER and CLIENT span context keys out of BaseTracer
Inspired by https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/1726#issuecomment-731890267
* Rename context keys
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-03 16:12:42 +01:00
Trask Stalnaker
62f2611486
Update instrumentation names ( #2433 )
2021-03-01 19:34:25 -08:00
Trask Stalnaker
03bfaee5eb
Move rest of non-specd attributes to experimental ( #2402 )
2021-02-26 20:50:47 -08:00
Lauri Tulmin
c8ca7e8d07
Make http.flavor spec compliant ( #2370 )
2021-02-22 13:12:05 -08:00
Anuraag Agrawal
000df967ce
Update to SDK 0.17.0 ( #2338 )
...
* Update to SDK 0.17.0
* Finish
* ottrace
2021-02-19 15:51:55 +09:00
Mateusz Rzeszutek
a74f60b3f8
Add JUnit 5 extensions for instrumentation testing ( #2241 )
...
* Add JUnit 5 extensions for instrumentation testing
* Fix kafka tests
* RepeatedTest
2021-02-12 12:57:08 +01:00
Mateusz Rzeszutek
0fbdcad1dd
Make BaseTracer#startSpan() return Context ( #2232 )
...
* Make BaseTracer#startSpan() return Context
* Update instrumentation/apache-camel-2.20/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachecamel/CamelEventNotifier.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* spotless
* Add Javadocs to BaseTracer
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-12 12:12:40 +01:00
Jakub Wach
29780d97be
fixing possible NPE in Apache Camel instrumentation ( #2250 )
2021-02-11 12:38:10 +02:00
Mateusz Rzeszutek
ecf64c25f3
Remove BaseTracer#startScope() method ( #2224 )
...
* Remove BaseTracer#startScope() method
* fix compilation failure
2021-02-10 11:39:38 +01:00
Anuraag Agrawal
fc410706d0
Update to Sdk 0.16.0 ( #2221 )
...
* Update to 0.16.0-SNAPSHOT
* Finish
* Finish
* Update to 0.16.0
* Finish
2021-02-09 18:00:54 +09:00
Mateusz Rzeszutek
facaf8e46f
Remove all remaining direct AgentTestRunner usages ( #2196 )
...
* Remove all remaining direct AgentTestRunner usages
* Fix jaxws compilation failure
2021-02-05 16:14:26 +01:00
Jakub Wach
1f22fcaab0
Apache camel enable sqs propagation ( #2102 )
...
* adding AWS SQS tests to Apache Camel instrumentation
* code review changes
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* SQS context propagation for Apache Camel instrumentation
* code review - removed not needed dep
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-02-03 10:34:05 +02:00
Gábor Lipták
5bf9f34caa
Bring org.testcontainers to 1.15.1 ( #2178 )
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-02-03 08:01:04 +02:00
Jakub Wach
f766151c22
fixing nightly fail - elasticmq version fix ( #2174 )
2021-02-02 15:20:12 +02:00
Mateusz Rzeszutek
7a3f345c18
Clean up BaseTracer, part 1 ( #2159 )
...
* Move context leak debugging to ContextPropagationDebug
* Remove getCurrentSpan()
* Add end(Context, ...) & endExceptionally(Context, ...) methods - they're supposed to replace the ones that accept Spans in the future
2021-02-02 10:12:46 +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
Jakub Wach
77922d4834
SQS propagation for AWS SDK 1.1 ( #2114 )
2021-01-29 10:21:12 +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
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
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
Jakub Wach
b8ef938b84
camel instrumentation to set client context property ( #2042 )
2021-01-14 16:00:50 +01: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
Anuraag Agrawal
3b88bb75ae
Use SemanticAttributes for DbSystem ( #1991 )
2021-01-07 18:59:56 -08:00
Trask Stalnaker
b859485cd0
Fix flaky camel test ( #1964 )
2021-01-05 14:16:52 -08:00
Anuraag Agrawal
8d74baa2e4
Run tests with javaagent. ( #1643 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-04 13:13:24 -08:00
Trask Stalnaker
fa09451aea
Prefix custom attributes with instrumentation name ( #1784 )
2020-12-03 20:56:31 -08:00
Trask Stalnaker
26f254b10d
Create javaagent dirs for all instrumentations, part 2 ( #1794 )
2020-11-28 22:26:49 -08:00
Trask Stalnaker
41bd489a77
Format groovy files ( #1793 )
2020-11-28 21:22:14 -08:00
Trask Stalnaker
5f263644da
Create javaagent dirs for all instrumentations ( #1668 )
...
* Create javaagent dirs for all instrumentation
* Add note about kotlin coroutine library instrumentation
* Feedback
2020-11-28 21:04:16 -08:00
Mateusz Rzeszutek
9a64a628ea
Make instrumentations non final ( #1752 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-11-26 11:22:25 -08:00
Mateusz Rzeszutek
50c8ab499d
Remove no longer needed helperClassNames() methods ( #1755 )
2020-11-24 20:50:32 -08:00
Mateusz Rzeszutek
45646ff367
Rename TypeInstrumentation#classLoaderMatcher() to classLoaderOptimization() ( #1741 )
...
* Rename TypeInstrumentation#classLoaderMatcher() to classLoaderOptimization()
* Removed no longer needed comments & improved JavaDoc
* Improve TypeInstrumentation Javadoc
2020-11-24 14:27:58 +02:00
Anuraag Agrawal
7bfb6b6dbd
Update to SDK 0.11.0 ( #1690 )
2020-11-19 19:37:49 -08:00
Trask Stalnaker
cecdfc2cd0
Update instrumentation names to be consistent ( #1671 )
...
* Update instrumentation names to be consistent
* Remove amqp from rabbitmq package name
2020-11-18 19:53:31 -08:00
Mateusz Rzeszutek
1a23ac3027
Standardize instrumentation names in InstrumentationModules ( #1648 )
...
* Standardize instrumentation names in InstrumentationModules
* rename gradle modules:
* vertx-3.0 to vertx-web-3.0
* spark-web-framework-2.3 to spark-2.3
* add JavaDoc describing the naming rules to InstrumentationModule
2020-11-17 13:30:28 -08:00
Trask Stalnaker
6d5ec329d6
Enable checkstyle for google style guide ( #1641 )
2020-11-16 18:46:59 -08:00
Mateusz Rzeszutek
d307ffc532
Refactor Instrumenters into InstrumentationModules - A, B, C ( #1556 )
...
* Refactor Instrumenters into InstrumentationModules - A, B, C
* Fixed some modules' names to match library/instrumentation gradle module
* Fix couchbase 2.6 muzzle
2020-11-09 15:42:41 +01:00
Anuraag Agrawal
3d21c26632
Update to SDK 0.10.0 ( #1564 )
2020-11-05 13:17:47 -08:00
Jakub Wach
81101ed463
fix master build fail due to latestDepTest ( #1554 )
2020-11-04 16:21:29 +02:00
Jakub Wach
049358e81b
apache camel 2.20.x instrumentation ( #1397 )
...
* apache camel 2.20.x instrumentation
* removed instrumentation advice from helper classes
* code review #1
* code review #2 / experimental server name update
* code review changes / new tests, improved direct, new license header
* rebase changes
* code review changes
* code review changes, REST tests added
* changes after rebase to newest master
* code review changes
* code review
* code review
* rebase to master
2020-11-03 11:42:33 +02:00