Commit Graph

528 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
jack-berg 97f036c3e5
Stop relocating :instrumentation:resources:library (#7136)
Per the discussion in the today's SIG and this
[comment](https://github.com/open-telemetry/opentelemetry-java/issues/4919#issuecomment-1305774636).

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-11-15 22:37:17 +00:00
dependabot[bot] fc9297d111
Bump mockito-core from 4.8.1 to 4.9.0 in /examples/distro (#7187) 2022-11-15 14:36:27 -08:00
dependabot[bot] 151af9c9b3
Bump opentelemetry-api from 1.20.0 to 1.20.1 in /examples/distro (#7188) 2022-11-15 14:35:52 -08:00
dependabot[bot] c018dc95ea
Bump versions.opentelemetry from 1.20.0 to 1.20.1 in /examples/distro (#7189) 2022-11-15 14:35:37 -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] 354e5c2a1c
Bump opentelemetry-api from 1.19.0 to 1.20.0 in /examples/distro (#7144) 2022-11-11 14:56:58 -08:00
dependabot[bot] 0c6bfad412
Bump versions.opentelemetry from 1.19.0 to 1.20.0 in /examples/distro (#7143) 2022-11-11 14:56:29 -08:00
Trask Stalnaker 597b2a5321
More spotless (#7126) 2022-11-11 05:01:21 +00:00
Trask Stalnaker 5345c87680
End groovy files with newline (#7127) 2022-11-10 12:21:55 +01:00
dependabot[bot] 779613a8ed
Bump logback-classic from 1.2.11 to 1.4.4 in /examples/distro (#7081) 2022-11-09 08:15:41 -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] 2152feaabf
Bump jetty-servlet from 8.0.0.v20110901 to 8.2.0.v20160908 in /examples/distro (#7113) 2022-11-08 23:20:27 +00:00
dependabot[bot] afe2a832c1
Bump jetty-server from 8.0.0.v20110901 to 8.2.0.v20160908 in /examples/distro (#7112) 2022-11-08 14:53:43 -08:00
dependabot[bot] 331d6a0155
Bump jackson-databind from 2.13.4.2 to 2.14.0 in /examples/distro (#7093) 2022-11-07 16:54:04 -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] cd641192f4
Bump junit-jupiter-api from 5.9.0 to 5.9.1 in /examples/distro (#7075) 2022-11-05 01:35:08 +00:00
dependabot[bot] f9fcdc093b
Bump mockito-core from 3.3.3 to 4.8.1 in /examples/distro (#7076) 2022-11-05 01:25:18 +00: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] b2e8324664
Bump opentelemetry-proto from 0.16.0-alpha to 0.19.0-alpha in /examples/distro (#7062) 2022-11-04 18:20:01 -07:00
dependabot[bot] 10b26b72c9
Bump gradle-plugins from 1.18.0-alpha-SNAPSHOT to 1.20.0-alpha-SNAPSHOT in /examples/distro (#7077) 2022-11-04 18:17:41 -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] 770041d582
Bump jackson-databind from 2.11.2 to 2.13.4.2 in /examples/distro (#7079) 2022-11-05 01:06:56 +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] 0a86514e5b
Bump junit-bom from 5.9.0 to 5.9.1 in /examples/distro (#7060) 2022-11-04 23:20:54 +00:00
dependabot[bot] 867284a160
Bump versions.opentelemetry from 1.18.0 to 1.19.0 in /examples/distro (#7058) 2022-11-04 16:04:39 -07:00
dependabot[bot] af4c7a209b
Bump okhttp from 3.12.12 to 4.10.0 in /examples/distro (#7061) 2022-11-04 16:03:44 -07: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] 8b76b4b969
Bump junit-jupiter-engine from 5.9.0 to 5.9.1 in /examples/distro (#7064) 2022-11-04 22:59:41 +00: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] 1b9bcf7fb0
Bump byte-buddy-dep from 1.12.10 to 1.12.18 in /examples/distro (#7063) 2022-11-04 22:35:39 +00:00
dependabot[bot] bef4bf6399
Bump opentelemetry-api from 1.6.0 to 1.19.0 in /examples/distro (#7055) 2022-11-04 22:30:57 +00:00
dependabot[bot] 5a4c72a6e8
Bump testcontainers from 1.16.2 to 1.17.5 in /examples/distro (#7066) 2022-11-04 22:27:35 +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] 27304ecd45
Bump spotless-plugin-gradle from 6.3.0 to 6.11.0 in /examples/distro (#7065) 2022-11-04 15:19:15 -07:00
dependabot[bot] d732d5bfbc
Bump protobuf-java-util from 3.12.4 to 3.21.9 in /examples/distro (#7052) 2022-11-04 22:13:31 +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
jack-berg aeac361816
Upgrade to otel java 1.19.0 (#6757)
Working PR to capture all the changes required to update to otel java
1.19.0. The new log API force allows
`:instrumentation-appender-api-internal` and
`:instrumentation-appender-sdk-internal`, but necessitates a decent
amount of refactoring as a result.

The PR points at the `1.19.0-SNAPSHOT`, which I'll update upon
publication.

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-10-12 09:19:37 -07: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
Mateusz Rzeszutek 8b2b3281fe
Encapsulate logging (#6543)
* Encapsulate actual logging implementation better

* Apply suggestions from code review

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

* code review comments

* revert to the old slf4j package name

* spotless

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-12 13:22:26 -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 107201425f
Improve sample distro (#6531)
* Improve sample distro

* address review comments
2022-09-02 12:40:29 +02: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
Mateusz Rzeszutek 59cb9ca0df
Remove deprecated code (#6501)
* Remove deprecated code

* unnecessary semicolon

* fix distro and extension examples
2022-08-24 14:36:57 -07: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
Mateusz Rzeszutek 08f013f9d6
Update gradle to 7.5.1 (#6359)
* Update gradle to 7.5

* Bump to 7.5.1

* gradle 7.5.1 with jdk17

* spotless

* one more --add-opens

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-08-12 12:03:43 +02:00
Trask Stalnaker 6ded36095e
Small release improvements (#6433) 2022-08-08 08:39:30 -07:00
Mateusz Rzeszutek 83a9b03c4b
Fix IgnoredTypesConfigurer extension example (#6358) 2022-07-21 17:14:14 +02: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
Trask Stalnaker 65251c4e8a
Use addSamplerCustomizer in demo extension (#6204)
* Use addSamplerCustomizer in demo extension

* Switch to ConfigurableSamplerProvider
2022-06-26 14:45:38 -07:00
OpenTelemetry Java Bot 8687fc6de4
Update version to 1.16.0-SNAPSHOT (#6180) 2022-06-16 14:47:27 -07:00
Lauri Tulmin 091197a128
Allow specifying a comma separated list of extensions (#6137)
* Allow specifying a comma separated list of extensions

* update doc

* typo

* Update examples/extension/README.md

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-06-08 13:34:37 +03:00
AndyChen 09457bd431
Doc multiple java agent extension (#6132) (#6133)
* Doc multiple java agent extension  (#6132)

* polished
2022-06-02 12:31:32 -07:00
OpenTelemetry Java Bot 351cac3d4d
Update version to 1.15.0-SNAPSHOT (#6042) 2022-05-16 21:17:30 -07:00
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
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
Trask Stalnaker 3cb9ec7edf
Update to gradle 7.4.1 (#5535) 2022-03-10 12:31:08 +02:00
Ken Dombeck 704f161cea
Fix broken link in examples documentation (#5427) 2022-02-22 12:58:50 -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 9896cab71a
Run grpc and spring-boot smoke tests against Java 17 (#4881) 2021-12-13 11:29:46 +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
Trask Stalnaker f5016109f2
Update remaining gradle wrappers to 7.3.1 (#4835) 2021-12-07 20:50:27 -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 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
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 7ae89fa3b9
Post 1.6.0 release updates (#4108) 2021-10-19 22:31:08 -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 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
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 1ea73278d4
Fix extension shading (#4064) 2021-09-08 07:55:44 -07: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 79f4351e5c
Fix examples build again (#3983) 2021-08-26 23:57:26 -07:00
Nikita Salnikov-Tarnovski 28db0c30cd
Deprecate old extensions (#3825)
* Introduce stable property for external extensions

* Update docs to use stable extension property.

Also log a warning if deprecated otel.javaagent.experimental.exporter.jar is used.

* Format

* Format

* Polish
2021-08-25 13:59:17 -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
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
Fabrizio Ferri-Benedetti c24da7bdd7
Improve extension sample documentation and add it to the README file (#3656)
* First commit

* Update examples/extension/README.md

Co-authored-by: John Watson <jkwatson@gmail.com>

* Update README.md

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Update docs/agent-config.md

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Update examples/extension/README.md

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Update examples/extension/README.md

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Update examples/extension/README.md

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

* Edits

* Readme update

Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2021-07-26 12:34:53 +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 73ed96ab82
Document the possibility to embed extension into agent jar (#3624) 2021-07-19 12:11:21 -07: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
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
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
Trask Stalnaker f1beb2397f
Intellij cleanup of markdown and yaml (#3284)
* Intellij cleanup of markdown and yaml

* Revert required yaml param
2021-06-14 13:13:01 +03:00
Trask Stalnaker bec9966e30
Fix failing test (#3269) 2021-06-12 11:37:04 +03:00
Nikita Salnikov-Tarnovski aa4f07db6e
Support for multiple extension jars by scanning the given folder (#3226) 2021-06-11 11:32:52 -07: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 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 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
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
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
Trask Stalnaker e8ebf4b8a2
Update example distro to 1.0.0 (#2507) 2021-03-07 20:12:00 -08:00
Jakub Wach 9a5bc66329
AWS SDK - SNS to SQS tracing propagation test (#2483) 2021-03-04 13:33:22 -08:00
Trask Stalnaker 4c816105d2
Fix grpc smoke build (#2439) 2021-03-01 16:54:18 +09:00
Trask Stalnaker 475830789c
Update to otel-java 1.0.0 (#2431)
* Update to otel-java 1.0.0

* Fix test

* Fix another test

* Fix another test

* Fix hibernate tests

* Fix spring-data tests

* Spotless
2021-02-28 11:15:27 -08:00
Mateusz Rzeszutek 90350ba6d5
Remove unnecessary muzzle log configuration in tests (#2411) 2021-02-25 18:57:35 +01:00
Mateusz Rzeszutek 9e535827e4
Add custom distro instrumentation unit test example (#2373) 2021-02-24 12:33:44 -08:00
Mateusz Rzeszutek 5490e5b4c5
Update distro example to 0.17.0 (#2371) 2021-02-22 11:41:12 -08:00
Anuraag Agrawal 000df967ce
Update to SDK 0.17.0 (#2338)
* Update to SDK 0.17.0

* Finish

* ottrace
2021-02-19 15:51:55 +09:00
Mateusz Rzeszutek e98da2a3a2
Fix VerifyError in examples/distro servlet instrumentation (#2319) 2021-02-17 21:55:00 +02:00
Christian Neumüller 39e194a61f
examples/distro: Update to newest released versions, fix build. (#2290)
* Fix build of examples/distro.

* examples/distro: Fix smoke test.
2021-02-16 09:08:02 +09:00
Trask Stalnaker c91bff41cb
Add comment about extension shading (#2235) 2021-02-10 09:39:33 +02:00
Anuraag Agrawal fc410706d0
Update to Sdk 0.16.0 (#2221)
* Update to 0.16.0-SNAPSHOT

* Finish

* Finish

* Update to 0.16.0

* Finish
2021-02-09 18:00:54 +09:00
Gábor Lipták 5bf9f34caa
Bring org.testcontainers to 1.15.1 (#2178)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-02-03 08:01:04 +02:00
Nikita Salnikov-Tarnovski 6c76ebf99d
Add documentation for available instrumentation customisation options (#2112)
* Add documentation for available instrumentation customisation options

* Add link to existing example
2021-01-25 22:01:56 +02:00
Nikita Salnikov-Tarnovski 746898da04
Update vendor distribution customization demo with new SDK and agent configurations (#2088)
* Update vendor distribution customization demo with new SDK and agent configurations

* Update doc
2021-01-22 15:51:10 +09:00
Anuraag Agrawal 78ef219f74
Remove queued_retry from repo (#2095) 2021-01-22 14:06:07 +09:00
jason plumb 9336bf0ecb
updates the examples to use latest otel (#2081) 2021-01-19 10:13:43 -08:00
Mateusz Rzeszutek 660f0e5225
Remove testing-common dependency on guava (#2062)
* Remove testing-common dependency on guava

* Use nano time

* Add guava dep to opentelemetry-api-metrics
2021-01-19 12:07:27 +09:00
jason plumb 7957293038
update auto-service from rc3 to rc7 (a 3 year difference!) (#2053) 2021-01-15 08:52:49 +09: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
Nikita Salnikov-Tarnovski 52cecb5209
Update to 0.13 (#1961) 2020-12-26 10:28:47 +02:00
Nikita Salnikov-Tarnovski 9556992cbc
Update vendor distro example to 0.12 (#1875) 2020-12-10 10:25:33 +02:00
Trask Stalnaker 0c8d7fe73f
Miscellaneous cleanup (#1805)
* Remove outdated doc

* Remove unnecessary dependencies

* Formatting

* Rename TRACER to tracer

* Move WrappedFuture to top-level class

* Add missing shadow config

* Use simpler type

* Use simpler base class
2020-11-29 21:05:53 -08:00
Nikita Salnikov-Tarnovski 3e4bb25e96
Update README.md (#1743)
Fix link
2020-11-23 20:17:43 +02:00
Nikita Salnikov-Tarnovski 3185abac10
Add example of creating custom vendor distribution (#1621) 2020-11-21 11:00:53 -08:00
Tyler Benson 2526d30532 Remove examples and cleanup ignores 2018-05-24 11:13:00 +10:00
Tyler Benson 9a52303376 Apply jacoco to every java project
Some projects have ignores/whitelists, but generally coverage is pretty high.

AFAIK, this doesn’t really capture instrumentation test coverage though.
2018-05-04 16:23:32 +10:00
Tyler Benson f35e2e6ebe Remove various warnings and other cleanup
Also upgrade some plugins.
2018-05-04 14:05:06 +10:00
Andrew Kent a34d8f7876
Merge pull request #293 from DataDog/tyler/upgrade
Upgrade Byte-buddy to 1.8.8
2018-04-30 15:42:21 -07:00
Tyler Benson 8abbccc09c Upgrade shadow plugin version. 2018-04-30 16:18:48 +10:00
Tyler Benson 252fa92200 Upgrade gradle version. 2018-04-27 12:42:51 +10:00
Tyler Benson e6179f6555 Use hardcoded operation names for integrations
Backend has issues with variable operation names.

Also reduce dependencies on OT-contribs.
2018-04-27 12:37:19 +10:00
Tyler Benson 57eade612f Upgrade Byte-buddy to 1.8.8
Also remove some erronously checked in files.
2018-04-26 22:53:45 +10:00
Tyler Benson 6c756afe7a Misc upgrades. 2018-03-27 11:26:46 +08:00
Gihad Murad cef86291e3 Added Redis instrumentation via Jedis client 2.9 and changed spring-boot-jdbc to spring-boot-jdbc-redis 2018-02-05 12:59:42 -05:00
Tyler Benson 64d39030e5 Use workflows in Circle to test Java 7 and 8
Java 9 is commented out because there are some test failures that will be investigated later.

Some tests had to be excluded from Java 7 because they don’t have a Java 7 compatible version.
2018-01-22 13:46:50 -05:00
Tyler Benson b2b61e0c8c Changes required for supporting OT 0.31.0
Also updates all the contrib versions that we currently depend on to their 0.31.0 supporting versions.
2018-01-16 09:52:28 -05:00
Tyler Benson 6d3d88987b Rename dd-trace-annotations to dd-trace-api
And move DDTags over to it.
Move some `datadog.trace.api` classes over to `datadog.trace.common`.
Other misc renaming.
2018-01-09 10:07:36 +10:00
Tyler Benson becf2a5862 Lots of renaming
Module:
dd-trace -> dd-trace-ot

Packages:
Standardize on `datadog.trace` and `datadog.opentracing` as the package prefixes.
2018-01-09 10:02:06 +10:00