Mateusz Rzeszutek
6fb3ec0501
Do not use arrays in InstrumentationModule ( #3057 )
...
* Do not use arrays in InstrumentationModule
* add missing cast
2021-05-24 13:51:07 +02:00
Mateusz Rzeszutek
bb8f515083
Refactor TypeInstrumentation#transformers() method ( #3019 )
...
* Refactor TypeInstrumentation#transformers() method part 1
Add TypeInstrumentation and its implementations
* Refactor TypeInstrumentation#transformers() method part 2
Use the new method in all existing TypeInstrumentation implementations
* Drift
* Spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-18 09:50:26 +02:00
Anuraag Agrawal
95c16c4a3c
Start migrating Muzzle plugin to Java ( #2996 )
2021-05-15 16:22:05 +09:00
Mateusz Rzeszutek
a72a7838f0
Load InstrumentationModules using InstrumentationLoader ( #2971 )
...
* Load InstrumentationModules using InstrumentationLoader
* writing-instrumentation-module doc improvement
* spotless
2021-05-13 14:12:53 +02:00
Trask Stalnaker
9ff720431e
Consolidate misc docs ( #2939 )
2021-05-09 17:05:10 -07:00
Mateusz Rzeszutek
9c7fae3b04
Extract javaagent-extension-api from tooling & spi ( #2879 )
2021-05-06 23:30:25 -07:00
Mateusz Rzeszutek
169f99554d
Minor improvement in the writing-instrumentation-module.md doc ( #2871 )
2021-04-27 13:04:18 -07:00
Trask Stalnaker
e54eb2ca03
Add doc how to run smoke tests ( #2840 )
2021-04-22 11:37:18 -07:00
Mateusz Rzeszutek
95f8342558
Deprecate additionalHelperClassNames ( #2810 )
...
* Deprecate additionalHelperClassNames
* Deprecate additionalHelperClassNames
2021-04-16 10:11:11 +02:00
Mateusz Rzeszutek
2d59d25961
Writing InstrumentationModule line by line ( #2793 )
2021-04-14 10:52:31 -07:00
Trask Stalnaker
d741dc48b9
Minor rename of javaagent unit test modules ( #2784 )
2021-04-13 12:36:30 +03:00
jack-berg
035b3f42f7
Fix build and documentation typos related to autoconfigure SPI. ( #2719 )
2021-04-05 18:22:34 -07:00
Mateusz Rzeszutek
1406855bb7
Revert "Prevent duplicate telemetry when using both library and auto instrumentation ( #2661 )" ( #2689 )
2021-04-01 16:11:15 -07:00
Mateusz Rzeszutek
30434696ae
Prevent duplicate telemetry when using both library and auto instrumentation ( #2661 )
...
* Prevent duplicate telemetry when using both library and auto instrumentation
* Add unit test
* Fix Oshi tests
* Fix couchbase 3.1 tests
2021-03-31 10:57:04 -07:00
Christian Neumüller
5d8464305e
writing-instrumentation.md: Fix section hierarchy ( #2287 )
2021-02-15 15:08:09 +02:00
Mateusz Rzeszutek
61f86a78b8
Improve muzzle docs: assertInverse, extraDependency ( #2158 )
2021-02-02 11:53:10 +09:00
jason plumb
66dc6c934f
Document the static imports (style guidelines) ( #2161 )
...
* document the static imports that we like
* spotless
* Update docs/contributing/style-guideline.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-02 11:04:56 +09: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
Lauri Tulmin
640a7d624b
Correct some spelling mistakes ( #2025 )
2021-01-12 11:10:45 -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
Lauri Tulmin
79433966fb
Liberty server span handling ( #1929 )
...
* Liberty server span handling
* review fixes
* review fixes
* add doc about using compile stubs
* Update instrumentation/liberty/liberty/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/liberty/LibertyInstrumentationModule.java
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
* Update instrumentation/liberty/liberty/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/liberty/ThreadLocalContext.java
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
* add links to advice classes
* add commnet, remove unneeded dependency
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-12-22 15:00:58 +02:00
Pavol Loffay
f69217e2a4
Add ComponentInstaller SPI and use it for OpenTelemetry SDK ( #1848 )
...
* Add component installer SPI
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Move more code to agent installer
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-12-18 08:55:24 +02:00
jason plumb
c800c0dc87
Document advice class name hard coding ( #1881 )
2020-12-14 13:14:57 -08: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
Mateusz Rzeszutek
13c405c174
Make muzzle generate helperClassNames() method ( #1714 )
2020-11-24 10:07:22 -08:00
Trask Stalnaker
516242af70
Add doc about calling default methods from advice ( #1737 )
2020-11-23 15:50:12 +02: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
Anuraag Agrawal
d435da4638
Update to Gradle 6.7 and use new toolchains feature for testing on Ja… ( #1627 )
...
* Update to Gradle 6.7 and use new toolchains feature for testing on Java versions.
* Update docs
* Add back sum
* Use GitHub test JDK for toolchain.
* Use maxJavaVersionForTests for default test version when set.
* Fix RMI
* Fix configs
* Go back to rule
* Extract variable for default Java version.
2020-11-16 10:29:36 +02:00
Pavol Loffay
5e568e6d06
Add classloading diagram to contributing docs ( #1612 )
2020-11-12 21:12:49 -08:00
Mateusz Rzeszutek
402a0a1639
Remove Instrumenter.Default ( #1610 )
2020-11-10 12:42:29 -08: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
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
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
480147307a
Revert broken png file ( #1377 )
2020-10-12 20:13:37 -07:00
Trask Stalnaker
1b51d4a6b1
Rename packages ( #1367 )
2020-10-11 13:54:35 -07:00
Trask Stalnaker
c8c8eb8c0b
Update debugging doc ( #1296 )
2020-10-01 11:13:31 -07:00
Pavol Loffay
f48579a84f
Add high level Muzzle docs ( #1270 )
2020-09-29 12:46:08 -07:00
Pavol Loffay
2794d469cf
Fix typo ( #1272 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-28 16:23:37 +09:00
Pavol Loffay
42c9ee53a4
Add debugging docs ( #1263 )
2020-09-27 12:52:54 -07:00
Pavol Loffay
91b177165c
Bump Java from 14 to 15 in CI ( #1252 )
...
* Bump Java from 14 to 15 in CI
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Review comments
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* adjust comment
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Bump jacoco to 0.8.6
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* maxJavaVersionForTests
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-24 15:27:33 +03:00
Trask Stalnaker
b9bbcd85a9
Update testLatestDeps doc ( #1238 )
2020-09-23 07:37:05 +03:00
Jakub Wach
7080bdb9a4
spring mvc3 - proper span name in case of sec fail ( #718 ) ( #1122 )
2020-09-09 10:08:28 +03:00
dengliming
95ad352d77
Fix doc link. ( #1088 )
2020-08-23 23:04:22 +03:00
Trask Stalnaker
d9dca25402
Remove unused javaSubPackage config ( #1020 )
2020-08-16 21:18:10 -07:00
Trask Stalnaker
ac5f041fb9
Rename javaagent-bootstrap's Agent class to AgentInitializer ( #1018 )
...
* Rename bootstrap Agent class
* Rename start method to initialize
2020-08-16 22:05:02 +03:00
Trask Stalnaker
7159d04b8d
Change groovy import order ( #1013 )
...
* Update docs
* Format all groovy code
* Organize imports
2020-08-15 23:19:27 -07:00
Trask Stalnaker
f893ca540b
Scripted package renaming ( #988 )
2020-08-15 21:55:01 -07:00
Trask Stalnaker
7818e33178
Package renaming ( #970 )
2020-08-13 20:14:46 -07:00
Trask Stalnaker
a0dc9ba19c
Rename Pre-Main class ( #955 )
2020-08-13 10:58:33 -07:00
Trask Stalnaker
bf9c160570
Rename javaagent modules ( #952 )
2020-08-12 22:50:14 -07:00
Nikita Salnikov-Tarnovski
e26801482c
Add document describing current problem with context propagation ( #910 )
...
* Add document describing current problem with context propagation
* Update docs/contributing/inter-thread-context-propagation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update docs/contributing/inter-thread-context-propagation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* More clarifications
* More clarifications
* Better example
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 20:33:07 +03:00
Anuraag Agrawal
0eafc28608
Run tests using JUnit5 platform and remove SpockRunner ( #770 )
...
* Run tests with JUnit platform
* Matcher
* Restore
* Don't mix JUnit4 with JUunit5 in spring tests
* Separate out tests that need custom class loader.
* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?
* Remove SpockRunner
* Fix grizzly
* Remove assumeTrue workaround.
* Comments
2020-08-12 11:05:26 +09:00
Trask Stalnaker
b5fbf90977
Extract instrumentation api module ( #884 )
2020-08-09 22:52:33 -07:00
Trask Stalnaker
ae4c133220
Remove save actions setting from contributing doc ( #886 )
2020-08-03 21:53:28 -07:00
Trask Stalnaker
7418143f5e
Split up the CONTRIBUTING doc ( #784 )
...
* Split up the CONTRIBUTING doc
* spotless
2020-07-25 13:54:14 +03:00
Trask Stalnaker
6bb31f5c54
Update save actions ( #520 )
...
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-15 07:46:12 +03:00