Commit Graph

170 Commits

Author SHA1 Message Date
Trask Stalnaker f827399801
Remove unused var (#7192)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-11-16 09:04:24 +01:00
dependabot[bot] 761751b08c
Bump versions.opentelemetry from 1.20.0 to 1.20.1 in /examples/extension (#7190) 2022-11-15 14:38:09 -08:00
dependabot[bot] 4c98a72ee5
Bump versions.opentelemetry from 1.19.0 to 1.20.0 in /examples/extension (#7142) 2022-11-11 14:57:28 -08:00
dependabot[bot] e293fe2ec1
Bump logback-classic from 1.2.11 to 1.4.4 in /examples/extension (#7056) 2022-11-09 08:14:45 -08:00
dependabot[bot] e06b571f4b
Bump jackson-databind from 2.13.4.2 to 2.14.0 in /examples/extension (#7094) 2022-11-07 16:53:41 -08:00
dependabot[bot] 62a234ef48
Bump jackson-databind from 2.11.2 to 2.13.4.2 in /examples/extension (#7073) 2022-11-05 01:24:17 +00:00
dependabot[bot] 895d73d3c7
Bump okhttp from 3.12.12 to 4.10.0 in /examples/extension (#7053) 2022-11-04 18:20:38 -07:00
dependabot[bot] 0ee16b2ffd
Bump junit-jupiter-engine from 5.9.0 to 5.9.1 in /examples/extension (#7074) 2022-11-05 01:09:11 +00:00
dependabot[bot] d6b4388ae0
Bump opentelemetry-proto from 0.16.0-alpha to 0.19.0-alpha in /examples/extension (#7057) 2022-11-04 23:34:50 +00:00
dependabot[bot] e9087f2e45
Bump versions.opentelemetry from 1.18.0 to 1.19.0 in /examples/extension (#7071) 2022-11-04 16:03:28 -07:00
dependabot[bot] c8fca03866
Bump testcontainers from 1.16.2 to 1.17.5 in /examples/extension (#7068) 2022-11-04 22:59:13 +00:00
dependabot[bot] 8d182f2605
Bump com.diffplug.spotless from 6.3.0 to 6.11.0 in /examples/extension (#7070) 2022-11-04 22:36:20 +00:00
dependabot[bot] 1c1195f986
Bump commons-lang3 from 3.11 to 3.12.0 in /examples/extension (#7067) 2022-11-04 22:25:50 +00:00
dependabot[bot] 296580b806
Bump junit-jupiter-api from 5.9.0 to 5.9.1 in /examples/extension (#7059) 2022-11-04 15:05:15 -07:00
dependabot[bot] bb9aaa2185
Bump protobuf-java-util from 3.12.4 to 3.21.9 in /examples/extension (#7054) 2022-11-04 15:04:50 -07:00
OpenTelemetry Bot e30054eb32
Update version to 1.20.0-SNAPSHOT (#6861)
Update version to `1.20.0-SNAPSHOT`.
2022-10-12 22:01:43 +00:00
Trask Stalnaker 0d1b954d9c
Fix examples in main branch (#6626) 2022-09-14 14:55:12 -07:00
OpenTelemetry Bot 7d60e50e1e
Update version to 1.19.0-SNAPSHOT (#6623)
* Update version to 1.19.0-SNAPSHOT

* Update CHANGELOG.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-14 12:43:01 -07:00
Trask Stalnaker af61a8b578
Update to otel 1.18.0 (#6575) 2022-09-11 10:35:05 -07:00
Mateusz Rzeszutek 0d6f0b15d0
Update dependencies (#6499)
* Update dependencies

* Strictly pin slf4j and logback versions

* logback 1.3

* Only use slf4j 2.0.0 internally in the javaagent

* Pre-initialize slf4j provider

* Bump jackson version

* licenses
2022-09-06 13:04:30 -07:00
Lauri Tulmin 73b4b5b5c8
Update groovy and spock versions (#6521)
* Update groovy and spock versions

* testing-common shouldn't bundle junit api
2022-08-31 10:43:36 +03:00
OpenTelemetry Bot 0379d5a336
Update version to 1.18.0-SNAPSHOT (#6488) 2022-08-18 12:51:03 -07:00
Trask Stalnaker faa99b2eeb
Update SDK to 1.17.0 (#6467)
* Update SDK to 1.17.0

* Fix

* Update licenses

* Spotless

* license
2022-08-12 17:10:46 -07:00
Trask Stalnaker 6ded36095e
Small release improvements (#6433) 2022-08-08 08:39:30 -07:00
OpenTelemetry Bot 5ed0551537
Update version to 1.17.0-SNAPSHOT (#6343) 2022-07-19 11:02:30 -07:00
Lauri Tulmin 8de4030df6
Update to OpenTelemetry SDK 1.16.0 (#6318) 2022-07-13 13:01:41 +03:00
Trask Stalnaker 177f0aec7c
Rename instrumentation-api-annotation-support (#6288) 2022-07-08 17:07:41 -07:00
Mateusz Rzeszutek 4cfdd8f0bc
Bump versions in examples (#6239) 2022-06-29 13:08:51 +03:00
OpenTelemetry Java Bot 8687fc6de4
Update version to 1.16.0-SNAPSHOT (#6180) 2022-06-16 14:47:27 -07:00
OpenTelemetry Java Bot 351cac3d4d
Update version to 1.15.0-SNAPSHOT (#6042) 2022-05-16 21:17:30 -07:00
Mateusz Rzeszutek d919f84cf8
Merge javaagent-instrumentation-api into javaagent-extension-api (#5936)
* Merge javaagent-instrumentation-api into javaagent-extension-api

* remove some leftover references to javaagent-instrumentation-api

* add missing instrumentation-api to distro example
2022-04-28 20:11:15 -07:00
github-actions[bot] e15dbea4a6
Update version (#5870)
Co-authored-by: opentelemetry-java-bot <97938252+opentelemetry-java-bot@users.noreply.github.com>
2022-04-18 16:44:50 -07:00
Anuraag Agrawal e58d39d4ad
Update to OTel 1.13 (#5799)
* Update to OTel 1.13

* Fix test

* Foo

* Fix app server test and start yak shaving

* Yak

* Yak

* groovy fail

* Yak

* GROOVY

* yak farm
2022-04-13 13:16:32 +03:00
Mateusz Rzeszutek b668e73e13
Convert all logging statements from slf4j to jul (#5674)
* Convert all logging statements from slf4j to jul

* code review comments

* fix tests

* Fix randomly failing test
2022-03-25 10:02:51 -07:00
Anuraag Agrawal cf805d87e0
Run Gradle and compile code with Java 17 (#5623)
* Run Gradle and compile code with Java 17

* Fix examples

* Update spotless version

* Add spotless Java 17 workaround

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-18 15:38:51 -07:00
Mateusz Rzeszutek 309618845c
Update distro and extension examples to use AutoConfigurationCustomiz… (#5574)
* Update distro and extension examples to use AutoConfigurationCustomizerProvider

* Rename the SPI file too
2022-03-14 17:44:14 -07:00
github-actions[bot] 7f92167b3f
Bump snapshot version (#5550)
Co-authored-by: opentelemetry-java-bot <97938252+opentelemetry-java-bot@users.noreply.github.com>
2022-03-11 19:01:33 -08:00
github-actions[bot] ede66d3321
Bump snapshot version (#5355)
Co-authored-by: opentelemetry-java-bot <97938252+opentelemetry-java-bot@users.noreply.github.com>
2022-02-11 14:29:39 -08:00
Mateusz Rzeszutek b57e3bdd6e
Bump version to 1.11.0-SNAPSHOT on the main branch (#5161) 2022-01-18 09:33:47 +01: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
Mateusz Rzeszutek 4fb6c35436
Bump the SDK version in examples (#5018) 2022-01-05 12:35:54 -08: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
Nikita Salnikov-Tarnovski d20961621e
Cleaner manifest preservation (#4750)
* Cleaner manifest preservation

* Add explicit dependency
2021-11-30 07:57:14 -08:00
Nikita Salnikov-Tarnovski 50bfdd1043
Upgrade testcontainers version (#4727)
* Upgrade testcontainers version

* Polish

* Use more stable waiting strategy

* Upgrade all remaining testcontainrs usages
2021-11-29 09:32:41 -08:00
Trask Stalnaker a83d074863
Bump version to 1.10.0-SNAPSHOT (#4711) 2021-11-25 20:41:42 -08:00
Trask Stalnaker 63e9cfa257
Bump version (#4675)
* Bump version

* more
2021-11-19 12:52:27 -08:00
Trask Stalnaker f04f5771de
Build and test extensions with Java 8 (#4665) 2021-11-18 10:52:17 -08:00
Anuraag Agrawal 6063a16f54
Update to OTel 1.9 (#4634)
* Update to OTel 1.9

* Check null
2021-11-15 17:56:53 +09: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
Trask Stalnaker f4194e9809
Fix examples build (#4431) 2021-10-19 16:49:44 -07:00
Trask Stalnaker 236061b8e9
Bump gradle-plugins version in examples (#4427) 2021-10-19 11:44:12 -07:00
Trask Stalnaker cfdc4ac7e5
Change the default javaagent artifact to have exporters (#4106)
* Change default javaagent to all, introduce slim

* Update release builds

* Update examples build

* Update benchmark-overhead

* Update benchmark-e2e

* Update docs where ok pre-release

* Update misc

* Fix references to fullJavaagentJar

* Fix it

* Delete doc for pre-1.0 releases

* Attach backwards compatible "all" artifact to releases

* Comment

* Comment

* guessing

* fix

* Update version

* Add otlp/grpc exporter to slim artifact

* Fix comment
2021-10-02 11:28:11 -07:00
Trask Stalnaker bbd1925b00
Bump version in examples (#4226)
* Bump version in examples

* Update examples to latest muzzle
2021-09-28 22:03:57 -07:00
Anuraag Agrawal 971ca8b19c
Update to OTel 1.6 (#4120)
* Update to OTel 1.6

* Example build

* More example

* More example
2021-09-14 20:12:18 +09:00
Trask Stalnaker d90d7c80f3
Use new HelperResourceBuilder (#3976)
* Use new HelperResourceBuilder

* Use latest to avoid merge conflict
2021-08-27 09:48:16 -07:00
Trask Stalnaker 6ceeacd381
Fix examples build (#3899)
* Fix examples build

* Publish main repo artifacts locally

* Sync builds

* Fix init script?

* Fix publishing of agent-for-testing
2021-08-22 17:26:51 -07:00
Mateusz Rzeszutek d13d1cf226
Bump muzzle plugins version (#3824) 2021-08-11 23:27:17 +03: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
Nikita Salnikov-Tarnovski 5d51f03140
Use freshly released muzzle plugins (#3770) 2021-08-05 08:48:04 +03:00
Nikita Salnikov-Tarnovski 1785db5331
Extension snapshot (#3625)
* Try to build examples against locally published snapshot

* Always build examples against latest snapshot

* Add Gradle init script to remove sonatype repo

* Build examples against locally published version only during nightly builds

* Update distro demo to the latest snapshot as well
2021-07-28 15:50:27 +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 672cfb9a6c
Upgrade extensions to latest release (#3655) 2021-07-22 16:27:12 +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 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 0125a17ef2
Update distro and extension examples to 1.3.0 (#3355) 2021-06-18 11:09:42 -07:00
Nikita Salnikov-Tarnovski b9eac531ea
Embedded extension (#3237)
* Support for multiple extension jars by scanning the given folder

* Support to embed extension jar right inside agent jar

* Support for multiple embedded extensions

* Create temp folder for embedded extensions only if they found

* ExtensionClassLoader skips agent jar when scanning folder

* Apply suggestions from code review

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

* Update examples/extension/build.gradle

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

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-14 16:24:25 -07:00
Nikita Salnikov-Tarnovski aa4f07db6e
Support for multiple extension jars by scanning the given folder (#3226) 2021-06-11 11:32:52 -07:00
Lauri Tulmin 6706dbfe53
Change smoketests to use testcontainers httpclient5 transport (#3112)
* Change smoketest to use testcontainers httpclient5 transport

* Update smoke-tests/src/test/resources/testcontainers.properties

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-27 12:40:52 -07:00
Nikita Salnikov-Tarnovski 3cfd58c268
Extensions example (#3071)
* Simplify extensions example project

* Add external dependency and fat jar support

* spotless

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-25 14:57:43 +03:00
Nikita Salnikov-Tarnovski e3cf8ecf18
First POC for external extension loading (#2881)
* First POC for external extension loading

* Fix NPE

* Urlhandler

* Fix

* Polish

* Polish

* Urlhandler

* Trying Urlhandler

* Alternative way to load extensions

* Polish

* Add example extensions and smoke test for their usage

* Support for system property

* Polish

* Avoid doing remapping twice

* Polish after merge

* Update to latest changes in extentions api

* Polish

* No need for tooling

* Simplify

* Cleanup

* Better error handling

* Update to the latest API
2021-05-18 22:59:39 +03:00