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
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
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
8d74baa2e4
Run tests with javaagent. ( #1643 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-04 13:13:24 -08:00
Mateusz Rzeszutek
cd58ac816e
Muzzle should add SPI classes defined in helperResourceNames as references ( #1918 )
2020-12-16 21:54:04 -08:00
Trask Stalnaker
49c2a36811
HTTP client instrumentation cleanup: aws-sdk ( #1911 )
2020-12-15 09:06:28 +02:00
Trask Stalnaker
e2264222ce
HTTP client instrumentation cleanup, part 0 ( #1893 )
2020-12-14 16:34:06 -08:00
Anuraag Agrawal
c741eaa501
Shade trace propagators so they can be injected in instrumentation th… ( #1892 )
...
* Shade trace propagators so they can be injected in instrumentation that benefits from a hard-coded propagation format
* Runtime shade too
2020-12-14 07:52:21 +02:00
Nikita Salnikov-Tarnovski
c0f9daf0bb
Fix test for latest version of AWS SDK ( #1878 )
2020-12-10 10:36:42 +02:00
Anuraag Agrawal
1f25259f47
Manually inject AWS SDK helpers since they are refrenced from resource file, not code. ( #1876 )
2020-12-10 17:36:24 +09:00
Anuraag Agrawal
3b8827b8ab
Update to SDK 0.12.0 ( #1830 )
...
* Update to SDK 0.12.0
* Update error message to the current world.
* Bump referenced smoke test versions
* fixes
* dependency hell
* Suppress unused call
* Bump missed smoke tests
* Bump image, bump smoke tests gRPC version
2020-12-07 17:16:47 +09:00
Anuraag Agrawal
c5a257619a
Make sure AWS SDK spans suppress client spans all the time. ( #1837 )
...
* Make sure AWS SDK spans suppress client spans all the time.
* Make more consistent with other instrumentation
* Update instrumentation/netty/netty-4.1/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/netty/v4_1/client/NettyHttpClientTracer.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* more dragons
* Grammar
* README
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-12-07 17:10:43 +09:00
Trask Stalnaker
65f54e450b
Use Context more in HttpClientTracer ( #1811 )
...
* Use Context more in HttpClientTracer
* Better http-url-connection response object
* Follow database semantic conv for elasticsearch-rest
* Remove unnecessary CallDepth tracking
2020-12-03 11:47:08 -08:00
Trask Stalnaker
ca76c80820
Hardcode expected values in tests ( #1803 )
...
* DEFAULT_SPAN_NAME
* TEMP_DESTINATION_NAME
* LoggingContextConstants
* Remove unnecessary dependencies
* Hardcode expected normalized queries in tests
* Spotless
2020-11-30 09:16:59 +02: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
Anuraag Agrawal
412d9991be
Inject context for aws sdk 1.11 requests too. ( #1771 )
2020-11-26 15:25:37 +09:00
Anuraag Agrawal
9802539b07
Add an AWS SDK type instrumentation on an 'entry point' type of class… ( #1759 )
...
* Add an AWS SDK type instrumentation on an 'entry point' type of class to ensure helper resources are injected before clients are made.
* Update instrumentation/aws-sdk/aws-sdk-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/awssdk/v2_2/AwsSdkInitializationInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-11-25 18:21:06 +09:00
Anuraag Agrawal
737f78acfa
Inject context into AWS SDK 2.2 HTTP request from interceptor. ( #1763 )
2020-11-25 17:37:16 +09:00
Mateusz Rzeszutek
50c8ab499d
Remove no longer needed helperClassNames() methods ( #1755 )
2020-11-24 20:50:32 -08:00
Trask Stalnaker
a5a36bd203
Use namespace for attributes put into user classes ( #1739 )
...
* Use namespace for attributes put into user classes
* Add dependency to remove duplication
2020-11-24 12:07:10 -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
Trask Stalnaker
308a8f9b0f
Consistent equals implementations ( #1736 )
...
* Consistent equals implementations
* Use direct equals where previous behavior
2020-11-23 15:41:31 +02: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
d3b60a5e33
Rename TRACER to tracer() ( #1540 )
2020-11-02 20:49:51 -08:00
Anuraag Agrawal
c6eee70660
Update to latest snapshot. ( #1524 )
2020-10-29 18:54:09 -07:00
Trask Stalnaker
3565775b00
Format groovy ( #1475 )
...
* Apply Intellij format to groovy
* spotless
2020-10-26 11:47:12 +09:00
Anuraag Agrawal
f6ad05b8e3
Update to latest SDK snapshot ( #1384 )
...
* Update to latest SDK snapshot
* Use published snapshot
* Fixes
* Cleans
* spotless
* Most
* Clean
* Merge
* Temporarily remove context interop
* WIP
* Prepare for intercepting propagated span
* Bump SDK
* IDE updates
* Lots
* compileJava
* Done?
* bar
* Spot
* drugs
* Groovy--
* green for me
* Spot
* Remove grpc import
* Scrub
2020-10-25 15:14:32 +09:00
Vadim Shaigorodskiy
9e8d663ba4
Remove apache httpclient version ( #1446 )
...
* Remove version from `apache-httpclient` instrumentation
Fixes : #1260
* Remove version from all instrumentation names and add instrumentation name to `spring-web`
Fixes : #1260
2020-10-22 14:22:44 +09:00
Trask Stalnaker
7ecc9bb37b
Rename "auto" to "javaagent" in modules ( #1370 )
2020-10-13 12:32:13 -07:00
Trask Stalnaker
1b51d4a6b1
Rename packages ( #1367 )
2020-10-11 13:54:35 -07:00
Trask Stalnaker
9605789726
Propagate full context ( #1350 )
...
* Propagate full context
* spotless
2020-10-09 12:58:42 +03:00
Ioannis Mavroukakis
f2de47a150
SpanAssert method names should reflect underlying Span method names ( #1307 )
2020-10-05 16:04:08 +09:00
Anuraag Agrawal
dadaac9a8c
Use 2-line license header to match SDK repo ( #1321 )
...
* Use 2-line license header to match SDK repo
* Apply change
2020-10-05 14:29:56 +09:00
Trask Stalnaker
8954f222c0
Update to the latest opentelemetry-java 0.9.0-SNAPSHOT ( #1266 )
2020-09-26 20:44:28 -07:00
Nikita Salnikov-Tarnovski
e74ffe2e52
Remove support for java7 from buildscripts ( #1229 )
...
* Remove support for java7 from buildscripts
* Remove support for java7 from buildscripts
2020-09-23 15:40:21 +03:00
Nikita Salnikov-Tarnovski
beb1901f5f
Review semantic convention for Http Client spans ( #1214 )
...
* Review semantic convention for Http Client spans
* Polish
* Update instrumentation/google-http-client-1.19/src/test/groovy/AbstractGoogleHttpClientTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-18 17:52:08 +03:00
Jakub Wach
e8b54885c4
Enhance AWS DynamoDB instrumentation ( #1191 )
2020-09-18 10:48:56 +03:00
Anuraag Agrawal
a9f0e21bfe
Support injecting resources into classloader and use it in aws-sdk-2.… ( #1172 )
...
* Support injecting resources into classloader and use it in aws-sdk-2.2 instrumentation.
* Use URL for duplication check instead of reading content and inject URLs directly instead of reading to byte array first.
* Remove getResource
2020-09-15 17:38:20 +09:00
Anuraag Agrawal
1217882a30
Move archivesBaseName into instrumentation gradle in a way that supports both old and new folder scheme. ( #1169 )
2020-09-04 12:38:58 +03:00
Anuraag Agrawal
fa3ae0921f
Use ClassValue and full name cache in AWS SDK 1.1 ( #1153 )
...
* Use ClassValue and full name cache in AWS SDK 1.1
* Mysterious class
* Muzzle
2020-09-04 14:59:02 +09:00
Nikita Salnikov-Tarnovski
bc98955176
Update to latest otel-java snapshot ( #1057 )
...
* Update to latest otel-java snapshot
* Upgrade to working otel-java snapshot
* Update to latest otel-java snapshot
* Update to latest otel-java snapshot
2020-08-26 22:03:28 +03:00
Trask Stalnaker
e9b5bd48f7
Fix running single tests ( #1066 )
2020-08-19 21:17:30 -07:00
Trask Stalnaker
5d2ae07797
Use startScope() on all HttpClientTracers ( #971 )
2020-08-18 16:59:30 -07:00
Anuraag Agrawal
bbfdbb39c0
Create abstraction for library dependencies for instrumentation. ( #977 )
...
* Create abstraction for library dependencies for instrumentation.
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-19 08:57:31 +09:00