Commit Graph

198 Commits

Author SHA1 Message Date
Lauri Tulmin 2ebe912fe4
GraphQL java instrumentation (#5583)
* GraphQL Java Initial Commit

* [WIP] First steps for GraphQL instrumentation, totally not ready

[skip ci]

* GraphQL Java instrumentation

* address review comments

* Apply suggestions from code review

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

* review feedback

* scope handling

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* use spotless:off

* trigger build

* review comments

Co-authored-by: Jordie <xd@jrdie.nl>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-17 08:55:45 -07:00
Anuraag Agrawal 487a01eb3e
Update Gradle and build dependencies (#5531) 2022-03-09 09:09:20 -08:00
Anuraag Agrawal aeee5b4fae
Publish gradle-plugins to Maven Central (#5333)
* Publish gradle-plugins to Maven Central

* Update .github/workflows/release-gradle-plugins.yml

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-02-11 11:37:01 +09:00
Jordie 29702d537e
Spelling/grammar fix in MuzzleGradlePluginUtil.kt (#5142) 2022-01-17 10:33:41 -08:00
Trask Stalnaker eea7c0f1dc
Fix publishing gradle plugins (#5132) 2022-01-17 18:33:26 +01:00
Anuraag Agrawal a1274b7671
Mark recent gradlew executable (#5116) 2022-01-14 09:59:12 -08:00
Trask Stalnaker 00e0920913
Apply gradle github action everywhere (#5089) 2022-01-12 19:35:18 -08:00
Trask Stalnaker db8cd050a7
Add spotless to standalone subprojects (#5058)
* Update spotless version

* Add spotless to benchmark-overhead

* Add spotless to smoke-test images

* Add spotless to examples

* Apply spotless

* Resolve log4j conflict

* Apply spotless after upgrade
2022-01-10 12:46:52 -08:00
Anuraag Agrawal 478800e5de
Update byte buddy (#5037) 2022-01-07 20:30:08 +09:00
Anuraag Agrawal 46a885c4e8
Set bytebuddy task's classFileVersion (#5036) 2022-01-07 20:29:55 +09:00
Anuraag Agrawal 83c94e9554
Update Gradle and build dependencies (#4971) 2021-12-23 16:01:39 +02:00
Trask Stalnaker 47aacd3318
Add java.util.logging javaagent instrumentation (#4941)
* java.util.logging

* Update instrumentation/java-util-logging/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jul/JavaUtilLoggingInstrumentationModule.java

* sync

* Update instrumentation/java-util-logging/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jul/JavaUtilLoggingHelper.java

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Remove unused code

* Simplification

* Remove JBoss logger instrumentation

* Spotless

* Unroll

* Remove unused dependency

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-12-20 12:36:30 -08:00
Trask Stalnaker 08d626d3cc
Add muzzle option to override version limit (#4942) 2021-12-20 16:11:30 +02:00
Trask Stalnaker 9950c488c8
Fix example extension build (#4875)
* Fix example extension build

* Add CI to keep from breaking
2021-12-12 12:14:21 -08:00
Anuraag Agrawal 1f3b24a111
Update bytebuddy (#4864) 2021-12-10 17:33:04 +09:00
Anuraag Agrawal 458ebc5e55
Small cleanups to conventions projects. (#4839) 2021-12-09 14:55:09 -08:00
Anuraag Agrawal ca3919ea31
Update Gradle and build dependencies (#4808)
* Update Gradle and build dependencies

* Add spotless + Java 17 workaround

* Revert spotless for now

* Fix merge

* jvmTarget
2021-12-07 14:42:52 +09:00
Trask Stalnaker 3801bb38cc
Run muzzle check against OpenTelemetry API instrumentation (bridge) (#4797)
* Run muzzle check against bridge

* Simplify

* Renames
2021-12-06 11:58:01 -08:00
Nikita Salnikov-Tarnovski 99e82d70fa
Make gradle cache work when used from different locations (#4794) 2021-12-04 19:55:30 +02:00
Lauri Tulmin 8a33514551
update byte buddy to 1.11.22 (#4547) 2021-10-30 10:20:18 +03:00
Trask Stalnaker 37e24ec924
Sync gradle-plugins version with main project (#4248)
* Sync gradle-plugins version with main project

* More fixes

* Can rely on examples build against all branches now?

* Use common version.gradle.kts

* Update doc

* Simplify
2021-10-29 10:34:49 -07:00
Lauri Tulmin 17a85bbc22
Use byte-buddy-dep instead of byte-buddy (#4400)
* Use byte-buddy-dep instead of byte-buddy

* print stacktrace on examples failure

* try to fix gradle plugins

* try to fix extension build

* try to fix extension build

* try to fix extension build

* try to fix extension build

* try removing mavenLocal

* add mavenLocal plugin repository

* publish gradle-plugins to mavenLocal for examples ci build

* Fix bytebuddy exclusion
2021-10-19 13:46:48 -07:00
Nikita Salnikov-Tarnovski 2f5a40dda7
Prepare gradle plugins for release (#4419) 2021-10-19 10:37:16 +03:00
Lauri Tulmin 0cfc71c3c6
Support kafka streams 3 (#4236)
* Support kafka streams 3

* make thread local wider so it would work on all kafka-streams versions

* Move classes used by multiple instrumentations into bootstrap module to ensure that everybody uses the same copy of them

* spotless

* allow project as muzzle extra dependency

* add comment

* fix merge
2021-10-05 09:43:00 -07:00
Nikita Salnikov-Tarnovski f788d84e35
Remove muzzle from gradleplugins (#4183)
* Include gradle-plugins as a composite build

* Make gradle-plugins project independent from the main one

* Delete old ClassRef and friends

* Fixes

* Polish

* Polish

* Simplify
2021-09-24 15:59:03 +03:00
Mateusz Rzeszutek 2e74363bcd
Bump ByteBuddy's version to the latest one (#4194) 2021-09-23 17:37:27 +02:00
Mateusz Rzeszutek 74c1f55e35
Allow adding multiple ContextStore fields to one key class, part 3 (#4110) 2021-09-14 08:08:36 +02:00
Trask Stalnaker 62c604f2f5
Format java files in standalone projects (#4105) 2021-09-13 16:16:25 +09:00
Trask Stalnaker 7a2ddbd5b6
Bump gradle-plugins version to SNAPSHOT (#3995) 2021-08-30 09:02:03 -07:00
Trask Stalnaker 2b322cffcf
Bump gradle-plugins version (#3975)
* Bump gradle-plugins version

* Bump again for new release
2021-08-26 22:27:08 -07:00
Trask Stalnaker b7241cedd0
Support source sets output dirs in muzzle (#3980) 2021-08-26 22:09:59 -07:00
Trask Stalnaker 06bdd12d41
Bump gradle-plugins version (#3954) 2021-08-26 08:50:28 -07:00
Trask Stalnaker eb1a28cdba
Prepare for new gradle-plugins release (#3933)
* Prepare for new gradle-plugins release

* Fix to a real version
2021-08-25 13:30:44 -07:00
Trask Stalnaker 184aa37c71
Versioned helper resources, part 3 (#3891) 2021-08-23 16:45:49 -07:00
Mateusz Rzeszutek 421fec4cfe
Bump gradle-plugins to 0.4 (and fix one more thing in ReferencesPrinter) (#3818)
* Bump gradle-plugins to 0.4 (and fix one more thing in ReferencesPrinter)

* Use context class loader

* func -> action
2021-08-11 16:06:54 +02:00
Mateusz Rzeszutek bebb877017
Fix printMuzzleReferences gradle task (#3808)
* Fix printMuzzleReferences gradle task

* suppress SystemOut warnings

* bump gradle-plugins version
2021-08-10 12:10:29 -07:00
Nikita Salnikov-Tarnovski 32351d0bab
Publish muzze plugins to Gradle Plugin Portal only when manually requested. (#3763)
Restored publishing to Sonatype OSS repository on every change
2021-08-04 08:59:53 +03:00
Nikita Salnikov-Tarnovski 455574635f
Publish muzze plugins to Gradle Plugin Portal (#3720) 2021-08-03 16:49:27 +03:00
Nikita Salnikov-Tarnovski a167c5c2b1
Correctly use muzzleTooling configuration to allow for external additions (#3743) 2021-08-02 21:59:21 +03:00
Nikita Salnikov-Tarnovski b14e28513f
Muzzle classloading hell (#3708)
* Running muzzle check from the correct classloader

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-07-30 10:06:15 +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 d71c63dbce
Use published muzzle code gen plugin (#3620) 2021-07-19 22:16:06 -07:00
Nikita Salnikov-Tarnovski 2077d23a62
Rename muzzle code gen plugin (#3592) 2021-07-15 20:29:50 -07:00
Nikita Salnikov-Tarnovski 6a9b3ae37f
More publishing fixes (#3591) 2021-07-15 21:50:47 +03:00
Nikita Salnikov-Tarnovski 1d4a1bfa73
Call correct tasks for publishing (#3586)
* Call correct tasks for publishing

* Don't close sonatype repo
2021-07-15 17:53:09 +03:00
Nikita Salnikov-Tarnovski d8dabf5c76
Publish gradle plugins to Sonatype (#3571)
* Publish gradle plugins to Sonatype

* Change artifact group
2021-07-15 14:07:10 +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