Commit Graph

8980 Commits

Author SHA1 Message Date
dependabot[bot] d57405f26d
Bump org.slf4j:slf4j-simple from 2.0.6 to 2.0.7 in /benchmark-overhead (#8077)
Bumps [org.slf4j:slf4j-simple](https://github.com/qos-ch/slf4j) from
2.0.6 to 2.0.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/slf4j/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.slf4j:slf4j-simple&package-manager=gradle&previous-version=2.0.6&new-version=2.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 10:30:44 +02:00
dependabot[bot] 8778c57b46
Bump com.gradle.common-custom-user-data-gradle-plugin from 1.9 to 1.10 (#8075)
Bumps com.gradle.common-custom-user-data-gradle-plugin from 1.9 to 1.10.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.gradle.common-custom-user-data-gradle-plugin&package-manager=gradle&previous-version=1.9&new-version=1.10)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 10:29:58 +02:00
Lauri Tulmin f5f83fdeb8
Reduce memory usage for ClassLoaderHasClassesNamedMatcher (#7866)
See
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7698
This is an attempt to reduce memory usage for
`ClassLoaderHasClassesNamedMatcher`. Instead of having each matcher keep
a `Map<ClassLoader, Boolean>` we can have one `Map<ClassLoader, BitSet>`
where each matcher uses one bit in the `BitSet`. Alternatively
`Map<ClassLoader, Set<ClassLoaderHasClassesNamedMatcher>>` where set
contains matchers that match for given class loader would also work well
because these matchers usually don't match so we can expect to have only
a few elements in the set.
2023-03-17 18:42:55 +02:00
Eric Sirianni cf17610306
Fix typo in `jvm.gc` metric name (#8070)
As seen
[here](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/runtime-metrics/library/src/main/java/io/opentelemetry/instrumentation/runtimemetrics/GarbageCollector.java#L71)
the metric prefix is `process.runtime.jv*m*` not `process.runtime.jv*c*`
2023-03-17 00:11:57 +02:00
Lauri Tulmin b6ea6d645c
Replace cassandra session wrapper with jdk proxy (#8041)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8026
2023-03-16 13:16:25 +02:00
Tyler Benson 083acddb02
Move X-Ray Env Variable propagation to span link instead of parent (#7970)
https://github.com/open-telemetry/opentelemetry-specification/pull/3166

Per discussion in the FAAS SIG, we decided that the AWS X-Ray
environment variable should be moved to a span link to avoid interfering
with the configured propagators.

Also related to #5167.
2023-03-16 10:10:09 +02:00
dependabot[bot] 4d6ef782b3
Bump ch.qos.logback:logback-classic from 1.4.5 to 1.4.6 in /examples/extension (#8063)
Bumps
[ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from
1.4.5 to 1.4.6.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/logback/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ch.qos.logback:logback-classic&package-manager=gradle&previous-version=1.4.5&new-version=1.4.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 09:02:56 +02:00
dependabot[bot] e2bf087eff
Bump ch.qos.logback:logback-classic from 1.4.5 to 1.4.6 in /examples/distro (#8062)
Bumps
[ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from
1.4.5 to 1.4.6.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/logback/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ch.qos.logback:logback-classic&package-manager=gradle&previous-version=1.4.5&new-version=1.4.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 09:02:35 +02:00
dependabot[bot] fbabecc542
Bump ch.qos.logback:logback-classic from 1.3.5 to 1.3.6 (#8061)
Bumps
[ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from
1.3.5 to 1.3.6.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/logback/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ch.qos.logback:logback-classic&package-manager=gradle&previous-version=1.3.5&new-version=1.3.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 09:02:11 +02:00
OpenTelemetry Bot 40ba339934
Update version to 1.25.0-SNAPSHOT (#8053)
Update version to `1.25.0-SNAPSHOT`.
2023-03-15 15:07:02 +02:00
Mateusz Rzeszutek 65bf28ff16
Prepare changelog for v1.24.0 (#8039) 2023-03-15 13:23:14 +02:00
Lauri Tulmin 2cbfec8ac2
Fix spring boot 3 webmvc autoconfiguration (#8051)
Related to
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8028#issuecomment-1466496896
spring boot 3 uses `jakarta.servlet` so we need to use
`WebMvcFilterAutoConfigurationSpring6 ` instead of
`WebMvcFilterAutoConfiguration`
2023-03-14 12:39:58 +01:00
Lauri Tulmin 9ebfe03e72
Use timer for pulsar consumer spans (#8050) 2023-03-14 12:35:29 +01:00
dependabot[bot] 41c2dfdf7f
Bump byteBuddyVersion from 1.14.1 to 1.14.2 (#8044)
Bumps `byteBuddyVersion` from 1.14.1 to 1.14.2.
Updates `net.bytebuddy:byte-buddy` from 1.14.1 to 1.14.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/releases">net.bytebuddy:byte-buddy's
releases</a>.</em></p>
<blockquote>
<h2>Byte Buddy 1.14.2</h2>
<ul>
<li>Fix offset mapping for local variable array remapping in
<code>Advice</code>.</li>
<li>Add possibility to specify an index for <code>skipOn</code> and
<code>repeatOn</code> which resolves the checked value from a returned
array.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/blob/master/release-notes.md">net.bytebuddy:byte-buddy's
changelog</a>.</em></p>
<blockquote>
<h3>13. March 2023: version 1.14.2</h3>
<ul>
<li>Fix offset mapping for local variable array remapping in
<code>Advice</code>.</li>
<li>Add possibility to specify an index for <code>skipOn</code> and
<code>repeatOn</code> which resolves the checked value from a returned
array.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="05fa857610"><code>05fa857</code></a>
[maven-release-plugin] prepare release byte-buddy-1.14.2</li>
<li><a
href="6505fe736d"><code>6505fe7</code></a>
[release] Release new version</li>
<li><a
href="bed43bc9cb"><code>bed43bc</code></a>
Update versions and checksums.</li>
<li><a
href="514e1c983a"><code>514e1c9</code></a>
Add additional tests.</li>
<li><a
href="8e6f438de1"><code>8e6f438</code></a>
Add tests for skipping.</li>
<li><a
href="8f68b039cf"><code>8f68b03</code></a>
Add test for default value skip on null array.</li>
<li><a
href="7681e51c79"><code>7681e51</code></a>
Add test for default value skip.</li>
<li><a
href="f7cb44994b"><code>f7cb449</code></a>
Fix advice and test.</li>
<li><a
href="c8c81233d9"><code>c8c8123</code></a>
Add missing javadoc.</li>
<li><a
href="517d786d1f"><code>517d786</code></a>
Layout relocation handler that supports array values.</li>
<li>Additional commits viewable in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.1...byte-buddy-1.14.2">compare
view</a></li>
</ul>
</details>
<br />

Updates `net.bytebuddy:byte-buddy-dep` from 1.14.1 to 1.14.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/releases">net.bytebuddy:byte-buddy-dep's
releases</a>.</em></p>
<blockquote>
<h2>Byte Buddy 1.14.2</h2>
<ul>
<li>Fix offset mapping for local variable array remapping in
<code>Advice</code>.</li>
<li>Add possibility to specify an index for <code>skipOn</code> and
<code>repeatOn</code> which resolves the checked value from a returned
array.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/blob/master/release-notes.md">net.bytebuddy:byte-buddy-dep's
changelog</a>.</em></p>
<blockquote>
<h3>13. March 2023: version 1.14.2</h3>
<ul>
<li>Fix offset mapping for local variable array remapping in
<code>Advice</code>.</li>
<li>Add possibility to specify an index for <code>skipOn</code> and
<code>repeatOn</code> which resolves the checked value from a returned
array.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="05fa857610"><code>05fa857</code></a>
[maven-release-plugin] prepare release byte-buddy-1.14.2</li>
<li><a
href="6505fe736d"><code>6505fe7</code></a>
[release] Release new version</li>
<li><a
href="bed43bc9cb"><code>bed43bc</code></a>
Update versions and checksums.</li>
<li><a
href="514e1c983a"><code>514e1c9</code></a>
Add additional tests.</li>
<li><a
href="8e6f438de1"><code>8e6f438</code></a>
Add tests for skipping.</li>
<li><a
href="8f68b039cf"><code>8f68b03</code></a>
Add test for default value skip on null array.</li>
<li><a
href="7681e51c79"><code>7681e51</code></a>
Add test for default value skip.</li>
<li><a
href="f7cb44994b"><code>f7cb449</code></a>
Fix advice and test.</li>
<li><a
href="c8c81233d9"><code>c8c8123</code></a>
Add missing javadoc.</li>
<li><a
href="517d786d1f"><code>517d786</code></a>
Layout relocation handler that supports array values.</li>
<li>Additional commits viewable in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.1...byte-buddy-1.14.2">compare
view</a></li>
</ul>
</details>
<br />

Updates `net.bytebuddy:byte-buddy-agent` from 1.14.1 to 1.14.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/releases">net.bytebuddy:byte-buddy-agent's
releases</a>.</em></p>
<blockquote>
<h2>Byte Buddy 1.14.2</h2>
<ul>
<li>Fix offset mapping for local variable array remapping in
<code>Advice</code>.</li>
<li>Add possibility to specify an index for <code>skipOn</code> and
<code>repeatOn</code> which resolves the checked value from a returned
array.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/blob/master/release-notes.md">net.bytebuddy:byte-buddy-agent's
changelog</a>.</em></p>
<blockquote>
<h3>13. March 2023: version 1.14.2</h3>
<ul>
<li>Fix offset mapping for local variable array remapping in
<code>Advice</code>.</li>
<li>Add possibility to specify an index for <code>skipOn</code> and
<code>repeatOn</code> which resolves the checked value from a returned
array.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="05fa857610"><code>05fa857</code></a>
[maven-release-plugin] prepare release byte-buddy-1.14.2</li>
<li><a
href="6505fe736d"><code>6505fe7</code></a>
[release] Release new version</li>
<li><a
href="bed43bc9cb"><code>bed43bc</code></a>
Update versions and checksums.</li>
<li><a
href="514e1c983a"><code>514e1c9</code></a>
Add additional tests.</li>
<li><a
href="8e6f438de1"><code>8e6f438</code></a>
Add tests for skipping.</li>
<li><a
href="8f68b039cf"><code>8f68b03</code></a>
Add test for default value skip on null array.</li>
<li><a
href="7681e51c79"><code>7681e51</code></a>
Add test for default value skip.</li>
<li><a
href="f7cb44994b"><code>f7cb449</code></a>
Fix advice and test.</li>
<li><a
href="c8c81233d9"><code>c8c8123</code></a>
Add missing javadoc.</li>
<li><a
href="517d786d1f"><code>517d786</code></a>
Layout relocation handler that supports array values.</li>
<li>Additional commits viewable in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.1...byte-buddy-1.14.2">compare
view</a></li>
</ul>
</details>
<br />

Updates `net.bytebuddy:byte-buddy-gradle-plugin` from 1.14.1 to 1.14.2


You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-03-14 09:56:27 +02:00
dependabot[bot] 09577f97ff
Bump net.bytebuddy:byte-buddy-dep from 1.14.1 to 1.14.2 in /examples/distro (#8047)
Bumps
[net.bytebuddy:byte-buddy-dep](https://github.com/raphw/byte-buddy) from
1.14.1 to 1.14.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/releases">net.bytebuddy:byte-buddy-dep's
releases</a>.</em></p>
<blockquote>
<h2>Byte Buddy 1.14.2</h2>
<ul>
<li>Fix offset mapping for local variable array remapping in
<code>Advice</code>.</li>
<li>Add possibility to specify an index for <code>skipOn</code> and
<code>repeatOn</code> which resolves the checked value from a returned
array.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/blob/master/release-notes.md">net.bytebuddy:byte-buddy-dep's
changelog</a>.</em></p>
<blockquote>
<h3>13. March 2023: version 1.14.2</h3>
<ul>
<li>Fix offset mapping for local variable array remapping in
<code>Advice</code>.</li>
<li>Add possibility to specify an index for <code>skipOn</code> and
<code>repeatOn</code> which resolves the checked value from a returned
array.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="05fa857610"><code>05fa857</code></a>
[maven-release-plugin] prepare release byte-buddy-1.14.2</li>
<li><a
href="6505fe736d"><code>6505fe7</code></a>
[release] Release new version</li>
<li><a
href="bed43bc9cb"><code>bed43bc</code></a>
Update versions and checksums.</li>
<li><a
href="514e1c983a"><code>514e1c9</code></a>
Add additional tests.</li>
<li><a
href="8e6f438de1"><code>8e6f438</code></a>
Add tests for skipping.</li>
<li><a
href="8f68b039cf"><code>8f68b03</code></a>
Add test for default value skip on null array.</li>
<li><a
href="7681e51c79"><code>7681e51</code></a>
Add test for default value skip.</li>
<li><a
href="f7cb44994b"><code>f7cb449</code></a>
Fix advice and test.</li>
<li><a
href="c8c81233d9"><code>c8c8123</code></a>
Add missing javadoc.</li>
<li><a
href="517d786d1f"><code>517d786</code></a>
Layout relocation handler that supports array values.</li>
<li>Additional commits viewable in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.1...byte-buddy-1.14.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=net.bytebuddy:byte-buddy-dep&package-manager=gradle&previous-version=1.14.1&new-version=1.14.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 09:05:06 +02:00
dependabot[bot] 331a962e92
Bump com.diffplug.spotless from 6.16.0 to 6.17.0 in /benchmark-overhead (#8049)
Bumps com.diffplug.spotless from 6.16.0 to 6.17.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless&package-manager=gradle&previous-version=6.16.0&new-version=6.17.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 08:25:53 +02:00
dependabot[bot] 295a6dded5
Bump com.diffplug.spotless from 6.16.0 to 6.17.0 in /examples/extension (#8048)
Bumps com.diffplug.spotless from 6.16.0 to 6.17.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless&package-manager=gradle&previous-version=6.16.0&new-version=6.17.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 08:25:28 +02:00
dependabot[bot] 9064e4a672
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.16.0 to 6.17.0 in /examples/distro (#8046)
Bumps
[com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless)
from 6.16.0 to 6.17.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b39508f378"><code>b39508f</code></a>
Published gradle/6.17.0</li>
<li><a
href="b7eacad78e"><code>b7eacad</code></a>
Published lib/2.37.0</li>
<li><a
href="a16b3a94c1"><code>a16b3a9</code></a>
Try to fix publishing.</li>
<li><a
href="328372011f"><code>3283720</code></a>
Use Equo Solstice to calculate and download eclipse dependencies (<a
href="https://redirect.github.com/diffplug/spotless/issues/1524">#1524</a>)</li>
<li><a
href="d807cf7a60"><code>d807cf7</code></a>
Bump build plugins to latest.</li>
<li><a
href="cd2faeb0f7"><code>cd2faeb</code></a>
Bump Solstice to 1.0</li>
<li><a
href="73d7ed2a2b"><code>73d7ed2</code></a>
Update plugin changelogs.</li>
<li><a
href="3ab4c97e36"><code>3ab4c97</code></a>
Update changelog to reflect that WTP is still in-progress.</li>
<li><a
href="25fc723a6a"><code>25fc723</code></a>
Update readmes.</li>
<li><a
href="cdcfe14259"><code>cdcfe14</code></a>
Merge branch 'main' into feat/equo-solstice</li>
<li>Additional commits viewable in <a
href="https://github.com/diffplug/spotless/compare/gradle/6.16.0...gradle/6.17.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless:spotless-plugin-gradle&package-manager=gradle&previous-version=6.16.0&new-version=6.17.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 08:25:01 +02:00
dependabot[bot] acdfea2853
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.16.0 to 6.17.0 (#8045)
Bumps
[com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless)
from 6.16.0 to 6.17.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b39508f378"><code>b39508f</code></a>
Published gradle/6.17.0</li>
<li><a
href="b7eacad78e"><code>b7eacad</code></a>
Published lib/2.37.0</li>
<li><a
href="a16b3a94c1"><code>a16b3a9</code></a>
Try to fix publishing.</li>
<li><a
href="328372011f"><code>3283720</code></a>
Use Equo Solstice to calculate and download eclipse dependencies (<a
href="https://redirect.github.com/diffplug/spotless/issues/1524">#1524</a>)</li>
<li><a
href="d807cf7a60"><code>d807cf7</code></a>
Bump build plugins to latest.</li>
<li><a
href="cd2faeb0f7"><code>cd2faeb</code></a>
Bump Solstice to 1.0</li>
<li><a
href="73d7ed2a2b"><code>73d7ed2</code></a>
Update plugin changelogs.</li>
<li><a
href="3ab4c97e36"><code>3ab4c97</code></a>
Update changelog to reflect that WTP is still in-progress.</li>
<li><a
href="25fc723a6a"><code>25fc723</code></a>
Update readmes.</li>
<li><a
href="cdcfe14259"><code>cdcfe14</code></a>
Merge branch 'main' into feat/equo-solstice</li>
<li>Additional commits viewable in <a
href="https://github.com/diffplug/spotless/compare/gradle/6.16.0...gradle/6.17.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless:spotless-plugin-gradle&package-manager=gradle&previous-version=6.16.0&new-version=6.17.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 08:24:32 +02:00
dependabot[bot] b527a6e96e
Bump groovyVersion from 4.0.9 to 4.0.10 (#8043)
Bumps `groovyVersion` from 4.0.9 to 4.0.10.
Updates `org.apache.groovy:groovy-bom` from 4.0.9 to 4.0.10
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/apache/groovy/commits">compare view</a></li>
</ul>
</details>
<br />

Updates `org.apache.groovy:groovy` from 4.0.9 to 4.0.10
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/apache/groovy/commits">compare view</a></li>
</ul>
</details>
<br />

Updates `org.apache.groovy:groovy-json` from 4.0.9 to 4.0.10
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/apache/groovy/commits">compare view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 08:24:05 +02:00
dependabot[bot] 200356a995
Bump com.diffplug.spotless from 6.16.0 to 6.17.0 (#8042)
Bumps com.diffplug.spotless from 6.16.0 to 6.17.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless&package-manager=gradle&previous-version=6.16.0&new-version=6.17.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 08:23:29 +02:00
Ago Allikmaa a9788a22de
Provide ability to add HTTP server response headers, with Tomcat implementation (#7990)
This allows custom distributions of the agent to register
`HttpServerResponseCustomizer` implementations. When a supported HTTP
server instrumentation starts processing a response, the `onStart`
method of all registered implementations will be invoked with the
`Context` of the SERVER span, an instrumentation-specific response
object and `HttpServerResponseMutator` instance that allows appending
headers to that response.

The intent of this is to allow custom distributions to set a header
containing span context information, such as the trace and span IDs. As
such, the initial implementation only allows appending response headers
and nothing else.

The `HttpServerResponseCustomizer` and related classes are currently in
a subpackage of the `io.opentelemetry.javaagent.bootstrap` package in
`javaagent-extension-api`. This makes them get loaded in the bootstrap
classloader, thus directly accessible from instrumentations. I am not
aware if there is an elegant way to put it in the agent classloader
instead, yet have the same instance accessible from both
`AgentInstaller` and instrumentations.

This also includes Tomcat-specific implementation in order to be able to
demonstrate that it works, and add automated testing of this to
HttpServerTest including one implementation.
2023-03-13 17:46:39 +01:00
Lauri Tulmin 0ef4c0beb9
Don't wrap exceptions from logback appender (#8040) 2023-03-13 17:23:48 +01:00
Lauri Tulmin dedc4d312c
Improve pulsar instrumentation (#8007)
- use standard messaging span name
- replace `message.type` with experimental attribute
`messaging.pulsar.message.type`, `message.type` is from rpc semantic
conventions
- replace `net.sock.peer.addr` that was filled with broker url with
`net.peer.name` and `net.peer.port`
2023-03-13 17:22:11 +01:00
Jean Bisutti 2bd2bbcdee
Make the Spring autoconfiguration work with Spring Boot 3 (#8028)
This PR makes the Spring autoconfiguration work from Spring Boot 2.7.

[The way to declare autoconfiguration has indeed changed from Spring
Boot
2.7](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes#building-jars-with-maven-shade-plugin-and-gradle-shadow-plugin).

A workaround is to use @EnableOpenTelemetry.
2023-03-13 17:15:19 +01:00
Lauri Tulmin c6adaa35de
Cache DbInfo in OpenTelemetryDataSource (#8025)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7984
2023-03-13 13:10:11 +01:00
OpenTelemetry Bot 288c407d12
Update the OpenTelemetry SDK version to 1.24.0 (#8027)
Update the OpenTelemetry SDK version to `1.24.0`.

---------

Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-03-13 09:14:50 +01:00
Helen 468aa9e777
Convert Jetty 8.0 groovy to java (#7975)
related to
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7195
2023-03-11 11:24:35 +02:00
Helen 995baa8888
Convert Jetty 11 groovy to java (#7976)
related to
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7195
2023-03-11 11:23:37 +02:00
dependabot[bot] 8aff20e479
Bump org.mockito:mockito-core from 5.1.1 to 5.2.0 in /examples/distro (#8032)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito)
from 5.1.1 to 5.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mockito/mockito/releases">org.mockito:mockito-core's
releases</a>.</em></p>
<blockquote>
<h2>v5.2.0</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog
generated by <a
href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog
Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted
--></p>
<h4>5.2.0</h4>
<ul>
<li>2023-03-09 - <a
href="https://github.com/mockito/mockito/compare/v5.1.1...v5.2.0">25
commit(s)</a> by Andriy Redko, Iulian Dragos, Roberto Trunfio, Róbert
Papp, dependabot[bot], jfrantzius, tobiasbaum</li>
<li>Fixes 2933: IOUtils does not depend on platform encoding any more
[(<a
href="https://redirect.github.com/mockito/mockito/issues/2935">#2935</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2935">mockito/mockito#2935</a>)</li>
<li>Execution with mockito-inline fails on platforms with EBCDIC as
default encoding [(<a
href="https://redirect.github.com/mockito/mockito/issues/2933">#2933</a>)](<a
href="https://redirect.github.com/mockito/mockito/issues/2933">mockito/mockito#2933</a>)</li>
<li>Bump io.github.gradle-nexus:publish-plugin from 1.2.0 to 1.3.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2932">#2932</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2932">mockito/mockito#2932</a>)</li>
<li>Bump versions.bytebuddy from 1.14.0 to 1.14.1 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2931">#2931</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2931">mockito/mockito#2931</a>)</li>
<li>Bump com.diffplug.spotless from 6.15.0 to 6.16.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2930">#2930</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2930">mockito/mockito#2930</a>)</li>
<li>Bump com.google.googlejavaformat:google-java-format from 1.15.0 to
1.16.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2928">#2928</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2928">mockito/mockito#2928</a>)</li>
<li>Bump io.github.gradle-nexus:publish-plugin from 1.1.0 to 1.2.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2924">#2924</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2924">mockito/mockito#2924</a>)</li>
<li>Feature 2921 generic types [(<a
href="https://redirect.github.com/mockito/mockito/issues/2923">#2923</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2923">mockito/mockito#2923</a>)</li>
<li>Bump com.github.ben-manes.versions from 0.45.0 to 0.46.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2922">#2922</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2922">mockito/mockito#2922</a>)</li>
<li>Use generic type information in TypeBasedCandidateFilter to
circumvent type erasure [(<a
href="https://redirect.github.com/mockito/mockito/issues/2921">#2921</a>)](<a
href="https://redirect.github.com/mockito/mockito/issues/2921">mockito/mockito#2921</a>)</li>
<li>Make project relocatable by using relative paths in the OSGi test
task [(<a
href="https://redirect.github.com/mockito/mockito/issues/2920">#2920</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2920">mockito/mockito#2920</a>)</li>
<li>Cache misses due to OSGi tests referencing absolute paths [(<a
href="https://redirect.github.com/mockito/mockito/issues/2919">#2919</a>)](<a
href="https://redirect.github.com/mockito/mockito/issues/2919">mockito/mockito#2919</a>)</li>
<li>Bump versions.bytebuddy from 1.13.0 to 1.14.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2918">#2918</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2918">mockito/mockito#2918</a>)</li>
<li>Bump gradle/wrapper-validation-action from 1.0.5 to 1.0.6 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2917">#2917</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2917">mockito/mockito#2917</a>)</li>
<li>Bump com.diffplug.spotless from 6.14.1 to 6.15.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2913">#2913</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2913">mockito/mockito#2913</a>)</li>
<li>Bump versions.bytebuddy from 1.12.23 to 1.13.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2912">#2912</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2912">mockito/mockito#2912</a>)</li>
<li>Bump ru.vyarus.animalsniffer from 1.6.0 to 1.7.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2911">#2911</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2911">mockito/mockito#2911</a>)</li>
<li>Bump org.codehaus.groovy:groovy from 3.0.14 to 3.0.15 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2910">#2910</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2910">mockito/mockito#2910</a>)</li>
<li>Fixes <a
href="https://redirect.github.com/mockito/mockito/issues/2905">#2905</a>
: ThreadLocal classes can be mocked. [(<a
href="https://redirect.github.com/mockito/mockito/issues/2908">#2908</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2908">mockito/mockito#2908</a>)</li>
<li>StackOverflow while mocking a ThreadLocal on Mockito 5.1.1 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2905">#2905</a>)](<a
href="https://redirect.github.com/mockito/mockito/issues/2905">mockito/mockito#2905</a>)</li>
<li>Fix most Gradle warnings in build [(<a
href="https://redirect.github.com/mockito/mockito/issues/2904">#2904</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2904">mockito/mockito#2904</a>)</li>
<li>Android CI improvements, improves <a
href="https://redirect.github.com/mockito/mockito/issues/2892">#2892</a>
[(<a
href="https://redirect.github.com/mockito/mockito/issues/2903">#2903</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2903">mockito/mockito#2903</a>)</li>
<li>Bump com.diffplug.spotless from 6.14.0 to 6.14.1 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2902">#2902</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2902">mockito/mockito#2902</a>)</li>
<li>Bump versions.bytebuddy from 1.12.22 to 1.12.23 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2901">#2901</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2901">mockito/mockito#2901</a>)</li>
<li>CI on Android API level 33 for Java 11 compatibility testing [(<a
href="https://redirect.github.com/mockito/mockito/issues/2899">#2899</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2899">mockito/mockito#2899</a>)</li>
<li>Bump kotlinVersion from 1.8.0 to 1.8.10 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2897">#2897</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2897">mockito/mockito#2897</a>)</li>
<li>Bump com.github.ben-manes.versions from 0.44.0 to 0.45.0 [(<a
href="https://redirect.github.com/mockito/mockito/issues/2895">#2895</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2895">mockito/mockito#2895</a>)</li>
<li>Simplify and modernize Android Test module. [(<a
href="https://redirect.github.com/mockito/mockito/issues/2894">#2894</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2894">mockito/mockito#2894</a>)</li>
<li>Set up Android Github Action pipeline. Fixes <a
href="https://redirect.github.com/mockito/mockito/issues/2892">#2892</a>
[(<a
href="https://redirect.github.com/mockito/mockito/issues/2893">#2893</a>)](<a
href="https://redirect.github.com/mockito/mockito/pull/2893">mockito/mockito#2893</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="74c811a60a"><code>74c811a</code></a>
Make InjectMocks aware of generic types (<a
href="https://redirect.github.com/mockito/mockito/issues/2923">#2923</a>)</li>
<li><a
href="fc136e4373"><code>fc136e4</code></a>
Explicitly use UTF-8 in IOUtils (<a
href="https://redirect.github.com/mockito/mockito/issues/2935">#2935</a>)</li>
<li><a
href="94734709cd"><code>9473470</code></a>
Bump io.github.gradle-nexus:publish-plugin from 1.2.0 to 1.3.0 (<a
href="https://redirect.github.com/mockito/mockito/issues/2932">#2932</a>)</li>
<li><a
href="dddeb725b3"><code>dddeb72</code></a>
Bump versions.bytebuddy from 1.14.0 to 1.14.1 (<a
href="https://redirect.github.com/mockito/mockito/issues/2931">#2931</a>)</li>
<li><a
href="92ed60276c"><code>92ed602</code></a>
Bump com.google.googlejavaformat:google-java-format from 1.15.0 to
1.16.0 (<a
href="https://redirect.github.com/mockito/mockito/issues/2">#2</a>...</li>
<li><a
href="19ef24a19f"><code>19ef24a</code></a>
Bump com.diffplug.spotless from 6.15.0 to 6.16.0 (<a
href="https://redirect.github.com/mockito/mockito/issues/2930">#2930</a>)</li>
<li><a
href="8b96cc1ffe"><code>8b96cc1</code></a>
Bump io.github.gradle-nexus:publish-plugin from 1.1.0 to 1.2.0 (<a
href="https://redirect.github.com/mockito/mockito/issues/2924">#2924</a>)</li>
<li><a
href="4eb275c0db"><code>4eb275c</code></a>
Make project relocatable by using relative paths in the OSGi test task
(<a
href="https://redirect.github.com/mockito/mockito/issues/2920">#2920</a>)</li>
<li><a
href="d9373348aa"><code>d937334</code></a>
Bump com.github.ben-manes.versions from 0.45.0 to 0.46.0 (<a
href="https://redirect.github.com/mockito/mockito/issues/2922">#2922</a>)</li>
<li><a
href="60b0e7148b"><code>60b0e71</code></a>
Bump versions.bytebuddy from 1.13.0 to 1.14.0 (<a
href="https://redirect.github.com/mockito/mockito/issues/2918">#2918</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mockito/mockito/compare/v5.1.1...v5.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=gradle&previous-version=5.1.1&new-version=5.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 09:07:16 +02:00
dependabot[bot] 76b4cd954f
Bump com.google.protobuf:protobuf-java-util from 3.22.0 to 3.22.2 in /examples/distro (#8031)
Bumps com.google.protobuf:protobuf-java-util from 3.22.0 to 3.22.2.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java-util&package-manager=gradle&previous-version=3.22.0&new-version=3.22.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 08:40:27 +02:00
dependabot[bot] f2ef5274b2
Bump com.google.protobuf:protobuf-java-util from 3.22.0 to 3.22.2 in /examples/extension (#8033)
Bumps com.google.protobuf:protobuf-java-util from 3.22.0 to 3.22.2.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java-util&package-manager=gradle&previous-version=3.22.0&new-version=3.22.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 08:38:38 +02:00
dependabot[bot] 5d128d67bb
Bump com.google.protobuf:protobuf-java-util from 3.22.0 to 3.22.2 (#8029)
Bumps com.google.protobuf:protobuf-java-util from 3.22.0 to 3.22.2.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java-util&package-manager=gradle&previous-version=3.22.0&new-version=3.22.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-11 08:36:59 +02:00
Lauri Tulmin f1411d1cb3
Share timer class used by messaging instrumentations (#8009)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/4514
There is also a slightly different timer class in netty instrumentation
https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/netty/netty-common/library/src/main/java/io/opentelemetry/instrumentation/netty/common/internal/Timer.java
that I didn't touch.
2023-03-10 10:40:41 +02:00
Lauri Tulmin a793c247e6
Remove duplicate -Xmx from kafka memory options (#8022) 2023-03-09 22:02:33 +02:00
Mateusz Rzeszutek 0dccc3ad56
Fix NPE in the RabbitMQ instrumentation (#8021)
Fixes #8020
2023-03-09 17:15:27 +00:00
adamleantech 96fd1d7522
Add Baggage to logback MDC controlled by flag (#7892)
The intention here is to allow users of the java agent to set a VM flag
in order to be able to add values in the current Baggage context to MDC
for logback. It seemed unwise to turn this on by default - if the
application is configured to print all MDC contents (as it often the
case with JSON output) then baggage would be logged out by default which
may either bloat the logs or result in sensitive data being exposed
unitentionally.

Addresses #1391 and #6708

Note that this is my first contribution to this repo, I've done my best
to follow the existing approaches to things like testing but would
appreciate any feedback.

---------

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-03-09 08:03:56 -08:00
Lauri Tulmin bb1bc5d71e
Preserve span order (#8017)
On jdk8 tests occasionally fail when spans starting on the same
millisecond get reordered. As we eventually sort the spans by start time
we can't get the initial oder back when the start time is the same for
these spans. Hopefully preserving the initial order reduces such
flakiness.
2023-03-09 16:37:52 +02:00
Lauri Tulmin 67b6b6cc7c
Limit kafka memory usage (#8018) 2023-03-09 16:37:09 +02:00
Mateusz Rzeszutek 1649a90e29
Add protocol name&version to net attribute getters (#7994)
In preparation for
https://github.com/open-telemetry/opentelemetry-specification/pull/3272
2023-03-09 11:37:52 +00:00
Mateusz Rzeszutek 998e781009
Remove deprecated messaging.url attribute from messaging getter (#8008) 2023-03-09 11:41:51 +01:00
dependabot[bot] 4b0ff80914
Bump com.uber.nullaway:nullaway from 0.10.9 to 0.10.10 (#8012)
Bumps [com.uber.nullaway:nullaway](https://github.com/uber/NullAway)
from 0.10.9 to 0.10.10.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uber/NullAway/blob/master/CHANGELOG.md">com.uber.nullaway:nullaway's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.10.10</h2>
<ul>
<li>Add command line option to skip specific library models. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/741">#741</a>)</li>
<li>Support for specific libraries/APIs:
<ul>
<li>Model Map.getOrDefault (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/724">#724</a>)</li>
<li>Model Class.cast (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/731">#731</a>)</li>
<li>Model Class.isInstance (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/732">#732</a>)</li>
</ul>
</li>
<li>Internal code refactorings:
<ul>
<li>Refactor code to use Map.getOrDefault where possible (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/727">#727</a>)</li>
<li>Break loops when result can no longer change (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/728">#728</a>)</li>
</ul>
</li>
<li>Support for JSpecify's 0.3.0 annotation [experimental]
<ul>
<li>JSpecify: initial checks for generic type compatibility at
assignments (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/715">#715</a>)</li>
<li>Add JSpecify checking for return statements (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/734">#734</a>)</li>
</ul>
</li>
<li>NullAwayInfer/Annotator data serialization support [experimental]
<ul>
<li>Refactoring in symbol serialization (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/736">#736</a>)</li>
<li>Refactoring tabSeparatedToString logic to prepare for serialization
version 3 (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/738">#738</a>)</li>
<li>Update method serialization to exclude type use annotations and type
arguments (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/735">#735</a>)</li>
</ul>
</li>
<li>Docs fix: -XepExcludedPaths was added in 2.1.3, not 2.13 (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/744">#744</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e593f11b32"><code>e593f11</code></a>
Prepare for release 0.10.10.</li>
<li><a
href="9b6d93fc9c"><code>9b6d93f</code></a>
Add command line option to skip specific library models. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/741">#741</a>)</li>
<li><a
href="49cda490fb"><code>49cda49</code></a>
Docs: <code>-XepExcludedPaths</code> was added in 2.1.3, not 2.13 (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/744">#744</a>)</li>
<li><a
href="16923e56c5"><code>16923e5</code></a>
Serialization version 3: update method serialization to exclude type use
anno...</li>
<li><a
href="ff6b090760"><code>ff6b090</code></a>
Refactoring tabSeparatedToString logic to prepare for serialization
version 3...</li>
<li><a
href="1548c69a27"><code>1548c69</code></a>
Add JSpecify checking for return statements (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/734">#734</a>)</li>
<li><a
href="457a129f41"><code>457a129</code></a>
Refactoring in symbol serialization (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/736">#736</a>)</li>
<li><a
href="14d3693a6f"><code>14d3693</code></a>
JSpecify: initial checks for generic type compatibility at assignments
(<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/715">#715</a>)</li>
<li><a
href="a2efa6ec16"><code>a2efa6e</code></a>
Break loops when result can no longer change (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/728">#728</a>)</li>
<li><a
href="de6e0149fa"><code>de6e014</code></a>
Model <code>Class.isInstance</code> (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/732">#732</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/uber/NullAway/compare/v0.10.9...v0.10.10">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.uber.nullaway:nullaway&package-manager=gradle&previous-version=0.10.9&new-version=0.10.10)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 09:15:34 +02:00
Lauri Tulmin 6c5351305c
`classLoaderOptimization` is not needed when matching by name (#8010) 2023-03-08 20:09:20 +02:00
Jean Bisutti ff73e9577c
Make the OpenTelemetry Logback appender work with GraalVM native images (#7989)
I have tried the [OpenTelemetry Logback
appender](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/logback/logback-appender-1.0/library)
with GraalVM native images. The GraalVM configurations of this PR are
required to make it work.

It's my first GraalVM-related PR in this repo. In future works, adding
automatic tests with GraalVM on some [programmatic instrumentation
libraries](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks)
may be interesting.
2023-03-08 07:58:37 -08:00
Simone Giusso 1a7e0f3235
Instrumenting cassandra executeReactive method (#6441)
It follows the
[issue](https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/6395#issue-1323561263)
I opened some days ago.

The `executeReactive` method use the same processor used by
`executeAsync` (see
[here](65d2c19c40/core/src/main/java/com/datastax/dse/driver/internal/core/cql/reactive/CqlRequestReactiveProcessor.java (L53)))
and wrap the callback in the `DefaultReactiveResultSet` publisher.

Here I'm simply overriding the `executeReactive` method doing the same
thing: call the already instrumented `executeAsync` method and wrapping
the callback using the `DefaultReactiveResultSet` publisher.

~~I did an upgrade of the `java-driver-core` library to have
`TracingCqlSession.java` extending the `ReactiveSession`. I have to
probably rename the `cassandra-4.0` module in `cassandra-4.14` but I'll
let you confirm this.~~ -> Cassandra-4.4 is enough.

---------

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-03-08 07:55:00 -08:00
dependabot[bot] 583e2a76f8
Bump byteBuddyVersion from 1.14.0 to 1.14.1 (#8001)
Bumps `byteBuddyVersion` from 1.14.0 to 1.14.1.
Updates `net.bytebuddy:byte-buddy` from 1.14.0 to 1.14.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/blob/master/release-notes.md">net.bytebuddy:byte-buddy's
changelog</a>.</em></p>
<blockquote>
<h2>Byte Buddy release notes</h2>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5ef0fa6076"><code>5ef0fa6</code></a>
[maven-release-plugin] prepare release byte-buddy-1.14.1</li>
<li><a
href="bada1525a2"><code>bada152</code></a>
[release] Release new version</li>
<li><a
href="334128e2f8"><code>334128e</code></a>
Update Eclipse lifecycle mapping.</li>
<li><a
href="876d66702e"><code>876d667</code></a>
Add additional scope for Maven plugin.</li>
<li><a
href="665a090c73"><code>665a090</code></a>
Add checksums.</li>
<li><a
href="537c61344e"><code>537c613</code></a>
Increment internal byte buddy and add release notes.</li>
<li><a
href="8c6f8619a0"><code>8c6f861</code></a>
[maven-release-plugin] prepare for next development iteration</li>
<li>See full diff in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.0...byte-buddy-1.14.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `net.bytebuddy:byte-buddy-dep` from 1.14.0 to 1.14.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/blob/master/release-notes.md">net.bytebuddy:byte-buddy-dep's
changelog</a>.</em></p>
<blockquote>
<h2>Byte Buddy release notes</h2>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5ef0fa6076"><code>5ef0fa6</code></a>
[maven-release-plugin] prepare release byte-buddy-1.14.1</li>
<li><a
href="bada1525a2"><code>bada152</code></a>
[release] Release new version</li>
<li><a
href="334128e2f8"><code>334128e</code></a>
Update Eclipse lifecycle mapping.</li>
<li><a
href="876d66702e"><code>876d667</code></a>
Add additional scope for Maven plugin.</li>
<li><a
href="665a090c73"><code>665a090</code></a>
Add checksums.</li>
<li><a
href="537c61344e"><code>537c613</code></a>
Increment internal byte buddy and add release notes.</li>
<li><a
href="8c6f8619a0"><code>8c6f861</code></a>
[maven-release-plugin] prepare for next development iteration</li>
<li>See full diff in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.0...byte-buddy-1.14.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `net.bytebuddy:byte-buddy-agent` from 1.14.0 to 1.14.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/blob/master/release-notes.md">net.bytebuddy:byte-buddy-agent's
changelog</a>.</em></p>
<blockquote>
<h2>Byte Buddy release notes</h2>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5ef0fa6076"><code>5ef0fa6</code></a>
[maven-release-plugin] prepare release byte-buddy-1.14.1</li>
<li><a
href="bada1525a2"><code>bada152</code></a>
[release] Release new version</li>
<li><a
href="334128e2f8"><code>334128e</code></a>
Update Eclipse lifecycle mapping.</li>
<li><a
href="876d66702e"><code>876d667</code></a>
Add additional scope for Maven plugin.</li>
<li><a
href="665a090c73"><code>665a090</code></a>
Add checksums.</li>
<li><a
href="537c61344e"><code>537c613</code></a>
Increment internal byte buddy and add release notes.</li>
<li><a
href="8c6f8619a0"><code>8c6f861</code></a>
[maven-release-plugin] prepare for next development iteration</li>
<li>See full diff in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.0...byte-buddy-1.14.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `net.bytebuddy:byte-buddy-gradle-plugin` from 1.14.0 to 1.14.1


You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-03-08 08:58:59 +00:00
dependabot[bot] fba3df3b5a
Bump io.github.gradle-nexus.publish-plugin from 1.2.0 to 1.3.0 (#8002)
Bumps io.github.gradle-nexus.publish-plugin from 1.2.0 to 1.3.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.github.gradle-nexus.publish-plugin&package-manager=gradle&previous-version=1.2.0&new-version=1.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 09:48:58 +02:00
James Moessis 3f45f755a9
Spring Webflux Library Instrumentation (#7899)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7436

* Created new Module `spring-webflux-5.3` which contains only
server-side library instrumentation
* Minimum supported version is 5.3 because there are various problems in
older versions of reactor and webflux that prevent a few of the tests
from passing.
* Moved existing `spring-webflux-5.0` (webclient instrumentation) into a
common `spring-webflux` folder next to the 5.3 (server) instrumentation.
Moved the README to the parent folder so the docs are cohesive between
client/server instrumentation.
* Implemented `WebFilter` which instruments the server-side 
* Depends on the `reactor-3.1` instrumentation to pass the context
around. Registers the react hook when it creates the `WebFilter`
* Tests using the standard HTTP server test suite

---------

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-03-08 08:43:46 +01:00
dependabot[bot] d6c3fdb9c4
Bump net.bytebuddy:byte-buddy-dep from 1.14.0 to 1.14.1 in /examples/distro (#8003)
Bumps
[net.bytebuddy:byte-buddy-dep](https://github.com/raphw/byte-buddy) from
1.14.0 to 1.14.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/blob/master/release-notes.md">net.bytebuddy:byte-buddy-dep's
changelog</a>.</em></p>
<blockquote>
<h2>Byte Buddy release notes</h2>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5ef0fa6076"><code>5ef0fa6</code></a>
[maven-release-plugin] prepare release byte-buddy-1.14.1</li>
<li><a
href="bada1525a2"><code>bada152</code></a>
[release] Release new version</li>
<li><a
href="334128e2f8"><code>334128e</code></a>
Update Eclipse lifecycle mapping.</li>
<li><a
href="876d66702e"><code>876d667</code></a>
Add additional scope for Maven plugin.</li>
<li><a
href="665a090c73"><code>665a090</code></a>
Add checksums.</li>
<li><a
href="537c61344e"><code>537c613</code></a>
Increment internal byte buddy and add release notes.</li>
<li><a
href="8c6f8619a0"><code>8c6f861</code></a>
[maven-release-plugin] prepare for next development iteration</li>
<li>See full diff in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.0...byte-buddy-1.14.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=net.bytebuddy:byte-buddy-dep&package-manager=gradle&previous-version=1.14.0&new-version=1.14.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 07:55:24 +02:00
Lauri Tulmin b394bab2ce
Rework pulsar tests (#8000) 2023-03-08 07:48:59 +02:00