Commit Graph

5436 Commits

Author SHA1 Message Date
Jakub Wach 2689653ee7
open AWS lambda wrapper for extensions (#1777) 2020-11-27 11:12:52 +09: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 90ecff512a
Muzzle mismatch logs should be warnings in tests (#1754) 2020-11-26 11:21:17 -08:00
Anuraag Agrawal 31f1a73d59
Upgrade build plugin versions. (#1774) 2020-11-26 18:16:14 +09:00
Ago Allikmaa d42dccb9bd
Make ByteBuddy task deterministic by using linked sets/maps. (#1770)
* Make ByteBuddy task deterministic by using linked sets/maps.

* Add class-level comments explaining the use of Linked maps/sets.
2020-11-26 11:07:07 +02:00
Anuraag Agrawal acd0ac07e2
Use -P correctly instead of -D for specifying toolchain paths (#1775)
* Disable toolchain detection on CI

* P not D

* Reenable CI branch selection.
2020-11-26 11:04:38 +02:00
Anuraag Agrawal 91a9e1885e
Replace java test version rule with property. (#1769)
* Replace java test version rule with property.

* Fix enabled check

* Update java.gradle
2020-11-26 16:53:20 +09:00
Anuraag Agrawal 412d9991be
Inject context for aws sdk 1.11 requests too. (#1771) 2020-11-26 15:25:37 +09:00
Trask Stalnaker 7a6613ca6c
Simplify netty-4.1 AttributeKeys (#1757)
* Simplify netty-4.1 AttributeKeys

* Suggestions

* Shorten names

* Make same naming changes for netty-4.0

* Update instrumentation/netty/netty-4.0/src/main/java/io/opentelemetry/javaagent/instrumentation/netty/v4_0/AttributeKeys.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2020-11-26 11:49:52 +09:00
Anuraag Agrawal 6ab51c1194
Enable caching of bytebuddy cache. (#1764) 2020-11-26 10:25:28 +09:00
Trask Stalnaker 325238f128
Rename otel.trace.classes.excludes to otel.javaagent.exclude-classes (#1747)
* Rename otel.trace.classes.excludes

* Spotless
2020-11-25 16:53:49 +02:00
Trask Stalnaker 6f0c6c2f45
Change default logging exporter prefix to "" (#1758) 2020-11-25 15:01:48 +02:00
Ago Allikmaa d03c3d0d7e
Fix ByteBuddy tasks failing on daemon reuse. (#1762) 2020-11-25 15:01:32 +02:00
Mateusz Rzeszutek 46a96c09f7
Remove unnecessary additionalHelperClasses() from elasticsearch-transport (#1766) 2020-11-25 15:00:19 +02:00
Anuraag Agrawal 822be11dbc
Use Kotlin context element in agent instrumentation (#1618)
* Use SDK helper

* Revert unintended.
2020-11-25 18:45:00 +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
Anuraag Agrawal c202c9c9e6
Update to Gradle 6.7.1 (#1760) 2020-11-25 17:36:30 +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
Trask Stalnaker 889bce0976
Create jaxrs-client-2.0-common module (#1746) 2020-11-24 11:49:05 -08:00
Mateusz Rzeszutek 13c405c174
Make muzzle generate helperClassNames() method (#1714) 2020-11-24 10:07:22 -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
Jakub Wach 7e8d549347
AWS lambda tracing - http propagation for non-stream handler / wrapper (#1650)
* AWS lambda tracing - http propagation for non-stream handler / wrapper

* code review

* null-handling improvements

* rebase to newest master

* code review

* less dependencies, lower coupling
2020-11-24 12:42:05 +01:00
Anuraag Agrawal 276bec1ae8
Don't apply unnecessary plugins at top level. (#1750) 2020-11-24 18:18:29 +09:00
Trask Stalnaker 0c5c4caaa4
Rename java-concurrent and java-classloader instrumentation modules (#1733)
* Rename java-concurrent instrumentation to executors

* Rename java-classloader to classloaders
2020-11-23 17:49:10 -08:00
Nikita Salnikov-Tarnovski bdc3664600
Update nightly.yaml (#1745)
Increase timeout for testJava15
2020-11-23 14:57:59 -08:00
Trask Stalnaker 3b480f5e50
Rename otel trace properties (#1740)
* Rename otel.trace.enabled

* Rename otel.trace.debug

* Rename otel.trace.config

* Rename otel.trace.runtime.context.field.injection

* Rename otel.instrumentations.enabled

* Document otel.javaagent.enabled
2020-11-23 14:53:18 -08:00
Trask Stalnaker 5d0506e5e8
Convert rxjava-1.0 into library (#1732) 2020-11-23 14:51:55 -08:00
Nikita Salnikov-Tarnovski 3e4bb25e96
Update README.md (#1743)
Fix link
2020-11-23 20:17:43 +02:00
Trask Stalnaker 516242af70
Add doc about calling default methods from advice (#1737) 2020-11-23 15:50:12 +02:00
Trask Stalnaker d2f064dcd4
Add static keyword to make groovy inner classes nested (#1734)
* Add static keyword to make groovy inner classes nested

* Too much

* A bit less

* Spotless
2020-11-23 15:43:42 +02:00
Trask Stalnaker 79f76c78ad
Move java files to java source folder and groovy files to groovy source folder (#1735)
* Move java files to java source folder

* Move groovy files to groovy source folder

* Too much

* Move another one back

* Codenarc

* Move test resource to where test is

* Spotless
2020-11-23 15:42:04 +02:00
Trask Stalnaker 5f7d1706c2
Remove special CI build dir (#1738)
* Remove special CI build dir

* Add isCI directly to spotbugs.gradle
2020-11-23 15:41:45 +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 19e85bbca7
Fix for no propagators being installed (#1730) 2020-11-22 09:56:18 -08:00
Nikita Salnikov-Tarnovski 3185abac10
Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
Trask Stalnaker 081e142718
Rename grizzly-client instrumentation (#1709)
* Rename grizzly-client instrumentation
2020-11-21 10:51:45 -08:00
John Watson e9821e9cd1
Directly port the java-runtime-metrics module over from otel-java. (#1720)
* Directly port the java-runtime-metrics module over from otel-java.

* java 8 cleanups

* Make consistent with oshi module

* Bump mockito and assertj versions

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-11-21 10:51:03 -08:00
Trask Stalnaker e18a4d1038
Fix spring-webmvc testLatestDeps (#1723) 2020-11-21 09:21:14 +02:00
Ago Allikmaa e5f0779d1a
ByteBuddy tasks no longer resolve dependencies at config time. (#1715) 2020-11-20 19:24:52 -08:00
Sergei Malafeev 4b3bbf6612
add baggage propagator to default propagators (#1545) 2020-11-20 09:56:01 -08:00
Sergei Malafeev f0feefc4b2
update SystemMetrics according to spec update (#1705) 2020-11-20 09:54:31 -08:00
dependabot[bot] 2ba278489e
Bump nick-invision/retry from v2.1.0 to v2.2.0 (#1686)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from v2.1.0 to v2.2.0.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v2.1.0...fb3bca3fb54f6488d7508c8d1eeb64b94efd5a93)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 15:12:45 +02:00
Trask Stalnaker 238e2ddca5
Rename propagation modules (#1706)
* Rename propagation modules

* Fix test
2020-11-20 15:05:30 +02:00
Trask Stalnaker 55a6a858f7
Rename opentelemetry-api instrumentation module (#1707) 2020-11-20 15:01:53 +02:00
Trask Stalnaker c3e1a321d2
Fix MongoDB testLatestDeps (#1703)
* Fix MongoDB testLatestDeps

* Codenarc
2020-11-20 09:34:25 +02:00
Anuraag Agrawal 7bfb6b6dbd
Update to SDK 0.11.0 (#1690) 2020-11-19 19:37:49 -08:00
Jeff Yemin d093a561b9
Report only known collection names in MongoClientTracer (#1625) (#1662)
* Report only known collection names in MongoClientTracer (#1625)

* Use allow-list of commands that are known to use collection name as the value of the command
* Special-case getMore command, which uses a different field for the collection name

* Add create, drop, and createIndexes to list of commands with collection name as their values
2020-11-19 16:26:27 -08:00
Trask Stalnaker 2738018d9d
Remove typed spans (#1696) 2020-11-19 13:28:36 -08:00