Trask Stalnaker
a04a0586a5
Fix mongo-common testLatestDeps ( #1818 )
2020-12-01 20:18:17 -08:00
Trask Stalnaker
a2770c311e
Don't use ConfigUtils outside of AgentTestRunner tests ( #1796 )
...
* NetPeerUtilsTest
* RedisCommandNormalizerTest
* InstrumentationModuleTest
* HttpClientTracerTest
* Normalize test config properties
* Create ConfigBuilder in instrumentation-api
* Keep config properties compatible with SDK
2020-12-01 16:52:08 -08:00
Trask Stalnaker
0bd85d7b7f
Pass around context more instead of span (HttpServerTracer) ( #1810 )
2020-12-01 14:49:01 -08:00
Trask Stalnaker
01b4345742
Move MongoClientTracerTest to same module as MongoClientTracer ( #1804 )
...
* Move MongoClientTracerTest to mongo-common
* Remove multi-version support
* Use library dependency
2020-12-01 14:45:45 -08:00
Trask Stalnaker
c07da390c0
Update WithSpan instrumentation to prevent multiple SERVER and CLIENT spans ( #1801 )
...
* Make WithSpan instrumentation SERVER aware
* Also CLIENT aware
* Spotless
* Don't put invalid span into scope
* Return Context from startSpan
2020-12-01 08:05:34 +02: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
e92bdb46f8
Don't dynamically change config mid-Kafka test ( #1797 )
...
* Don't dynamically change config mid-Kafka test
* Codenarc
* Spotless
2020-11-30 09:14:11 +02:00
Trask Stalnaker
0c8d7fe73f
Miscellaneous cleanup ( #1805 )
...
* Remove outdated doc
* Remove unnecessary dependencies
* Formatting
* Rename TRACER to tracer
* Move WrappedFuture to top-level class
* Add missing shadow config
* Use simpler type
* Use simpler base class
2020-11-29 21:05:53 -08:00
Trask Stalnaker
a3d11c0262
Rename auto annotations to ext annotations ( #1799 )
2020-11-29 21:04:55 -08:00
Trask Stalnaker
61d0af0bd5
Format scala files ( #1800 )
2020-11-29 21:04:34 -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
Trask Stalnaker
f2bb2f3e30
Split out methods and opentelemetry-annotations modules ( #1787 )
2020-11-28 12:25:09 -08:00
Trask Stalnaker
083651acef
Update more config property names ( #1786 )
2020-11-28 10:50:51 -08:00
Trask Stalnaker
b683c2ff05
Convert the last two decorators to tracers and delete BaseDecorator ( #1785 )
2020-11-28 10:50:41 -08:00
Trask Stalnaker
66b4088450
Remove servlet.context span attribute ( #1783 )
2020-11-28 10:50:26 -08:00
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
Anuraag Agrawal
31f1a73d59
Upgrade build plugin versions. ( #1774 )
2020-11-26 18:16:14 +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
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
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
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
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
Trask Stalnaker
5d0506e5e8
Convert rxjava-1.0 into library ( #1732 )
2020-11-23 14:51:55 -08: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
308a8f9b0f
Consistent equals implementations ( #1736 )
...
* Consistent equals implementations
* Use direct equals where previous behavior
2020-11-23 15:41:31 +02: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
Sergei Malafeev
f0feefc4b2
update SystemMetrics according to spec update ( #1705 )
2020-11-20 09:54:31 -08: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
Jeff Yemin
65a6293714
Improve command scrubber in MongoClientTracer ( #1587 ) ( #1663 )
...
* Improve command scrubber in MongoClientTracer (#1587 )
* Don't scrub the command field value at all if it's a string
* Use JsonWriter to improve efficiency of the scrubber
* If available, user JsonWriter.Builder.maxLength to limit size of the query string
2020-11-19 13:21:29 -08:00
Trask Stalnaker
e092e87d6b
Remove disabled by default servlet instrumentation ( #1684 )
2020-11-19 11:22:02 -08:00
Trask Stalnaker
d183692699
Enable checkstyle type var naming rule ( #1666 )
2020-11-19 11:00:31 -08:00
Vladimir Šor
a4e6d9322d
Fix dependencies for testLatestDeps to work. ( #1683 )
2020-11-19 10:59:22 -08:00