Commit Graph

75 Commits

Author SHA1 Message Date
Trask Stalnaker 10d759e7c7
Update gradle in standalone modules (#5970) 2022-05-04 12:02:50 +03: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
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
Trask Stalnaker 3cb9ec7edf
Update to gradle 7.4.1 (#5535) 2022-03-10 12:31:08 +02: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 9896cab71a
Run grpc and spring-boot smoke tests against Java 17 (#4881) 2021-12-13 11:29:46 +02:00
Trask Stalnaker f5016109f2
Update remaining gradle wrappers to 7.3.1 (#4835) 2021-12-07 20:50:27 -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 f9146bcf48
Update other gradle wrappers to 7.3 (#4705) 2021-11-24 13:19:53 -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
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
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
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
Trask Stalnaker c5a8920a56
Use repo scoped ghcr package (#4166)
* smoke-test-spring-boot

* smoke-test-fake-backend

* smoke-test-grpc

* smoke-test-play

* Fix example distro build

* Fix formatting
2021-09-21 13:47:59 -07:00
Trask Stalnaker 0b9d8c37a5
Remove collector from smoke tests (#4186) 2021-09-21 12:33:01 -07:00
Trask Stalnaker 278cae4667
Don't use collector dev image (#4171)
* Update collector config

* Revert "Update collector config"

This reverts commit 4a76a944af.

* Don't use -dev collector image
2021-09-20 20:47:51 -07:00
Trask Stalnaker 28c68b91a0
Update "other" smoke tests to Java 16 (#4144)
* Update "other" smoke tests to Java 16

* Bump extraTag

* Play doesn't support Java 16 (or 17) yet

* Fix formatting
2021-09-17 11:50:21 -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 62c604f2f5
Format java files in standalone projects (#4105) 2021-09-13 16:16:25 +09:00
Trask Stalnaker 2d79e6a6ef
Upgrade all gradle wrappers (#4107)
* Upgrade all gradle wrappers

* Add doc
2021-09-13 16:16:10 +09:00
Trask Stalnaker c13eb7932e
Update collector port (#4071) 2021-09-08 18:18:05 -07:00
Trask Stalnaker 79f4351e5c
Fix examples build again (#3983) 2021-08-26 23:57:26 -07:00
Trask Stalnaker 99de444ffc
Remove zipkin from otel collector smoke test config (#3953)
* Remove zipkin from otel collector smoke test config

* Smoke tests too
2021-08-25 12:17:23 -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
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 901bae57b4
Make HelperInjector's dependency on Instrumentation instance more visible (#3491)
* Make HelperInjector's dependency on Instrumentation instance more visible

* Polish

* Polish

* Fix docs
2021-07-06 07:44:26 +03:00
Mateusz Rzeszutek 0125a17ef2
Update distro and extension examples to 1.3.0 (#3355) 2021-06-18 11:09:42 -07:00
Anuraag Agrawal e9244e6398
Directly initialize OkHttp without using test util. (#3304)
* Directly initialize OkHttp without using test util.

* Consistent version with smoke test
2021-06-15 18:42:55 +09:00
Trask Stalnaker bec9966e30
Fix failing test (#3269) 2021-06-12 11:37:04 +03:00
Trask Stalnaker fb0d047fce
Last type instrumentations to top-level classes (#3123) 2021-05-30 16:05:31 -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 51b2f31c3c
Fix broken link (#3034)
* Fix broken link

* Update examples/distro/README.md

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

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-05-19 09:54:35 -07:00
Mateusz Rzeszutek 8be4148dea
Update examples/distro to 1.2.0 (#3020) 2021-05-17 12:12:17 -07:00
Anuraag Agrawal fe41885ee6
Switch to colon notation for dependencies. (#2994)
* Switch to colon notation for dependencies.

* Even more cleanup

* Revert mistake
2021-05-15 15:31:06 +09:00
Lauri Tulmin 2df0bb4b51
Pass jvm arguments from env var on windows payara (#2874)
* Pass jvm arguments from env var on windows payara

* enable more debug logging

* capture test output

* use the same fake backend as regular smoke test
2021-04-27 11:22:19 +03:00
Trask Stalnaker 3bc058b10b
Don't create duplicate headers (#2727)
* Test infra

* Update examples

* Update instrumentation

* Update tests

* jaxrs-client fixes

* Remove doRequest/doReusedRequest

* Fix muzzle

* some fixes

* fix test

* doc

* not private

* Apply to doRequestWithCallback also

* Update doc

* groovy

* better

* Don't hardcode traceparent

* Reuse request in SpringRestTemplateTest
2021-04-12 12:21:16 +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