Trask Stalnaker
59e46477dd
Add basic jmh overhead test ( #3672 )
...
* Add basic jmh overhead test
* Move javaagent arg to gradle file
* Rename module to benchmark-overhead-jmh
* Add imports
* Add comment
* Add benchmark for noop api
2021-07-26 12:55:18 -07:00
Nikita Salnikov-Tarnovski
0f43c160e1
Very crude fix for publishing problem with agent-for-testing ( #3675 )
2021-07-26 21:05:26 +03:00
Nikita Salnikov-Tarnovski
6a2ee3255a
Extract muzzle check plugin ( #3657 )
...
* Extract muzzle check plugin
2021-07-26 12:37:14 +03:00
Nikita Salnikov-Tarnovski
c6f9bef90e
Use published muzzle generation plugin ( #3639 )
...
* Use published muzzle generation plugin
2021-07-22 11:46:49 +03:00
Nikita Salnikov-Tarnovski
a55e048451
Convert ReferenceCollectorTest to JUnit ( #3644 )
...
* Convert ReferenceCollectorTest to JUnit
* User AssertJ
* Polish
2021-07-21 19:36:46 +03:00
Lauri Tulmin
79d12e1f97
Remove build/** from spotless kotlin exludes ( #3647 )
2021-07-21 19:22:11 +03:00
Anuraag Agrawal
574a3f7750
Use ArgumentsProvider for agent test JVM args to allow sharing of remote build cache. ( #3631 )
2021-07-20 15:23:43 +09:00
Trask Stalnaker
344e205720
Help out Intellij ( #3595 )
2021-07-16 15:55:30 +09:00
Mateusz Rzeszutek
9a3734f8ed
Clean up bootstrap dependencies and build scripts ( #3570 )
...
* Clean up bootstrap dependencies and build scripts
* add evaluationDependsOn()
* Resolve configuration later
* remove the javaagentLibs config
* Fix muzzle bootstrap classpath
* Fix after rebase
* Try javaagentLibs once again
2021-07-15 18:56:36 +02:00
Nikita Salnikov-Tarnovski
a079ff3832
Fix naming of muzzle tasks ( #3589 )
...
`assertPass` property is always present because we set to a default value right in the constructor.
2021-07-15 17:04:40 +03:00
Trask Stalnaker
f02130f3e3
Disable SystemOut errorprone check when running locally ( #3579 )
2021-07-15 10:12:03 +03:00
Anuraag Agrawal
136b8aa22c
Fix disableErrorProne ( #3575 )
2021-07-15 09:17:54 +03:00
Nikita Salnikov-Tarnovski
cbfd7e1a02
Trying to extract codegen plugin ( #3521 )
...
* Muzzle code generation moved to a separate plugin
* Restored old MuzzleCodeGenerationPlugin to use until the new one is published
* The simplest dependency management possible
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-07-14 17:08:47 +03:00
Mateusz Rzeszutek
229d8adc49
Publish shaded OpenTelemetry API and annotations for muzzle ( #3555 )
...
* Publish shaded OpenTelemetry API and annotations for muzzle
* code review
2021-07-14 15:33:07 +02:00
Mateusz Rzeszutek
3d1e782fc5
Instrumentation-specific bootstrap classes ( #3495 )
...
* Instrumentation-specific bootstrap classes
* try to move bootstrap modules dependency to javaagent
2021-07-13 09:34:02 +02:00
Trask Stalnaker
d0cb08a37b
Rename javaagent-api artifact to javaagent-instrumentation-api ( #3513 )
...
* part 1
* part 2
* Undo change in examples
* Spotless
2021-07-12 21:53:49 -07:00
Anuraag Agrawal
f601863d12
Merge Java TraceUtils into extension and switch to Instrumenter API. ( #3532 )
...
* Merge Java TraceUtils into extension and switch to Instrumenter API.
* Woah
2021-07-10 13:21:12 +09:00
Anuraag Agrawal
9ed19062c3
Parse disableErrorProne as boolean ( #3530 )
2021-07-09 17:14:13 +09:00
Trask Stalnaker
dddb39b1e2
Make coreJdk property internal ( #3512 )
2021-07-07 08:23:15 +03:00
Anuraag Agrawal
3fc5d71771
Don't publish testing -all jar. ( #3493 )
2021-07-05 14:12:04 -07:00
Anuraag Agrawal
8eb24f9886
Split up build logic to plugins that can eventually be published and … ( #3474 )
...
* Split up build logic to plugins that can eventually be published and this-repo-specific stuff.
* Muzzle
* compileOnly
* Typo
2021-07-05 16:18:45 +09:00
Anuraag Agrawal
44f2354d41
Allow disabling thread details and disable for most tests. ( #3464 )
2021-07-01 08:31:27 -07:00
Anuraag Agrawal
3cfa086ffd
Migrate nullaway config to plugin ( #3462 )
2021-07-01 18:13:16 +09:00
Anuraag Agrawal
d53e62b4dc
Remove noShadowPublish ( #3426 )
2021-06-29 16:55:53 +09:00
Anuraag Agrawal
761b9c280b
Migrate instrumentation gradle files to kotlin ( #3414 )
...
* Migrate instrumentation gradle files to kotlin
* Convert
* Muzzle
2021-06-28 17:27:12 +09:00
Anuraag Agrawal
220ea414e3
Migrate codegen to be a plugin ( #3401 )
2021-06-25 08:35:59 +09:00
Anuraag Agrawal
deb0e255cf
Use plugins block everywhere for applying plugins ( #3386 )
...
* Use plugins block everywhere for applying plugins
* Actually it's library instrumentation
2021-06-24 11:13:35 +09:00
Anuraag Agrawal
eb897a80d9
Migrate muzzle plugin to kotlin script. ( #3388 )
...
* Migrate muzzle plugin to kotlin script.
* Update listInstrumentations
* bootstrap not tooling
2021-06-24 11:12:56 +09:00
Anuraag Agrawal
1ecd15b443
Extract errorprone configuration to separate plugin ( #3387 )
2021-06-23 10:15:44 -07:00
Anuraag Agrawal
c1388c9c4c
Migrate muzzle data classes to kotlin. ( #3385 )
...
* Migrate muzzle data classes to kotlin.
* Kotlin Regex
* More Kotlin Regex
2021-06-23 15:36:53 +09:00
Anuraag Agrawal
9e763d69a7
Extract build plugin for instrumentation testing projects that aren't muzzled / published. ( #3354 )
2021-06-19 11:04:33 +09:00
Anuraag Agrawal
97254f04d1
Update to Gradle 7.1 ( #3344 )
2021-06-17 10:37:57 -07:00
Anuraag Agrawal
80f43b7a6a
Migrate javaagent-instrumentation to plugin ( #3328 )
...
* Migrate instrumentation.gradle to plugin
* Migrate usages
* Remove old
* Fix
* Revert example
* afterEvaluate
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-17 23:13:14 +09:00
Anuraag Agrawal
8e6a464cb8
Add artifact clauses to shadow publish ( #3342 )
2021-06-17 20:41:03 +09:00
Anuraag Agrawal
c9207fec4d
Finish publishing plugin... ( #3341 )
2021-06-17 16:40:05 +09:00
Trask Stalnaker
7181c49da4
Fix shadow publishing ( #3340 )
2021-06-16 18:50:23 -07:00
Anuraag Agrawal
91a2c18f30
Migrate jacoco.gradle to plugin ( #3330 )
2021-06-16 10:09:05 -07:00
Anuraag Agrawal
c1d4cf01e8
Move min/max java properties to an extension class ( #3307 )
2021-06-15 11:55:24 -07:00
Anuraag Agrawal
b7bfbf0cc6
Migrate instrumentation-library / common to plugins ( #3320 )
2021-06-15 11:54:48 -07:00
Anuraag Agrawal
a818f14957
Migrate publish.gradle to convention plugin ( #3312 )
...
* Migrate publish.gradle to convention plugin
* Migrate usages of publish.gradle
* Remove publish.gradle
* Newline
2021-06-15 22:12:48 +09:00
Anuraag Agrawal
aca8deff9c
Migrate scala to convention plugin. ( #3313 )
2021-06-15 18:54:45 +09:00
Anuraag Agrawal
e399ffeffa
Migrate spotless, checkstyle, codenarc to convention plugin ( #3310 )
2021-06-15 16:58:44 +09:00
Anuraag Agrawal
224dc51e93
Migrate java.gradle to conventions plugin ( #3289 )
...
* Migrate java.gradle to convention plugin.
* Switch to java-conventions
* Remove old file
* Fix
* Fix merge
* Missing paragraph
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-15 08:10:39 +09:00
Trask Stalnaker
62f1f49bcd
Intellij cleanup (Java and Groovy) ( #3285 )
...
* Intellij cleanup
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/code/CodeAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/db/DbAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/db/SqlAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/messaging/MessagingAttributesExtractorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/spring/spring-web-3.1/library/src/test/java/io/opentelemetry/instrumentation/spring/httpclients/RestTemplateInterceptorTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Use glassfish version that supports lambdas
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-06-14 10:23:01 -07:00
Trask Stalnaker
dc316609ee
Remove unnecessary final on params and local vars ( #3283 )
...
* Remove unnecessary final on params and local vars
* Fix gwt
* Keep final for non-initialized var
* Keep final for non-initialized var
* Keep final for non-initialized var
2021-06-14 07:13:11 +03:00
Trask Stalnaker
8d9edd4cec
Exclude jandex.idx from bootstrap class path ( #3273 )
2021-06-13 10:58:06 -07:00
Anuraag Agrawal
5f49dc0e4a
Extract agent shadow configuration to conventions script. ( #3256 )
...
* Extract agent shadow configuration to conventions script.
* Remove redundant plugin version declaration
* Resource loader doesn't load from buildSrc
* Comments about byte buddy version
* Fix ReferenceCollectorTest
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-12 16:45:26 -07:00
Anuraag Agrawal
860ff84768
Don't change snapshot version setting and use shared repository decla… ( #3084 )
...
* Don't change snapshot version setting and use shared repository declaration
* Override repositories declaration with full declaration
* MavenCentral to muzzle
2021-06-03 11:31:57 +09:00
Anuraag Agrawal
53cfd73bb3
Enable excluding muzzle dependencies and exclude netty-tcnative ( #3169 )
...
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-06-02 09:42:56 -04:00
Anuraag Agrawal
c3dedbb64e
Enable all errorprone checks ( #3155 )
...
* Enable all errorprone checks
* Fixes
* Finish
* Finish
* Add flag to disable error prone
2021-06-01 17:41:08 +09:00