Commit Graph

36 Commits

Author SHA1 Message Date
OpenTelemetry Bot 9eb3f78326
Update the SDK and instrumentation versions to 1.19.0 (#519)
Update the SDK and instrumentation versions to `1.19.0`.

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-10-13 19:06:33 -07:00
Trask Stalnaker 3f02eedf7f
Target maven 3.5.0 (#472)
Resolves #467
2022-10-03 13:07:52 -07:00
dependabot[bot] 068e492a98
Bump plexus-component-annotations from 2.1.0 to 2.1.1 (#464) 2022-09-22 11:13:19 -07:00
Mateusz Rzeszutek f3d64a4601
Bump spotless version (#414) 2022-08-05 19:15:21 +02:00
jack-berg 71bc65d2f2
Update to 1.15.0 (#358)
* Update to 1.15.0

* Fix

* Upgrade to opentelemetry-instrumentation 1.15.0

* Fix jmx-metrics integration test

* Fix InstrumenterHelperTest

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-06-17 12:53:24 -07:00
Anuraag Agrawal 086c36744b
Update to OTel 1.13 (#287) 2022-04-11 21:31:19 +09:00
Trask Stalnaker e345310597
Sync github actions, including release workflow (#274)
* Sync github actions, other than release actions

* Add release workflow

* Remove nebula

* fix

* Add missing workflow

* Fix link

* more

* Updates

* Sentence case

* more
2022-03-29 10:21:24 -07:00
Trask Stalnaker 36eae59bce
Use relative links (#273) 2022-03-25 14:11:19 +09:00
Anuraag Agrawal 9d0cb84c12
Update docs for 1.10 release (#202) 2022-01-18 17:29:03 +09:00
Cyrille Le Clerc 5d2edc2def
Make `VERSION` not public (#198) 2022-01-16 13:07:45 -08:00
Cyrille Le Clerc 1faf083e2d
Reduce the cardinality of mojo span names (#192) 2022-01-14 14:20:36 -08:00
Cyrille Le Clerc be003daa78
[Maven Extension] Add Tracer instrumentationVersion (ie `otel.library.version`) (#191)
* Add Trace instrumentationVersion

* Simplify code
2022-01-14 14:19:55 -08:00
Cyrille Le Clerc ce288b034e
Fix default `service.name` + simplify configuration using Otel AutoConfig SDK 1.10 ResourceProvider SPI improvements (enable specifying the classloader making it compatible with Maven Plexus) (#187) 2022-01-13 11:12:41 -08:00
Cyrille Le Clerc 36a34a9d95
Fix `service.name` attribute overwrite (#184) 2022-01-12 10:37:29 -08:00
Trask Stalnaker 383582cfa6
Add more component owners (#172)
* Add more component owners

* Fix the build
2022-01-07 14:18:25 -08:00
Anuraag Agrawal d6beb881c2
Update errorprone (#171) 2022-01-07 17:08:13 +09:00
Anuraag Agrawal 6ed9ba70d1
Fail build on warnings (#170)
* Fail build on warnings

* Update dependencyManagement/build.gradle.kts

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-07 16:15:27 +09:00
Cyrille Le Clerc 4c2ee90767
Fix lifecycle to support the Maven Daemon (#169) 2022-01-06 22:50:32 -08:00
Trask Stalnaker 6608e448bc
Add maven extension component owners to README (#167)
* Add maven extension component owners to README

* Update xray readme also
2022-01-04 20:09:12 -08:00
Cyrille Le Clerc 06366ba8eb
Remove thread name from log messages for performances (#163) 2022-01-04 17:51:48 +09:00
Cyrille Le Clerc 2c02e42003
[maven-extension] Capture details on mojo goal executions: `deploy:deploy`, `spring-boot:build-image`, `jib:build`, `snyk:test`, `snyk:monitor` (#146)
* Capture details on mojo goal executions: deploy:deploy, spring-boot:build-image

* Update screenshot

* Make spotless happy

* Clarify TODO + better class name

* Improve code

* Code cleanup

* Code cleanup

* Add handlers for `snyk:test` and `snyk:monitor`

* Add support for the Google Maven Jib Plugin

* Add unit tests, code cleanup

* Better README.md

* Better README.md

* Cleanup code

* Iterate on the semantic conventions

* Replace Optional by `@Nullable

* Make the built-in MojoGoalExecutionHandlers non-public while keeping the SPI mechanism

* Make the built-in MojoGoalExecutionHandlers non-public while keeping the SPI mechanism

* spotless apply

* Stop capturing auth username waiting for config flag to disable this

* Fix Javadocs

* Fix typo
2022-01-03 15:49:55 -08:00
Cyrille Le Clerc 8cf71605a5
support Maven Parallel Builds (#161) 2022-01-03 14:48:52 -08:00
Anuraag Agrawal 7b888a1ce6
Enable errorprone (#150)
* Enable errorprone

* git add
2021-12-16 21:56:10 +09:00
Anuraag Agrawal 8992cf8dbd
Update changelog and readme for 1.9 (#144)
* Update changelog and readme for 1.9

* Just a bit of moving around
2021-12-03 14:47:01 +09:00
Cyrille Le Clerc 92998b6791
[Maven-Extension] Use Auto Configure Otel SDK Builder (#132)
* Use Auto Configuration Otel SDK Builder

* Cleanup

* Cleanup

* set default otel exporter to "none" rather than "otlp" if no otlp endpoint is defined

* Bump dependency

* Cleanup

* Cleanup

* fix bug, use uppercase for env vars

* Rely on the OkHttp impl of gRPC bundled with otel SDK 1.9

* Rollback renaming to ease PR review

* Rollback change to ease PR review

* formatting

* Simplify configuration logic: default `-Dotel.traces.exporter` / `OTEL_TRACES_EXPORTER` to `none

* spotless glitch

* Code cleanup
2021-11-27 12:06:55 +09:00
Cyrille Le Clerc 30e3b12d44
Update README, bump version to 1.7.0-alpha (#129) 2021-10-29 16:18:13 +09:00
Cyrille Le Clerc 48ec2e13f3
[maven-extension] Use the Otel SDK Auto Configuration Extension (#112)
* Use the Otel SDK Auto Configuration Extension

* Fix typo: "coma" -> "comma"

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-10-18 14:09:29 +09:00
Cyrille Le Clerc 4e3bdbdbb6
Option to disable the creation of spans per mojo goal execution (#108)
* Option to disable the creation of spans per mojo goal execution

* Better documentation

* Small doc tweak

* Use config param `OTEL_INSTRUMENTATION_MAVEN_MOJOS_ENABLED` instead of `OTEL_MAVEN_INSTRUMENTATION_MOJOS_ENABLED`

* config param: `maven.mojo` / `MAVEN_MOJO` rather than `maven.mojos` / `MAVEN_MOJOS`

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-10-11 13:26:49 -07:00
Ken Finnigan d5670be760
Set `noop()` OpenTelemetry instance locally (#94) 2021-09-27 10:30:03 -07:00
Trask Stalnaker b5d88e223c
Update spotless config and add .editorconfig (#100)
* Update spotless config and add .editorconfig

* spotlessApply
2021-09-27 17:16:23 +09:00
Victor Martinez 10993ce500
[maven-extension] Add SpanKind (#91) 2021-09-23 17:36:31 -07:00
Cyrille Le Clerc e024d7d675
Manually remove from pom.xml the dependencies that have been inlined by the shadow plugin (#87)
* Manually remove from pom.xml the dependencies that have been inlined by the shadow plugin

* Manually remove from pom.xml the dependencies that have been bundled by the shadow plugin
2021-09-24 08:11:37 +09:00
Cyrille Le Clerc 3e6b4b5678
Document workaround for #86 (#88) 2021-09-23 15:53:31 -07:00
Anuraag Agrawal 1bbcac2224
Update maven-extension README for release (#85) 2021-09-22 21:48:29 +09:00
Cyrille Le Clerc cf4b2452bc
Use opentelemetry-java-contrib URL for images (#84) 2021-09-22 09:12:54 +09:00
Cyrille Le Clerc b72d168e4c
Maven OpenTelemetry Extension initial commit (#79) 2021-09-21 11:37:45 -07:00