Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micronaut 4.x instrumentation #3355

Closed
wants to merge 46 commits into from

Conversation

schikin
Copy link

@schikin schikin commented Oct 11, 2023

What does this PR do?

Instrumentation for micronaut 4.x

Checklist

  • This is an enhancement of existing features, or a new feature in existing plugins
    • I have updated CHANGELOG.asciidoc
    • I have added tests that prove my fix is effective or that my feature works
    • Added an API method or config option? Document in which version this will be introduced
    • I have made corresponding changes to the documentation
  • This is a bugfix
  • This is a new plugin
    • I have updated CHANGELOG.asciidoc
    • My code follows the style guidelines of this project
    • I have made corresponding changes to the documentation
    • I have added tests that prove my fix is effective or that my feature works
    • New and existing unit tests pass locally with my changes
    • I have updated supported-technologies.asciidoc
    • Added an API method or config option? Document in which version this will be introduced
    • Added an instrumentation plugin? Describe how you made sure that old, non-supported versions are not instrumented by accident.
  • This is something else

Sergey Chikin and others added 30 commits September 4, 2023 20:57
…lastic#3307)

Bumps `version.aws.sdk` from 2.20.122 to 2.20.139.

Updates `software.amazon.awssdk:s3` from 2.20.122 to 2.20.139

Updates `software.amazon.awssdk:sqs` from 2.20.122 to 2.20.139

Updates `software.amazon.awssdk:dynamodb` from 2.20.122 to 2.20.139

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ation (elastic#3303)

* Disable ES client instrumentation for ES client versions with native instrumentation

Signed-off-by: Alexander Wert <[email protected]>


---------

Signed-off-by: Alexander Wert <[email protected]>
Co-authored-by: Jonas Kunz <[email protected]>
…lastic#3310)

Bumps `version.aws.sdk` from 2.20.139 to 2.20.141.

Updates `software.amazon.awssdk:s3` from 2.20.139 to 2.20.141

Updates `software.amazon.awssdk:sqs` from 2.20.139 to 2.20.141

Updates `software.amazon.awssdk:dynamodb` from 2.20.139 to 2.20.141

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [io.micrometer:micrometer-core](https://github.com/micrometer-metrics/micrometer) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases)
- [Commits](micrometer-metrics/micrometer@v1.11.2...v1.11.3)

---
updated-dependencies:
- dependency-name: io.micrometer:micrometer-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ic#3301)

Bumps [co.elastic.clients:elasticsearch-java](https://github.com/elastic/elasticsearch-java) from 8.9.0 to 8.9.1.
- [Release notes](https://github.com/elastic/elasticsearch-java/releases)
- [Changelog](https://github.com/elastic/elasticsearch-java/blob/main/CHANGELOG.md)
- [Commits](elastic/elasticsearch-java@v8.9.0...v8.9.1)

---
updated-dependencies:
- dependency-name: co.elastic.clients:elasticsearch-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add error reporting API to tracer-api.

* Added missing @OverRide annotations

---------

Co-authored-by: Jonas Kunz <[email protected]>
….5 (elastic#3318)

Bumps [com.datastax.cassandra:cassandra-driver-core](https://github.com/datastax/java-driver) from 3.11.4 to 3.11.5.
- [Release notes](https://github.com/datastax/java-driver/releases)
- [Commits](apache/cassandra-java-driver@3.11.4...3.11.5)

---
updated-dependencies:
- dependency-name: com.datastax.cassandra:cassandra-driver-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…core module of plugins. (elastic#3272)

* Move ServiceInfo to tracer-api within custom tracer submodule.

* Restore package structure and split test for ServiceInfo.
* Create catalog-info file

* Update .buildkite/load-testing.yml

---------

Co-authored-by: Jan Calanog <[email protected]>
Bumps [io.micrometer:micrometer-core](https://github.com/micrometer-metrics/micrometer) from 1.11.3 to 1.11.4.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases)
- [Commits](micrometer-metrics/micrometer@v1.11.3...v1.11.4)

---
updated-dependencies:
- dependency-name: io.micrometer:micrometer-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump version.byte-buddy from 1.14.7 to 1.14.8

Bumps `version.byte-buddy` from 1.14.7 to 1.14.8.

Updates `net.bytebuddy:byte-buddy` from 1.14.7 to 1.14.8
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](raphw/byte-buddy@byte-buddy-1.14.7...byte-buddy-1.14.8)

Updates `net.bytebuddy:byte-buddy-agent` from 1.9.16 to 1.14.8
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](raphw/byte-buddy@byte-buddy-1.9.16...byte-buddy-1.14.8)

Updates `net.bytebuddy:byte-buddy-dep` from 1.14.7 to 1.14.8
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](raphw/byte-buddy@byte-buddy-1.14.7...byte-buddy-1.14.8)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-agent
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.bytebuddy:byte-buddy-dep
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update integration-tests/runtime-attach/runtime-attach-app/pom.xml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jackshirazi <[email protected]>
…=false (elastic#3326)

* OpenTelemetry metrics exporter instrumentation should be enabled even with instrument=false

* Added changelog

* Reproduce failure in tests
apmmachine and others added 16 commits October 11, 2023 17:57
* action: use https://github.com/jlumbroso/free-disk-space/releases/tag/v1.3.0

* continue on error

* action: use free-disk-space action in non-app-server-integration-tests
* add minimal mergify config

* add rule with label for PRs
* keep java11 compat. for jsonunit

* use GA JDK 21
…lastic#3341)

Bumps `version.aws.sdk` from 2.20.141 to 2.20.157.

Updates `software.amazon.awssdk:s3` from 2.20.141 to 2.20.157

Updates `software.amazon.awssdk:sqs` from 2.20.141 to 2.20.157

Updates `software.amazon.awssdk:dynamodb` from 2.20.141 to 2.20.157

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
… 3.1.4 (elastic#3330) (elastic#3330)

Bump org.springframework.boot:spring-boot-dependencies

Bumps [org.springframework.boot:spring-boot-dependencies](https://github.com/spring-projects/spring-boot) from 2.7.10 to 3.1.4.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v2.7.10...v3.1.4)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* keep testing latest 2.x version

* keep 2.x where we need it

Co-authored-by: jackshirazi <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…#3329)

* captured span.sync attribute for ES restclient spans plugins

---------

Co-authored-by: Sylvain Juge <[email protected]>
Bumps org.ow2.asm:asm-tree from 9.5 to 9.6.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm-tree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…lastic#3353)

* Fix multiple spans being created for HTTPUrlConnection HEAD requests

* Added changelog

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@cla-checker-service
Copy link

❌ Author of the following commits did not sign a Contributor Agreement:
a7a6827, d77bfef, d583b3b, 2fd5657, de6429e, 4cca79e, c7cb253, 60eb0c1, , , , , , , , , 68b100a, , , 51e4f74, , , e77665a, , 2758bd0, 14cc8f4

Please, read and sign the above mentioned agreement if you want to contribute to this project

@schikin schikin changed the title Feat/micronaut instrumentation Micronaut 4.x instrumentation Oct 11, 2023
@github-actions github-actions bot added agent-java community Issues and PRs created by the community triage labels Oct 11, 2023
@github-actions
Copy link

👋 @schikin Thanks a lot for your contribution!

It may take some time before we review a PR, so even if you don’t see activity for some time, it does not mean that we have forgotten about it.

Every once in a while we go through a process of prioritization, after which we are focussing on the tasks that were planned for the upcoming milestone. The prioritization status is typically reflected through the PR labels. It could be pending triage, a candidate for a future milestone, or have a target milestone set to it.

@schikin schikin closed this Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-java community Issues and PRs created by the community triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants