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
Mateusz Rzeszutek
3c1a09109f
Use sdk-extensions/resources in the agent ( #1809 )
...
* Use sdk-extensions/resources in the agent
* Add smoke test, fix dropwizard test
2020-12-01 16:03:51 -08: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
2b2ffa87ed
Rename defaultEnabled property to default-enabled ( #1788 )
2020-11-28 10:50:59 -08:00
Trask Stalnaker
083651acef
Update more config property names ( #1786 )
2020-11-28 10:50:51 -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
90ecff512a
Muzzle mismatch logs should be warnings in tests ( #1754 )
2020-11-26 11:21:17 -08: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
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
Ago Allikmaa
d03c3d0d7e
Fix ByteBuddy tasks failing on daemon reuse. ( #1762 )
2020-11-25 15:01:32 +02:00
Mateusz Rzeszutek
50c8ab499d
Remove no longer needed helperClassNames() methods ( #1755 )
2020-11-24 20:50:32 -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
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
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
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
19e85bbca7
Fix for no propagators being installed ( #1730 )
2020-11-22 09:56:18 -08:00
Trask Stalnaker
e18a4d1038
Fix spring-webmvc testLatestDeps ( #1723 )
2020-11-21 09:21:14 +02:00
Sergei Malafeev
4b3bbf6612
add baggage propagator to default propagators ( #1545 )
2020-11-20 09:56:01 -08:00
Trask Stalnaker
80b068b459
Instrument java.servlet.Filter directly ( #1606 )
...
* Instrument filter directly
* Remove some additional ignores
* Fix OncePerRequestFilter not being instrumented itself
2020-11-18 19:59:28 -08:00
Sergei Malafeev
da9502ce84
add b3multi propagator ( #1647 )
...
* revert support for b3_single and b3 (multi) propagator
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add b3multi, default for b3 is single
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-11-18 09:47:43 +02:00
Trask Stalnaker
2e51003900
Enable checkstyle overload method ordering rule for Google Java Style ( #1656 )
2020-11-17 14:41:14 -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
Pavol Loffay
b4326d91ac
Add Bytebuddy agent builder customizer SPI ( #1613 )
2020-11-13 11:21:40 -08:00
Ago Allikmaa
995e2caee0
Update ByteBuddy to 1.10.18, adjust to new ByteBuddy gradle plugin ( #1596 )
...
* Adjust for use with ByteBuddy 1.10.18
* Fix language choices for ByteBuddy transformation.
* Remove no longer used MuzzleCodeGenerationPlugin$NoOp
2020-11-12 12:34:06 +02:00
Mateusz Rzeszutek
402a0a1639
Remove Instrumenter.Default ( #1610 )
2020-11-10 12:42:29 -08:00
Nikita Salnikov-Tarnovski
d6c2de4389
Small cleanup ( #1603 )
...
* Small cleanup
* Format
2020-11-10 14:55:53 +02:00
Mateusz Rzeszutek
aa3ba8d165
Refactor Instrumenters into InstrumentationModules - D, E, F, G, H ( #1557 )
2020-11-09 14:41:12 -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
Trask Stalnaker
71f91877ab
Fix muzzle and add missing helper classes ( #1585 )
...
* Fix muzzle
* Fix jdbc instrumentation
* Fix jms instrumentation
* Fix couchbase instrumentation
* Fix servlet instrumentation
2020-11-08 13:54:00 -08:00
Anuraag Agrawal
3d21c26632
Update to SDK 0.10.0 ( #1564 )
2020-11-05 13:17:47 -08:00
Anuraag Agrawal
e1c7baab42
Upgrade to latest SDK snapshot ( #1549 )
2020-11-05 17:45:59 +09:00
Mateusz Rzeszutek
8629edd346
Run muzzle once per instrumented library - introducing InstrumentationModule ( #1528 )
...
* Run muzzle once per instrumented library - introducing InstrumentationModule
* spotless
* Fix muzzle
* Apply code review comments
2020-11-04 15:39:12 +01:00
Anuraag Agrawal
5d2cb459df
Update to latest SDK snapshot ( #1539 )
2020-11-02 16:07:53 +09:00
Anuraag Agrawal
c6eee70660
Update to latest snapshot. ( #1524 )
2020-10-29 18:54:09 -07:00
Pavol Loffay
c931b1b85a
Add explicit names to metrics/trace SPI factories ( #1513 )
...
* Add explicit names to metrics/trace SPI factories
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix tests
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-10-29 12:14:41 +02:00
Pavol Loffay
bdf2a91290
Rename printReferences gradle task to printMuzzleReferences ( #1517 )
...
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-10-29 15:37:38 +09:00
Bogdan Drutu
21a1c65128
Remove inner class imports; avoid future imports by disabling in editorconfig ( #1489 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-10-26 19:30:51 -07:00
Anuraag Agrawal
a2dccf2316
Update to latest SDK snapshot. ( #1479 )
2020-10-26 19:29:46 -07: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
Sergei Malafeev
1674b46d4a
fix finding SpanExporterFactory by exporterName with underscore e.g. "otlp_span" ( #1404 )
...
* #1401 fix finding SpanExporterFactory by exporterName with underscore e.g. "otlp_span"
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* #1401 change exporterName of "otlp_span" and "otlp_metric" only
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-10-20 14:51:07 +03:00
Trask Stalnaker
57301e3fe7
Rename "integration" to "instrumentation" ( #1412 )
...
* Rename integration to instrumentation
* Revert doc changes, need to wait for release
* spotless
2020-10-19 14:36:30 +09:00
Pavol Loffay
f29763d6ef
Add SPI to configure additional bootstrap package prefixes ( #1380 )
...
This feature is useful when a large set of custom instrumentations is
using common classes from a custom package.
2020-10-16 10:27:14 -07:00
Nikita Salnikov-Tarnovski
15e0b2ff32
Run build without warnings ( #1387 )
2020-10-15 16:10:22 -07:00
Mateusz Rzeszutek
ee0e0a9697
Muzzle improvements: docs, javadocs, renamings and minor refactoring ( #1379 )
2020-10-14 16:49:51 -07: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