Commit Graph

530 Commits

Author SHA1 Message Date
dependabot[bot] 044cb5fdb1
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.14.0 to 6.14.1 (#728) 2023-02-06 16:48:31 -08:00
dependabot[bot] c1b69ed7ff
Bump net.bytebuddy:byte-buddy-agent from 1.12.22 to 1.12.23 (#729) 2023-02-06 14:41:31 -08:00
Mateusz Rzeszutek 09f9b170e1
Limit junit-pioneer to 1.x (#726)
junit-pioneer 2.0 requires Java 11
2023-02-03 16:55:11 +00:00
dependabot[bot] 7f1576fddb
Bump com.uber.nullaway:nullaway from 0.10.8 to 0.10.9 (#724)
Bumps [com.uber.nullaway:nullaway](https://github.com/uber/NullAway)
from 0.10.8 to 0.10.9.
<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.9</h2>
<ul>
<li>Add support for external init annotations in constructors (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/725">#725</a>)</li>
<li>Ignore incompatibly annotated var args from Kotlin code. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/721">#721</a>)</li>
<li>Support for specific libraries/APIs:
<ul>
<li>Add Throwable.getCause and getLocalizedMessage() library models (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/717">#717</a>)</li>
<li>Support more test assertions in OptionalEmptinessHandler (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/718">#718</a>)</li>
<li>Support isInstanceOf(...) as implying non-null in assertion
libraries (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/726">#726</a>)</li>
</ul>
</li>
<li>[Refactor] Avoid redundant Map lookups (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/722">#722</a>)</li>
<li>Build / CI tooling for NullAway itself:
<ul>
<li>Update to Error Prone 2.18.0 (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/707">#707</a>)</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7591b03ae0"><code>7591b03</code></a>
Prepare for release 0.10.9.</li>
<li><a
href="fc151dcaae"><code>fc151dc</code></a>
Support isInstanceOf(...) as implying non-null in assertion libraries.
(<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/726">#726</a>)</li>
<li><a
href="d2e4a491ff"><code>d2e4a49</code></a>
Add support for external init annotations in constructors (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/725">#725</a>)</li>
<li><a
href="4cabc3dc17"><code>4cabc3d</code></a>
Avoid redundant Map lookups (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/722">#722</a>)</li>
<li><a
href="0a78a82df7"><code>0a78a82</code></a>
Ignore incompatibly annotated var args from Kotlin code. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/721">#721</a>)</li>
<li><a
href="57a89e857b"><code>57a89e8</code></a>
Update to Error Prone 2.18.0 (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/707">#707</a>)</li>
<li><a
href="d809795b92"><code>d809795</code></a>
Support more test assertions in OptionalEmptinessHandler (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/718">#718</a>)</li>
<li><a
href="c4c7c4bbb0"><code>c4c7c4b</code></a>
Add Throwable.getCause and getLocalizedMessage() library models (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/717">#717</a>)</li>
<li><a
href="d190853d73"><code>d190853</code></a>
Prepare next development version.</li>
<li>See full diff in <a
href="https://github.com/uber/NullAway/compare/v0.10.8...v0.10.9">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.8&new-version=0.10.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-02-03 15:31:44 +00:00
dependabot[bot] ce1d3ced8a
Bump com.github.ben-manes.versions from 0.44.0 to 0.45.0 (#723)
Bumps com.github.ben-manes.versions from 0.44.0 to 0.45.0.


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-02-03 15:15:57 +01:00
jack-berg 6453d874e9
Jfr streaming version (#721)
Resolves #707. Builds on #716. 

Turns out this wasn't a good first issue because there was some gradle
buildSrc work needed to add a file with the version that the source code
could read. Lifted the source for this from
[opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java/blob/main/buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts#L144-L165).

---------

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-02-02 08:27:25 -06:00
jack-berg e1e718cdd7
Generate JFR telemetry table (#715)
Adds a gradle task called `./gradlew generateDocs` which programatically
generates the telemetry table in `jfr-streaming/README.md`.

This will ensure that the docs stay up to date following changes to the
instrumentation.
2023-02-01 12:25:08 -06:00
jack-berg 13c6268d67
Publish jfr streaming (#716)
- Rename package from `io.opentelemetry.contrib.jfr.metrics` to
`io.opentelemetry.contrib.jfr.streaming`
- Enable publishing, disable publishing of test fixtures
2023-01-31 17:31:41 -08:00
jason plumb d54b9eac32
Fix and enhance resource detection logging. (#711)
I learned (the hard way) today that jul doesn't expand numeric
placeholders in string templates if they are surrounded by single
quotes. Yup.

* `logger.log(INFO, "{0}", "test")` -> `test`
* `logger.log(INFO, "'{0}'", "test")` -> `{0}`

So this results in pretty useless logs here. I also used this as an
opportunity to enhance the details about when/why the resource provider
doesn't kick in.
2023-01-31 18:56:32 +01:00
dependabot[bot] e8346d6cf8
Bump mockitoVersion from 5.0.0 to 5.1.1 (#720)
Bumps `mockitoVersion` from 5.0.0 to 5.1.1.
Updates `org.mockito:mockito-core` from 5.0.0 to 5.1.1
<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.1.1</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.1.1</h4>
<ul>
<li>2023-01-30 - <a
href="https://github.com/mockito/mockito/compare/v5.1.0...v5.1.1">1
commit(s)</a> by Andriy Redko</li>
<li>StackWalker.Option not found on Mockito 5.1.0 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2891">#2891</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2891">mockito/mockito#2891</a>)</li>
<li>StackWalker.Option not found on Mockito 5.1.0 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2890">#2890</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2890">mockito/mockito#2890</a>)</li>
</ul>
<h2>v5.1.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.1.0</h4>
<ul>
<li>2023-01-29 - <a
href="https://github.com/mockito/mockito/compare/v5.0.0...v5.1.0">12
commit(s)</a> by Andriy Redko, Ashley, Róbert Papp, Stephan Schroevers,
Tim te Beek, dependabot[bot]</li>
<li>Fixes some mistakes and missing details in documentation [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2889">#2889</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2889">mockito/mockito#2889</a>)</li>
<li>Bump com.diffplug.spotless from 6.13.0 to 6.14.0 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2888">#2888</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2888">mockito/mockito#2888</a>)</li>
<li>Clean up JDK-8 related code [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2883">#2883</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2883">mockito/mockito#2883</a>)</li>
<li>Feat: reified mock overloads [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2882">#2882</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2882">mockito/mockito#2882</a>)</li>
<li>Clean up JDK-8 related code [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2879">#2879</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2879">mockito/mockito#2879</a>)</li>
<li>Bump assertj-core from 3.24.1 to 3.24.2 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2875">#2875</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2875">mockito/mockito#2875</a>)</li>
<li>Make sure the tests use mock maker with intended member accessor
[(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2872">#2872</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2872">mockito/mockito#2872</a>)</li>
<li>Bump com.diffplug.spotless from 6.12.1 to 6.13.0 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2871">#2871</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2871">mockito/mockito#2871</a>)</li>
<li>Remove broken link from <code>CONTRIBUTING.md</code> [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2870">#2870</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2870">mockito/mockito#2870</a>)</li>
<li>Update outdated badge 3.x to 5.x [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2869">#2869</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2869">mockito/mockito#2869</a>)</li>
<li>Broken link in <code>CONTRIBUTING.md</code> [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2868">#2868</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2868">mockito/mockito#2868</a>)</li>
<li>Set current version to 5.x in README and highlight changes [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2867">#2867</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2867">mockito/mockito#2867</a>)</li>
<li>Annotate <code>Mockito#{mock,spy}(T... reified)</code> with
<code>@SafeVarargs</code> [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2866">#2866</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2866">mockito/mockito#2866</a>)</li>
<li>Make sure the tests use mock maker with intended member accessor
[(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2855">#2855</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2855">mockito/mockito#2855</a>)</li>
<li>Improve examples for InOrder [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2843">#2843</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2843">mockito/mockito#2843</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="50b21cf68b"><code>50b21cf</code></a>
StackWalker.Option not found on Mockito 5.1.0 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2891">#2891</a>)</li>
<li><a
href="19ab3ea838"><code>19ab3ea</code></a>
Fixes some mistakes and missing details in documentation (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2889">#2889</a>)</li>
<li><a
href="b47bab2970"><code>b47bab2</code></a>
Bump com.diffplug.spotless from 6.13.0 to 6.14.0 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2888">#2888</a>)</li>
<li><a
href="4775c67fe3"><code>4775c67</code></a>
Clean up JDK-8 related code (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2883">#2883</a>)</li>
<li><a
href="91223f8305"><code>91223f8</code></a>
Feat: reified mock overloads (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2882">#2882</a>)</li>
<li><a
href="96452fa7fb"><code>96452fa</code></a>
Make sure the tests use mock maker with intended member accessor (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2872">#2872</a>)</li>
<li><a
href="1418769a9f"><code>1418769</code></a>
Bump assertj-core from 3.24.1 to 3.24.2 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2875">#2875</a>)</li>
<li><a
href="f4d7c346b1"><code>f4d7c34</code></a>
Bump com.diffplug.spotless from 6.12.1 to 6.13.0 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2871">#2871</a>)</li>
<li><a
href="23e344ec7b"><code>23e344e</code></a>
Remove broken link from <code>CONTRIBUTING.md</code> (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2870">#2870</a>)</li>
<li><a
href="f2a47c35b8"><code>f2a47c3</code></a>
Improve examples for InOrder (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2843">#2843</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mockito/mockito/compare/v5.0.0...v5.1.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `org.mockito:mockito-junit-jupiter` from 5.0.0 to 5.1.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mockito/mockito/releases">org.mockito:mockito-junit-jupiter's
releases</a>.</em></p>
<blockquote>
<h2>v5.1.1</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.1.1</h4>
<ul>
<li>2023-01-30 - <a
href="https://github.com/mockito/mockito/compare/v5.1.0...v5.1.1">1
commit(s)</a> by Andriy Redko</li>
<li>StackWalker.Option not found on Mockito 5.1.0 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2891">#2891</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2891">mockito/mockito#2891</a>)</li>
<li>StackWalker.Option not found on Mockito 5.1.0 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2890">#2890</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2890">mockito/mockito#2890</a>)</li>
</ul>
<h2>v5.1.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.1.0</h4>
<ul>
<li>2023-01-29 - <a
href="https://github.com/mockito/mockito/compare/v5.0.0...v5.1.0">12
commit(s)</a> by Andriy Redko, Ashley, Róbert Papp, Stephan Schroevers,
Tim te Beek, dependabot[bot]</li>
<li>Fixes some mistakes and missing details in documentation [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2889">#2889</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2889">mockito/mockito#2889</a>)</li>
<li>Bump com.diffplug.spotless from 6.13.0 to 6.14.0 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2888">#2888</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2888">mockito/mockito#2888</a>)</li>
<li>Clean up JDK-8 related code [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2883">#2883</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2883">mockito/mockito#2883</a>)</li>
<li>Feat: reified mock overloads [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2882">#2882</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2882">mockito/mockito#2882</a>)</li>
<li>Clean up JDK-8 related code [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2879">#2879</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2879">mockito/mockito#2879</a>)</li>
<li>Bump assertj-core from 3.24.1 to 3.24.2 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2875">#2875</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2875">mockito/mockito#2875</a>)</li>
<li>Make sure the tests use mock maker with intended member accessor
[(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2872">#2872</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2872">mockito/mockito#2872</a>)</li>
<li>Bump com.diffplug.spotless from 6.12.1 to 6.13.0 [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2871">#2871</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2871">mockito/mockito#2871</a>)</li>
<li>Remove broken link from <code>CONTRIBUTING.md</code> [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2870">#2870</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2870">mockito/mockito#2870</a>)</li>
<li>Update outdated badge 3.x to 5.x [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2869">#2869</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2869">mockito/mockito#2869</a>)</li>
<li>Broken link in <code>CONTRIBUTING.md</code> [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2868">#2868</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2868">mockito/mockito#2868</a>)</li>
<li>Set current version to 5.x in README and highlight changes [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2867">#2867</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2867">mockito/mockito#2867</a>)</li>
<li>Annotate <code>Mockito#{mock,spy}(T... reified)</code> with
<code>@SafeVarargs</code> [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2866">#2866</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2866">mockito/mockito#2866</a>)</li>
<li>Make sure the tests use mock maker with intended member accessor
[(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2855">#2855</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2855">mockito/mockito#2855</a>)</li>
<li>Improve examples for InOrder [(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2843">#2843</a>)](<a
href="https://github-redirect.dependabot.com/mockito/mockito/pull/2843">mockito/mockito#2843</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="50b21cf68b"><code>50b21cf</code></a>
StackWalker.Option not found on Mockito 5.1.0 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2891">#2891</a>)</li>
<li><a
href="19ab3ea838"><code>19ab3ea</code></a>
Fixes some mistakes and missing details in documentation (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2889">#2889</a>)</li>
<li><a
href="b47bab2970"><code>b47bab2</code></a>
Bump com.diffplug.spotless from 6.13.0 to 6.14.0 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2888">#2888</a>)</li>
<li><a
href="4775c67fe3"><code>4775c67</code></a>
Clean up JDK-8 related code (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2883">#2883</a>)</li>
<li><a
href="91223f8305"><code>91223f8</code></a>
Feat: reified mock overloads (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2882">#2882</a>)</li>
<li><a
href="96452fa7fb"><code>96452fa</code></a>
Make sure the tests use mock maker with intended member accessor (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2872">#2872</a>)</li>
<li><a
href="1418769a9f"><code>1418769</code></a>
Bump assertj-core from 3.24.1 to 3.24.2 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2875">#2875</a>)</li>
<li><a
href="f4d7c346b1"><code>f4d7c34</code></a>
Bump com.diffplug.spotless from 6.12.1 to 6.13.0 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2871">#2871</a>)</li>
<li><a
href="23e344ec7b"><code>23e344e</code></a>
Remove broken link from <code>CONTRIBUTING.md</code> (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2870">#2870</a>)</li>
<li><a
href="f2a47c35b8"><code>f2a47c3</code></a>
Improve examples for InOrder (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2843">#2843</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mockito/mockito/compare/v5.0.0...v5.1.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-31 15:06:41 +01:00
dependabot[bot] 32b1d831af
Bump com.gradle.enterprise from 3.12.2 to 3.12.3 (#719)
Bumps com.gradle.enterprise from 3.12.2 to 3.12.3.


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-31 15:06:12 +01:00
dependabot[bot] e96672ce38
Bump jackson-bom from 2.14.1 to 2.14.2 (#717)
Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from
2.14.1 to 2.14.2.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6a381633a6"><code>6a38163</code></a>
[maven-release-plugin] prepare release jackson-bom-2.14.2</li>
<li><a
href="6579bfc3a7"><code>6579bfc</code></a>
Prepare for 2.14.2 release</li>
<li><a
href="380ca7696d"><code>380ca76</code></a>
Back to snapshot deps</li>
<li><a
href="ce91dcc91e"><code>ce91dcc</code></a>
[maven-release-plugin] prepare for next development iteration</li>
<li>See full diff in <a
href="https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.14.1...jackson-bom-2.14.2">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-31 15:05:22 +01:00
jack-berg 0a384d1a12
JFR features can be enabled and disabled (#709)
Resolves #673.

Groups `RecordedEventHandlers` into "features", which can be toggled on
and off, and which are enabled by default if not already implemented in
the JMX based
[runtime-metrics](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/runtime-metrics/library).

This was discussed in the 1/5 SIG, as mentioned in this
[comment](https://github.com/open-telemetry/opentelemetry-java-contrib/issues/673#issuecomment-1374223384).

A side effect of this is that the tests can enable the precise set of
features that they test, further increasing isolation.

Also extends `JfrTelemetry#close()` to close all the observable
instruments so that they stop reported data. Does this by having
`RecordedEventHandler` extend `Closeable`, and having each
implementation track its observable instruments.
2023-01-27 15:54:51 -06:00
dependabot[bot] 98b25debc3
Bump com.diffplug.spotless from 6.13.0 to 6.14.0 (#713)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps com.diffplug.spotless from 6.13.0 to 6.14.0.


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-27 15:47:05 +01:00
dependabot[bot] bbe07c93a7
Bump spotless-plugin-gradle from 6.13.0 to 6.14.0 (#712)
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless)
from 6.13.0 to 6.14.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f1cfc6189f"><code>f1cfc61</code></a>
Published gradle/6.14.0</li>
<li><a
href="2995371d0b"><code>2995371</code></a>
So we have to run the workflow on the <code>release</code> branch,
<em>and</em> we need to pull...</li>
<li><a
href="2aa7f51bc6"><code>2aa7f51</code></a>
Another shot at fixing our publish workflow.</li>
<li><a
href="27522dc85e"><code>27522dc</code></a>
Start publishing against the <code>release</code> branch to fix a new
issue with GitHub ...</li>
<li><a
href="c55e736b62"><code>c55e736</code></a>
Published lib/2.33.0</li>
<li><a
href="f71b28658b"><code>f71b286</code></a>
Fix bug in changelog publish setup.</li>
<li><a
href="5c3411d00a"><code>5c3411d</code></a>
Add missing changelog links to root <code>settings.gradle</code></li>
<li><a
href="e3be8779f4"><code>e3be877</code></a>
Bump default versions to latest available (<a
href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1529">#1529</a>)</li>
<li><a
href="5d6714d566"><code>5d6714d</code></a>
Update changelogs.</li>
<li><a
href="87b6dd8b8b"><code>87b6dd8</code></a>
Bump default scalafmt <code>3.6.1</code> -&gt; <code>3.7.1</code></li>
<li>Additional commits viewable in <a
href="https://github.com/diffplug/spotless/compare/plugin-gradle/6.13.0...gradle/6.14.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.13.0&new-version=6.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-27 15:46:32 +01:00
John Watson 1506c2147b
Allow providing a custom sampler as an option for the RuleBasedRoutingSampler (#710)
**Description:**
Currently, the RuleBasedRoutingSampler only lets you specify `drop` or
`recordAndSample`. This PR makes it possible to provide a custom sampler
to use when the span has an attribute matching the provided pattern.

**Documentation:**
Added a bunch of javadoc, because there wasn't any in the builder at
all.
2023-01-23 12:23:27 -08:00
Trask Stalnaker f7b30f26b2
Update misspell link (#706)
see
https://github.com/open-telemetry/opentelemetry-java/pull/5118/files#r1070170588
2023-01-19 10:42:27 +01:00
jack-berg df3795575f
Cleanup jfr-streaming (#705)
Changes includes:

- Rename `JfrMetrics` to `JfrTelemetry`. This is looking forward to
potentially emitting other telemetry besides metrics in the future.
- `JfrTelemetry` is initialized with `OpenTelemetry` instead of
`MeterProvider`. This is a continuation of the last item.
- `JfrTelemetry` implements `Closeable`, and can stop recording.
- All `RecordEventHandler` implementations accept `Meter` as a
construction arg. This allows the removal of the awkward
post-construction initialization via `initializeMeter`, and the
`defaultMeter`.
- Remove some unused constants
- Refactor `AbstractJfrTest` to be a junit5 extension, `JfrExtension`,
favoring composition over inheritance. Tests now start and stop
recording for each test, improving isolation.
2023-01-18 16:20:01 -08:00
dependabot[bot] 02b9342125
Bump com.diffplug.spotless from 6.12.1 to 6.13.0 (#700) 2023-01-17 19:29:26 -08:00
dependabot[bot] 2742291724
Bump errorProneVersion from 2.17.0 to 2.18.0 (#682) 2023-01-17 16:39:57 -08:00
dependabot[bot] d84b6ebce0
Bump assertj-core from 3.24.1 to 3.24.2 (#704)
Bumps assertj-core from 3.24.1 to 3.24.2.


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-17 18:38:53 +01:00
dependabot[bot] 5a1f1e0719
Bump byte-buddy-agent from 1.12.21 to 1.12.22 (#688) 2023-01-16 19:54:32 -08:00
dependabot[bot] 1b696b4b7c
Bump maven-plugin-annotations from 3.7.0 to 3.7.1 (#698) 2023-01-16 19:54:12 -08:00
dependabot[bot] 877942b1b9
Bump junit-jupiter from 5.8.1 to 5.9.2 (#699) 2023-01-16 19:53:53 -08:00
OpenTelemetry Bot 6c620f0870
Update version to 1.23.0-SNAPSHOT (#701)
Update version to `1.23.0-SNAPSHOT`.
2023-01-17 03:37:28 +00:00
Trask Stalnaker 692b497ac1
One more change log update for 1.22.0 (#697) 2023-01-16 19:27:16 -08:00
Trask Stalnaker b259bd6271
Remove workaround (#696)
same as
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7533
2023-01-16 08:37:11 +01:00
dependabot[bot] 918fc6e66b
Bump opentelemetry-javaagent from 1.21.0 to 1.22.1 (#693) 2023-01-15 18:54:05 +00:00
dependabot[bot] b89198070c
Bump grpc-bom from 1.52.0 to 1.52.1 (#694)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.52.0 to
1.52.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="57dfe8c913"><code>57dfe8c</code></a>
Bump version to 1.52.1</li>
<li><a
href="69f10e2662"><code>69f10e2</code></a>
Update README etc to reference 1.52.1</li>
<li><a
href="15026d5efb"><code>15026d5</code></a>
xds:fix cancel xds watcher accidentally removes the url (v1.52 backport)
(<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9810">#9810</a>)</li>
<li><a
href="a13a2dd960"><code>a13a2dd</code></a>
Bump version to 1.52.1-SNAPSHOT</li>
<li>See full diff in <a
href="https://github.com/grpc/grpc-java/compare/v1.52.0...v1.52.1">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-14 15:09:12 -08:00
dependabot[bot] 327104f0ea
Bump mockitoVersion from 4.11.0 to 5.0.0 (#692)
Bumps `mockitoVersion` from 4.11.0 to 5.0.0.
Updates `mockito-core` from 4.11.0 to 5.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mockito/mockito/releases">mockito-core's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h1>Mockito 5: prepare for future JDK versions</h1>
<p>For a while now, we have seen an increase in
problems/incompatibilities with recent versions of the JDK due to our
usage of JVM-internal API.
Most notably, JDK 17 made some changes which are incompatible with the
current subclass mockmaker.
Therefore, to prepare for the future of JDK, we are making some core
changes to ensure Mockito keeps on working.</p>
<h2>Switch the default mockmaker to <code>mockito-inline</code></h2>
<p>Back in Mockito 2.7.6, we published a new mockmaker based on the
&quot;inline bytecode&quot; principle.
This mockmaker creates mocks manipulating bytecode equivalent within the
original class such that its method implementations hook into the normal
Mockito machinery.
As a comparison, the subclass mockmaker generates &quot;real&quot;
subclasses for mocks, to mimic the same behavior.
While the approaches are similar, the inline mockmaker avoids certain
restrictions that the JDK imposes.
For example, it does not violate module boundaries (introduced in JDK 9,
but more heavily used in JDK 17) and avoids the leaking of the creation
of the subclass.</p>
<p>Massive thanks to community member <a
href="https://github.com/reta"><code>@​reta</code></a> who implemented
this change.</p>
<h3>When should I still be using the subclass mockmaker?</h3>
<p>There are legitimate remaining use cases for the subclass mockmaker.
For example, on the Graal VM's native image, the inline mockmaker will
not work and the subclass mockmaker is the appropriate choice.
Additionally, if you would like to avoid mocking final classes, using
the subclass mockmaker is a possibibility.
Note however that if you solely want to use the subclass mockmaker to
avoid mocking final, you will run into the above mentioned issues on JDK
17+.
We want to leave this choice up to our users, which is why we will keep
on supporting the subclass mockmaker.</p>
<p>If you want to use the subclass mockmaker instead, you can use the
new <code>mockito-subclass</code> artifact (published <a
href="https://search.maven.org/artifact/org.mockito/mockito-subclass">on
Maven Central</a> along with all our other artifacts).</p>
<h2>Update the minimum supported Java version to 11</h2>
<p>Mockito 4 supports Java 8 and above.
Similar to other open source projects, we are moving away from JDK 8 and
to newer versions.
The primary reason for moving away from JDK 8 is the increasing
maintenance costs with keeping our own infrastructure working.
Lately we have been running into more and more JDK 8 breakages.
Additionally, while we want to support the newest JDK API's, our current
solution to support both JDK 8 and newer versions causes <a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2798">issues
with the <code>SecurityManager</code></a>.
Since we want Mockito to work on the newest version and more and more
businesses adopting JDK 11, we have decided to make the switch as
well.</p>
<p>Massive thanks to community member <a
href="https://github.com/reta"><code>@​reta</code></a> who implemented
this change.</p>
<h3>What should I do if I still run JDK 8?</h3>
<p>For JDK 8 and below, you can keep on using Mockito 4.
This is similar to if you are using JDK 6, for which you can keep on
using Mockito 2.
The changes in Mockito 5 (for now) are primarily focused on the latest
JDK versions, which means the API differences between Mockito 4 and 5
are minimal.
However, over time this will most likely widen, so we do recommend
adopting JDK 11 in the future.</p>
<h2>New <code>type()</code> method on <code>ArgumentMatcher</code></h2>
<p>One of our most used public API's for customizing Mockito is the <a
href="https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/ArgumentMatcher.html"><code>ArgumentMatcher</code>
interface</a>.
The interface allows you to define a custom matcher, which you can pass
into method arguments to provide more targeted matches.
One major shortcoming of the <code>ArgumentMatcher</code> was the lack
of varargs support.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="adf528d173"><code>adf528d</code></a>
Bump versions.bytebuddy from 1.12.21 to 1.12.22 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2864">#2864</a>)</li>
<li><a
href="2418419a19"><code>2418419</code></a>
Bump versions.junitJupiter from 5.9.1 to 5.9.2 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2858">#2858</a>)</li>
<li><a
href="3d40cd51d3"><code>3d40cd5</code></a>
Bump junit-platform-launcher from 1.9.1 to 1.9.2 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2859">#2859</a>)</li>
<li><a
href="9bec8e3a1a"><code>9bec8e3</code></a>
Bump versions.errorprone from 2.17.0 to 2.18.0 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2857">#2857</a>)</li>
<li><a
href="a9595f559c"><code>a9595f5</code></a>
Switch the default mockmaker to the inline mockmaker on JDK 17+ (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2834">#2834</a>)</li>
<li><a
href="c5d7fbc532"><code>c5d7fbc</code></a>
Bump assertj-core from 3.23.1 to 3.24.1 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2854">#2854</a>)</li>
<li><a
href="dbd7f2ff4a"><code>dbd7f2f</code></a>
Bump versions.bytebuddy from 1.12.20 to 1.12.21 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2852">#2852</a>)</li>
<li><a
href="4d62fa75c7"><code>4d62fa7</code></a>
Bump junit from 1.1.4 to 1.1.5 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2850">#2850</a>)</li>
<li><a
href="b1b6d6afcb"><code>b1b6d6a</code></a>
Bump espresso-core from 3.5.0 to 3.5.1 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2849">#2849</a>)</li>
<li><a
href="7b5b8dd840"><code>7b5b8dd</code></a>
Remove use case for non-existent method VerificationWithTimeout#never
(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2848">#2848</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mockito/mockito/compare/v4.11.0...v5.0.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `mockito-junit-jupiter` from 4.11.0 to 5.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mockito/mockito/releases">mockito-junit-jupiter's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h1>Mockito 5: prepare for future JDK versions</h1>
<p>For a while now, we have seen an increase in
problems/incompatibilities with recent versions of the JDK due to our
usage of JVM-internal API.
Most notably, JDK 17 made some changes which are incompatible with the
current subclass mockmaker.
Therefore, to prepare for the future of JDK, we are making some core
changes to ensure Mockito keeps on working.</p>
<h2>Switch the default mockmaker to <code>mockito-inline</code></h2>
<p>Back in Mockito 2.7.6, we published a new mockmaker based on the
&quot;inline bytecode&quot; principle.
This mockmaker creates mocks manipulating bytecode equivalent within the
original class such that its method implementations hook into the normal
Mockito machinery.
As a comparison, the subclass mockmaker generates &quot;real&quot;
subclasses for mocks, to mimic the same behavior.
While the approaches are similar, the inline mockmaker avoids certain
restrictions that the JDK imposes.
For example, it does not violate module boundaries (introduced in JDK 9,
but more heavily used in JDK 17) and avoids the leaking of the creation
of the subclass.</p>
<p>Massive thanks to community member <a
href="https://github.com/reta"><code>@​reta</code></a> who implemented
this change.</p>
<h3>When should I still be using the subclass mockmaker?</h3>
<p>There are legitimate remaining use cases for the subclass mockmaker.
For example, on the Graal VM's native image, the inline mockmaker will
not work and the subclass mockmaker is the appropriate choice.
Additionally, if you would like to avoid mocking final classes, using
the subclass mockmaker is a possibibility.
Note however that if you solely want to use the subclass mockmaker to
avoid mocking final, you will run into the above mentioned issues on JDK
17+.
We want to leave this choice up to our users, which is why we will keep
on supporting the subclass mockmaker.</p>
<p>If you want to use the subclass mockmaker instead, you can use the
new <code>mockito-subclass</code> artifact (published <a
href="https://search.maven.org/artifact/org.mockito/mockito-subclass">on
Maven Central</a> along with all our other artifacts).</p>
<h2>Update the minimum supported Java version to 11</h2>
<p>Mockito 4 supports Java 8 and above.
Similar to other open source projects, we are moving away from JDK 8 and
to newer versions.
The primary reason for moving away from JDK 8 is the increasing
maintenance costs with keeping our own infrastructure working.
Lately we have been running into more and more JDK 8 breakages.
Additionally, while we want to support the newest JDK API's, our current
solution to support both JDK 8 and newer versions causes <a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2798">issues
with the <code>SecurityManager</code></a>.
Since we want Mockito to work on the newest version and more and more
businesses adopting JDK 11, we have decided to make the switch as
well.</p>
<p>Massive thanks to community member <a
href="https://github.com/reta"><code>@​reta</code></a> who implemented
this change.</p>
<h3>What should I do if I still run JDK 8?</h3>
<p>For JDK 8 and below, you can keep on using Mockito 4.
This is similar to if you are using JDK 6, for which you can keep on
using Mockito 2.
The changes in Mockito 5 (for now) are primarily focused on the latest
JDK versions, which means the API differences between Mockito 4 and 5
are minimal.
However, over time this will most likely widen, so we do recommend
adopting JDK 11 in the future.</p>
<h2>New <code>type()</code> method on <code>ArgumentMatcher</code></h2>
<p>One of our most used public API's for customizing Mockito is the <a
href="https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/ArgumentMatcher.html"><code>ArgumentMatcher</code>
interface</a>.
The interface allows you to define a custom matcher, which you can pass
into method arguments to provide more targeted matches.
One major shortcoming of the <code>ArgumentMatcher</code> was the lack
of varargs support.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="adf528d173"><code>adf528d</code></a>
Bump versions.bytebuddy from 1.12.21 to 1.12.22 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2864">#2864</a>)</li>
<li><a
href="2418419a19"><code>2418419</code></a>
Bump versions.junitJupiter from 5.9.1 to 5.9.2 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2858">#2858</a>)</li>
<li><a
href="3d40cd51d3"><code>3d40cd5</code></a>
Bump junit-platform-launcher from 1.9.1 to 1.9.2 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2859">#2859</a>)</li>
<li><a
href="9bec8e3a1a"><code>9bec8e3</code></a>
Bump versions.errorprone from 2.17.0 to 2.18.0 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2857">#2857</a>)</li>
<li><a
href="a9595f559c"><code>a9595f5</code></a>
Switch the default mockmaker to the inline mockmaker on JDK 17+ (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2834">#2834</a>)</li>
<li><a
href="c5d7fbc532"><code>c5d7fbc</code></a>
Bump assertj-core from 3.23.1 to 3.24.1 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2854">#2854</a>)</li>
<li><a
href="dbd7f2ff4a"><code>dbd7f2f</code></a>
Bump versions.bytebuddy from 1.12.20 to 1.12.21 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2852">#2852</a>)</li>
<li><a
href="4d62fa75c7"><code>4d62fa7</code></a>
Bump junit from 1.1.4 to 1.1.5 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2850">#2850</a>)</li>
<li><a
href="b1b6d6afcb"><code>b1b6d6a</code></a>
Bump espresso-core from 3.5.0 to 3.5.1 (<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2849">#2849</a>)</li>
<li><a
href="7b5b8dd840"><code>7b5b8dd</code></a>
Remove use case for non-existent method VerificationWithTimeout#never
(<a
href="https://github-redirect.dependabot.com/mockito/mockito/issues/2848">#2848</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mockito/mockito/compare/v4.11.0...v5.0.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-14 11:44:53 -08:00
dependabot[bot] 74c061da03
Bump nullaway from 0.10.7 to 0.10.8 (#691)
Bumps [nullaway](https://github.com/uber/NullAway) from 0.10.7 to
0.10.8.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uber/NullAway/blob/master/CHANGELOG.md">nullaway's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.10.8</h2>
<ul>
<li>Don't do checks for type casts and parameterized trees in
unannotated code (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/712">#712</a>)</li>
<li>Add an initial <code>nullaway:nullaway-annotations</code> artifact.
(<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/709">#709</a>)
<ul>
<li>Contains only an implementation of <code>@Initializer</code> for
now.</li>
</ul>
</li>
<li>NullAwayInfer/Annotator data serialization support [experimental]
<ul>
<li>Update region selection for initialization errors. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/713">#713</a>)</li>
<li>Update path serialization for reported errors and fixes. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/714">#714</a>)</li>
</ul>
</li>
<li>Build / CI tooling for NullAway itself:
<ul>
<li>Turn up various Error Prone checks (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/710">#710</a>)</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8309d67fa0"><code>8309d67</code></a>
Prepare for release 0.10.8.</li>
<li><a
href="535772a507"><code>535772a</code></a>
[FixSerialization] Update path serialization for reported errors and
fixes. (...</li>
<li><a
href="dcadcfae37"><code>dcadcfa</code></a>
Update region selection for initialization errors. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/713">#713</a>)</li>
<li><a
href="2f871a8329"><code>2f871a8</code></a>
Don't do checks for type casts and parameterized trees in unannotated
code (#...</li>
<li><a
href="ab0a17df03"><code>ab0a17d</code></a>
Turn up various Error Prone checks (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/710">#710</a>)</li>
<li><a
href="afb8fd4902"><code>afb8fd4</code></a>
Add an initial annotations artifact (with sample <a
href="https://github.com/Initializer"><code>@​Initializer</code></a>
implementation)...</li>
<li><a
href="3ad8876b14"><code>3ad8876</code></a>
Prepare next development version.</li>
<li>See full diff in <a
href="https://github.com/uber/NullAway/compare/v0.10.7...v0.10.8">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.7&new-version=0.10.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-14 11:44:20 -08:00
dependabot[bot] 5fb079f2c8
Bump opentelemetry-bom-alpha from 1.21.0-alpha to 1.22.0-alpha (#680)
Bumps
[opentelemetry-bom-alpha](https://github.com/open-telemetry/opentelemetry-java)
from 1.21.0-alpha to 1.22.0-alpha.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java/releases">opentelemetry-bom-alpha's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.21.0</h2>
<h3>API</h3>
<h3>API Extensions</h3>
<ul>
<li>WARNING: <code>opentelemetry-extension-aws</code> has been removed
following its relocation to <a
href="https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/aws-xray-propagator">opentelemetry-java-contrib/aws-xray-propagator</a>,
which is published under coordinates
<code>io.opentelemetry.contrib:opentelemetry-aws-xray-propagator:{version}</code>.
We will push security patches to <code>1.20.x</code> as needed. The
latest <code>opentelemetry-bom</code> will point to the latest published
version, currently <code>1.20.1</code>. (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4945">#4945</a>)</li>
<li>Add toString implementation to various propagator components (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4996">#4996</a>)</li>
</ul>
<h3>SDK</h3>
<h4>Logs</h4>
<ul>
<li>Add toString implementation to various log SDK components (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4979">#4979</a>)</li>
</ul>
<h4>Metrics</h4>
<ul>
<li>Add histogram collection benchmark (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4912">#4912</a>)</li>
<li>Add ExponentialHistogramIndexerBenchmark (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4989">#4989</a>)</li>
<li>Stop extra copy of exponential histogram buckets (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5020">#5020</a>)</li>
</ul>
<h4>Exporter</h4>
<ul>
<li>Zipkin exporter serializes EventData attributes as JSON (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4934">#4934</a>)</li>
<li>Add support for EC mTLS keys (applies to
<code>OtlpHttp{Signal}Exporter</code>,
<code>OtlpGrpc{Signal}Exporter</code>,
<code>JaegerGrpcSpanExporter</code>, <code>JaegerRemoteSampler</code>)
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4920">#4920</a>)</li>
<li>Add <code>Configurable{Signal}ExporterProvider</code>
implementations for <code>Logging{Signal}Exporter</code>s (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4950">#4950</a>)</li>
<li>Add <code>ConfigurableSpanExporterProvider</code> implementation for
<code>ZipkinSpanExporter</code> (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4991">#4991</a>)</li>
<li>Add <code>Configurable{Signal}ExporterProvider</code>
implementations for <code>OtlpJsonLogging{Signal}Exporter</code>s (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4992">#4992</a>)</li>
<li><code>ZipkinSpanExporter</code> populates remoteEndpoint (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4933">#4933</a>)</li>
</ul>
<h4>SDK Extensions</h4>
<ul>
<li>BREAKING: Remove support for otel.experimental.sdk.enabled from
autoconfigure (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4973">#4973</a>)</li>
<li>De-singleton ZPageServer implementation (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4935">#4935</a>)</li>
<li>Add auto-configure support for logging-otlp exporters (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4879">#4879</a>)</li>
<li>Move DefaultConfigProperties to internal package in
<code>opentelemetry-sdk-extension-autoconfigure-spi</code> (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5001">#5001</a>)</li>
</ul>
<h4>Testing</h4>
<ul>
<li>Make APIs for asserting attributes consistent (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4882">#4882</a>)</li>
<li>Attribute assertions error messages always contain the attr key (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5027">#5027</a>)</li>
</ul>
<h3>Semantic Conventions</h3>
<ul>
<li>Update semantic and resource attributes for spec v0.16.0 (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4938">#4938</a>,
<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5033">#5033</a>)</li>
</ul>
<h3>OpenTracing Shim</h3>
<ul>
<li>Handle unsupported types when setting Attributes (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4939">#4939</a>)</li>
<li>Properly set the status based on the error tag (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4962">#4962</a>)</li>
<li>Handle <code>io.opentracing.noop.NoopSpan</code> correctly (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4968">#4968</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md">opentelemetry-bom-alpha's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Unreleased</h2>
<h2>Version 1.22.0 (2023-01-06)</h2>
<h3>API</h3>
<ul>
<li>WARNING: GlobalOpenTelemetry trigger of autoconfiguration is now
opt-in.
Previously, <code>GlobalOpenTelemetry.get</code> triggered
autoconfiguration
if <code>opentelemetry-sdk-extension-autoconfigure</code> was detected
on the classpath. That behavior is now
opt-in by setting environment variable
<code>OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED=true</code>.
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5010">#5010</a>)</li>
<li>Update LoggerBuilder, MeterBuilder, TracerBuilder javadoc
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5050">#5050</a>)</li>
</ul>
<h4>Context</h4>
<ul>
<li>Make closing scope idempotent and non-operational when corresponding
context is not current.
[(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/issues/5061">#5061</a>)](<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5061">open-telemetry/opentelemetry-java#5061</a>)</li>
</ul>
<h3>SDK</h3>
<ul>
<li>Standardize internal usage of <code>ConfigUtil</code> for reading
environment variables and system properties
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5048">#5048</a>)</li>
</ul>
<h4>Metrics</h4>
<ul>
<li>Lazily initialize exponential histogram buckets
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5023">#5023</a>)</li>
<li>Delete MapCounter alternative exponential histogram implementation
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5047">#5047</a>)</li>
<li>Add toString to SdkMeter, SdkObservableInstrument,
AbstractInstrumentBuilder
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5072">#5072</a>)</li>
</ul>
<h4>Exporter</h4>
<ul>
<li><code>OtlpGrpcSpanExporter</code>,
<code>OtlpHttpSpanExporter</code>,
<code>OtlpGrpcLogRecordExporter</code>,
<code>OtlpHttpLogRecordExporter</code>, <code>ZipkinSpanExporter</code>,
and <code>JaegerGrpcSpanExporter</code> are now
instrumented with <code>GlobalOpenTelemetry</code> by default.
Instrumentation initializes lazily to prevent
ordering issue of accessing <code>GlobalOpenTelemetry.get</code> before
<code>GlobalOpenTelemetry.set</code> is called.
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/4993">#4993</a>)</li>
<li>Add <code>ConfigurableSpanExporterProvider</code> implementation for
<code>JaegerGrpcSpanExporter</code>
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5002">#5002</a>)</li>
<li>Add <code>ConfigurableSpanExporterProvider</code>,
<code>ConfigurableMetricExporterProvider</code>,
<code>ConfigurableLogRecordExporterProvider</code> for
<code>OtlpGrpc{Signal}Exporter</code>s
and <code>OtlpHttp{SignalExporter</code>s
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5003">#5003</a>)</li>
<li>Replace OTLP User-Agent spaces with dashes
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java/pull/5080">#5080</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/open-telemetry/opentelemetry-java/commits">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-01-14 11:43:15 -08:00
dependabot[bot] 1ed7a7d039
Bump opentelemetry-instrumentation-bom-alpha from 1.22.0-alpha to 1.22.1-alpha (#695)
Bumps
[opentelemetry-instrumentation-bom-alpha](https://github.com/open-telemetry/opentelemetry-java-instrumentation)
from 1.22.0-alpha to 1.22.1-alpha.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases">opentelemetry-instrumentation-bom-alpha's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.22.0</h2>
<p>This release targets the OpenTelemetry SDK 1.22.0.</p>
<p>Note that many artifacts have the <code>-alpha</code> suffix attached
to their version number, reflecting that they are still alpha quality
and will continue to have breaking changes. Please see the <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/VERSIONING.md#opentelemetry-java-instrumentation-versioning">VERSIONING.md</a>
for more details.</p>
<h3>📈 Enhancements</h3>
<ul>
<li>Add resource injection for getResourceAsStream (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7476">#7476</a>)</li>
<li>GRPC: Adds peer socket address when the client call is ready (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7451">#7451</a>)</li>
<li>Make OpenTelemetryAppender.Builder public (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7521">#7521</a>)</li>
<li>Disable internal TaskScheduler spans in Spring Kafka instrumentation
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7553">#7553</a>)</li>
<li>Support Spring Web MVC in library instrumentation (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7552">#7552</a>)</li>
<li>Instrument JMS 3.0 (Jakarta) (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7418">#7418</a>)</li>
<li>Shade <code>application.io.opentelemetry</code> in agent extension
class loader (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7519">#7519</a>)</li>
<li>Use new reactor contextWrite when available (from reactor 3.4.0) (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7538">#7538</a>)</li>
<li>Make config file available in early agent initialization phase (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7550">#7550</a>)</li>
<li>Support Spring JMS 6.0 (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7438">#7438</a>)</li>
</ul>
<h3>🛠️ Bug fixes</h3>
<ul>
<li>Preserve original exception in jetty http client wrappers (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7455">#7455</a>)</li>
<li>Propagate original exception through kafka wrapper (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7452">#7452</a>)</li>
<li>Fix class file load error when using spring-guice together with
spring-web instrumentation (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7447">#7447</a>)</li>
<li>Fix NPE in servlet AsyncListener on OpenLiberty (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7498">#7498</a>)</li>
</ul>
<h3>🧰 Tooling</h3>
<ul>
<li>Muzzle logs should be logged using the io.opentelemetry.* logger
name (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7446">#7446</a>)</li>
</ul>
<h3>🙇 Thank you</h3>
<p>This release was possible thanks to the following contributors who
shared their brilliant ideas and awesome pull requests:</p>
<p><a
href="https://github.com/anuragagarwal561994"><code>@​anuragagarwal561994</code></a>
<a href="https://github.com/axelczk"><code>@​axelczk</code></a>
<a href="https://github.com/breedx-splk"><code>@​breedx-splk</code></a>
<a href="https://github.com/cschieb"><code>@​cschieb</code></a>
<a href="https://github.com/jack-berg"><code>@​jack-berg</code></a>
<a
href="https://github.com/kingkongpoon"><code>@​kingkongpoon</code></a>
<a href="https://github.com/laurit"><code>@​laurit</code></a>
<a
href="https://github.com/liangyuanpeng"><code>@​liangyuanpeng</code></a>
<a
href="https://github.com/mateuszrzeszutek"><code>@​mateuszrzeszutek</code></a>
<a href="https://github.com/pellmont"><code>@​pellmont</code></a>
<a href="https://github.com/PeterF778"><code>@​PeterF778</code></a>
<a href="https://github.com/sodared"><code>@​sodared</code></a>
<a href="https://github.com/theletterf"><code>@​theletterf</code></a>
<a href="https://github.com/trask"><code>@​trask</code></a>
<a href="https://github.com/tylerbenson"><code>@​tylerbenson</code></a>
<a href="https://github.com/wallezhang"><code>@​wallezhang</code></a>
<a href="https://github.com/wzy531a"><code>@​wzy531a</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/CHANGELOG.md">opentelemetry-instrumentation-bom-alpha's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Unreleased</h2>
<h2>Version 1.22.0 (2023-01-12)</h2>
<h3>📈 Enhancements</h3>
<ul>
<li>Add resource injection for getResourceAsStream
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7476">#7476</a>)</li>
<li>GRPC: Adds peer socket address when the client call is ready
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7451">#7451</a>)</li>
<li>Make OpenTelemetryAppender.Builder public
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7521">#7521</a>)</li>
<li>Disable internal TaskScheduler spans in Spring Kafka instrumentation
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7553">#7553</a>)</li>
<li>Support Spring Web MVC in library instrumentation
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7552">#7552</a>)</li>
<li>Instrument JMS 3.0 (Jakarta)
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7418">#7418</a>)</li>
<li>Shade <code>application.io.opentelemetry</code> in agent extension
class loader
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7519">#7519</a>)</li>
<li>Use new reactor contextWrite when available (from reactor 3.4.0)
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7538">#7538</a>)</li>
<li>Make config file available in early agent initialization phase
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7550">#7550</a>)</li>
<li>Support Spring JMS 6.0
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7438">#7438</a>)</li>
</ul>
<h3>🛠️ Bug fixes</h3>
<ul>
<li>Preserve original exception in jetty http client wrappers
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7455">#7455</a>)</li>
<li>Propagate original exception through kafka wrapper
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7452">#7452</a>)</li>
<li>Fix class file load error when using spring-guice together with
spring-web instrumentation
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7447">#7447</a>)</li>
<li>Fix NPE in servlet AsyncListener on OpenLiberty
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7498">#7498</a>)</li>
</ul>
<h3>🧰 Tooling</h3>
<ul>
<li>Muzzle logs should be logged using the io.opentelemetry.* logger
name
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7446">#7446</a>)</li>
</ul>
<h2>Version 1.21.0 (2022-12-13)</h2>
<h3>📈 Enhancements</h3>
<ul>
<li>Remove deprecated HTTP semconv code</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha&package-manager=gradle&previous-version=1.22.0-alpha&new-version=1.22.1-alpha)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-14 10:41:32 -08:00
Robert Toyonaga f4b776da98
Implement memory metrics (#652)
**Description:**
This PR updates the implementation for the metrics
`process.runtime.jvm.memory.limit` ,
`process.runtime.jvm.memory.usage_after_last_gc` ,
`process.runtime.jvm.memory.committed`,
`process.runtime.jvm.memory.init`, `process.runtime.jvm.memory.usage`


This was a part of a [larger PR
here](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/644).


`jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/Constants.java`
has been kept the same as it was in the larger PR because it is used in
all of the smaller constituent PRs. This will hopefully also avoid some
conflicts as the PRs are sequentially merged. As a result, there are
some constants that are defined, but not used in this PR.

Some of the attribute key-value pairs outlined
[here](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/runtime-metrics/library#garbage-collector-dependent-metrics)
are not present with the current implementation. This is because they
require additional JFR data, or new events. In the future, when JFR is
updated, these handlers should be revisited and updated to cover all the
missing attribute key-value pairs.
2023-01-14 10:38:08 -08:00
Trask Stalnaker a56bfcbe95
Rename prometheus-collector to prometheus-client-bridge and prepare 1.22.0 change log (#689) 2023-01-13 10:42:54 -08:00
dependabot[bot] 05745fdc5e
Bump opentelemetry-instrumentation-bom-alpha from 1.21.0-alpha to 1.22.0-alpha (#686)
Bumps
[opentelemetry-instrumentation-bom-alpha](https://github.com/open-telemetry/opentelemetry-java-instrumentation)
from 1.21.0-alpha to 1.22.0-alpha.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases">opentelemetry-instrumentation-bom-alpha's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.21.0</h2>
<p>This release targets the OpenTelemetry SDK 1.21.0.</p>
<p>Note that many artifacts have the <code>-alpha</code> suffix attached
to their version number, reflecting that they are still alpha quality
and will continue to have breaking changes. Please see the <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/VERSIONING.md#opentelemetry-java-instrumentation-versioning">VERSIONING.md</a>
for more details.</p>
<h3>📈 Enhancements</h3>
<ul>
<li>Remove deprecated HTTP semconv code (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7259">#7259</a>)</li>
<li>Rocketmq 5: set context for async callback (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7238">#7238</a>)</li>
<li>HTTP semconv: filter out default peer/host ports (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7258">#7258</a>)</li>
<li>Allow multiple YAML configuration files for JMX rules (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7284">#7284</a>)</li>
<li>OpenTelemetryDriver better support for native images (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7089">#7089</a>)</li>
<li>Support Spring Kafka 3 (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7271">#7271</a>)</li>
<li>Add instrumentation for opentelemetry-extension-kotlin (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7341">#7341</a>)</li>
<li>Populate <code>messaging.kafka.message.offset</code> in all kafka
instrumentations (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7374">#7374</a>)</li>
<li>More flexible cgroupv2 container id parsing (and podman support) (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7361">#7361</a>)</li>
<li>Instrument spring-web 6 &amp; spring-webmvc 6 (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7366">#7366</a>)</li>
<li>Change log4j MapMessage attribute names (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7397">#7397</a>)</li>
<li>Don't call Thread#setContextClassLoader() (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7391">#7391</a>)</li>
</ul>
<h3>🛠️ Bug fixes</h3>
<ul>
<li>Webflux instrumentation doesn't capture
<code>http.status_code</code> in some cases (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7251">#7251</a>)</li>
<li>Clean WeakConcurrentMap from background thread (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/6240">#6240</a>)</li>
<li>Update gwt rpc span from INTERNAL to SERVER (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7342">#7342</a>)</li>
<li>JMXMetricInsight should log nothing at INFO level (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7367">#7367</a>)</li>
<li>Fix NullPointerException when uri is null (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7387">#7387</a>)</li>
<li>Agent context storage wrapper should not override other wrappers (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7355">#7355</a>)</li>
<li>Do not install GC metrics when GarbageCollectionNotificationInfo is
not available (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7405">#7405</a>)</li>
<li>Fix connection pool timeouts unit (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7404">#7404</a>)</li>
</ul>
<h3>🧰 Tooling</h3>
<ul>
<li>Allow disabling muzzle checks for specific methods (<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7289">#7289</a>)</li>
</ul>
<h3>🙇 Thank you</h3>
<p>This release was possible thanks to the following contributors who
shared their brilliant ideas and awesome pull requests:</p>
<p><a href="https://github.com/aaron-ai"><code>@​aaron-ai</code></a>
<a href="https://github.com/anuraaga"><code>@​anuraaga</code></a>
<a href="https://github.com/breedx-splk"><code>@​breedx-splk</code></a>
<a
href="https://github.com/brianmolinaspring"><code>@​brianmolinaspring</code></a>
<a href="https://github.com/brunobat"><code>@​brunobat</code></a>
<a href="https://github.com/devnewton"><code>@​devnewton</code></a>
<a href="https://github.com/fmhwong"><code>@​fmhwong</code></a>
<a href="https://github.com/Iapetus999"><code>@​Iapetus999</code></a>
<a href="https://github.com/IcebergXTY"><code>@​IcebergXTY</code></a>
<a href="https://github.com/jack-berg"><code>@​jack-berg</code></a>
<a
href="https://github.com/jamesylgan"><code>@​jamesylgan</code></a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/CHANGELOG.md">opentelemetry-instrumentation-bom-alpha's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Unreleased</h2>
<h2>Version 1.22.0 (2023-01-12)</h2>
<h3>📈 Enhancements</h3>
<ul>
<li>Add resource injection for getResourceAsStream
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7476">#7476</a>)</li>
<li>GRPC: Adds peer socket address when the client call is ready
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7451">#7451</a>)</li>
<li>Make OpenTelemetryAppender.Builder public
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7521">#7521</a>)</li>
<li>Disable internal TaskScheduler spans in Spring Kafka instrumentation
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7553">#7553</a>)</li>
<li>Support Spring Web MVC in library instrumentation
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7552">#7552</a>)</li>
<li>Instrument JMS 3.0 (Jakarta)
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7418">#7418</a>)</li>
<li>Shade <code>application.io.opentelemetry</code> in agent extension
class loader
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7519">#7519</a>)</li>
<li>Use new reactor contextWrite when available (from reactor 3.4.0)
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7538">#7538</a>)</li>
<li>Make config file available in early agent initialization phase
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7550">#7550</a>)</li>
<li>Support Spring JMS 6.0
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7438">#7438</a>)</li>
</ul>
<h3>🛠️ Bug fixes</h3>
<ul>
<li>Preserve original exception in jetty http client wrappers
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7455">#7455</a>)</li>
<li>Propagate original exception through kafka wrapper
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7452">#7452</a>)</li>
<li>Fix class file load error when using spring-guice together with
spring-web instrumentation
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7447">#7447</a>)</li>
<li>Fix NPE in servlet AsyncListener on OpenLiberty
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7498">#7498</a>)</li>
</ul>
<h3>🧰 Tooling</h3>
<ul>
<li>Muzzle logs should be logged using the io.opentelemetry.* logger
name
(<a
href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-java-instrumentation/pull/7446">#7446</a>)</li>
</ul>
<h2>Version 1.21.0 (2022-12-13)</h2>
<h3>📈 Enhancements</h3>
<ul>
<li>Remove deprecated HTTP semconv code</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha&package-manager=gradle&previous-version=1.21.0-alpha&new-version=1.22.0-alpha)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-13 08:52:36 -08:00
dependabot[bot] 2a7134888f
Bump grpc-bom from 1.51.1 to 1.52.0 (#685)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.51.1 to
1.52.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/grpc/grpc-java/releases">grpc-bom's
releases</a>.</em></p>
<blockquote>
<h2>v1.52.0</h2>
<h2>gRPC Java 1.52.0 Release Notes</h2>
<p><strong>grpc-xds starting with 1.51.0 had a regression where
resources might stop receiving updates. The trigger could happen hours
or days after the binary had started. xDS users should avoid this
release and use 1.50.x until patch releases with the fix are available.
<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/pull/9809">grpc/grpc-java#9809</a></strong></p>
<h3>API Changes</h3>
<ul>
<li>Fix CallOptions to be properly <code>@Immutable</code> (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9689">#9689</a>)</li>
<li>binder: Promote out of experimental status (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9669">#9669</a>).
Much of the API is now stable</li>
</ul>
<h3>New Features</h3>
<ul>
<li>xds: Support localities in multiple priorities (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9683">#9683</a>)</li>
<li>xds: Log xDS node ID with verbosity INFO when environment variable
GRPC_LOG_XDS_NODE_ID=true (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9731">#9731</a>)</li>
</ul>
<h4>Examples</h4>
<ul>
<li>Add examples for name resolver and load balancer (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9700">#9700</a>)</li>
<li>Swap to ChannelCredentials/ServerCredentials API, as it is
preferred</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>xds:Fix ConcurrentModificationException in PriorityLoadBalancer (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9728">#9728</a>)</li>
<li>ManagedChannelImpl.SubchannelImpl fix args check to avoid NPE (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9651">#9651</a>)</li>
<li>okhttp: Add missing server support for TLS ClientAuth (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9711">#9711</a>)</li>
<li>binder: Ensure the security interceptor is always closest to the
actual transport (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9716">#9716</a>)</li>
<li>bazel: Include <a
href="https://github.com/Generated"><code>@​Generated</code></a> dep for
autovalue. This fixes builds of xds and rls using Java 9+</li>
<li>xds: Nack xds response when weighted cluster total weight sums zero
(<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9738">#9738</a>)</li>
<li>core: Fix a bug about a retriable stream lifecycle. It stops using
the call executor resource in a retriable stream when the client call is
closed, thus preventing potential channel panics. (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9626">#9626</a>)</li>
</ul>
<h3>Behavior Changes</h3>
<ul>
<li>binder: Set default idle timeout to 60 seconds, and enable
&quot;strict lifecycle management&quot;. (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9486">#9486</a>)</li>
<li>xds: Limit ring hash max size to 4K instead of 8M (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9709">#9709</a>).
<code>RingHashOptions.setRingSizeCap()</code> can increase the
limit</li>
<li>binder: Set default idle timeout to 60 seconds, and add
<code>BinderChannelBuilder.strictLifecycleManagement()</code> which
disables idle timeout and prevents it from being changed (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9486">#9486</a>).
Disabling idle timeout can be useful to find bugs in applications that
fail to promptly shut down the channel and are particularly sensitive to
keeping Binder instances alive.</li>
<li>bazel: Replace ctx.host_configuration.host_path_separator with
ctx.configuration.host_path_separator (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9742">#9742</a>).
This changes no behavior today, but improves future compatibility with
newer versions of Bazel</li>
<li>xds: Refactor internal logics about LDS and CDS resource handling.
It may cause minor log line changes about corresponding RDS and EDS
subscriber event notification, but it should not change xds name
resolution and LB behavior. (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9724">#9724</a>)</li>
</ul>
<h3>Dependencies</h3>
<h3>Acknowledgement</h3>
<p><a href="https://github.com/RapperCL"><code>@​RapperCL</code></a>
<a href="https://github.com/Smityz"><code>@​Smityz</code></a>
<a href="https://github.com/pandaapo"><code>@​pandaapo</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a1a6d4f35c"><code>a1a6d4f</code></a>
Bump version to 1.52.0</li>
<li><a
href="c450431bb0"><code>c450431</code></a>
Update README etc to reference 1.52.0</li>
<li><a
href="142078f170"><code>142078f</code></a>
Upgrade protobuf plugin version to 0.8.19. (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9801">#9801</a>)</li>
<li><a
href="a75ed4d5ba"><code>a75ed4d</code></a>
bazel: Export deps from maven stand-in targets</li>
<li><a
href="f71447c077"><code>f71447c</code></a>
bazel: Include <code>@Generated</code> dep for autovalue</li>
<li><a
href="e325dc9112"><code>e325dc9</code></a>
Replace ctx.host_configuration.host_path_separator with
ctx.configuration.hos...</li>
<li><a
href="2a0b86f7cd"><code>2a0b86f</code></a>
binder: BinderInternal.setIBinder() is public static (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9743">#9743</a>)</li>
<li><a
href="9b5ca70f85"><code>9b5ca70</code></a>
doc: add fake control plane xds test comments (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9735">#9735</a>)</li>
<li><a
href="786417085c"><code>7864170</code></a>
xds: Nack xds response when weighted cluster total weight sums zero (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9738">#9738</a>)</li>
<li><a
href="bf0b92a963"><code>bf0b92a</code></a>
Log xDS node ID with verbosity INFO (<a
href="https://github-redirect.dependabot.com/grpc/grpc-java/issues/9731">#9731</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/grpc/grpc-java/compare/v1.51.1...v1.52.0">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-12 14:45:50 +01:00
dependabot[bot] 572d443278
Bump junit-bom from 5.9.1 to 5.9.2 (#683)
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.9.1 to
5.9.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/junit-team/junit5/releases">junit-bom's
releases</a>.</em></p>
<blockquote>
<p>JUnit 5.9.2 = Platform 1.9.2 + Jupiter 5.9.2 + Vintage 5.9.2</p>
<p>See <a
href="http://junit.org/junit5/docs/5.9.2/release-notes/">Release
Notes</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8ed3c66c7e"><code>8ed3c66</code></a>
Release 5.9.2</li>
<li><a
href="742f99fcce"><code>742f99f</code></a>
Prepare 5.9.2 release notes</li>
<li><a
href="a9a3cf5fb7"><code>a9a3cf5</code></a>
Fix bug and polish contribution</li>
<li><a
href="825ea38857"><code>825ea38</code></a>
Introduce new <code>@MethodSource</code> syntax to differentiate
overloaded local factor...</li>
<li><a
href="0c40f5ef05"><code>0c40f5e</code></a>
Polish Javadoc</li>
<li><a
href="7d54016421"><code>7d54016</code></a>
Update codecov-action</li>
<li><a
href="bfeeac4d41"><code>bfeeac4</code></a>
Remove duplicate copyright comment</li>
<li><a
href="b0d9083315"><code>b0d9083</code></a>
Format integration test projects with Spotless as well</li>
<li><a
href="c4ed325cb2"><code>c4ed325</code></a>
Update copyright</li>
<li><a
href="0e3a1d32e5"><code>0e3a1d3</code></a>
Update upload-artifact action</li>
<li>Additional commits viewable in <a
href="https://github.com/junit-team/junit5/compare/r5.9.1...r5.9.2">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-11 15:29:54 +00:00
dependabot[bot] 06ab34525b
Bump micrometer-registry-prometheus from 1.10.2 to 1.10.3 (#684)
Bumps
[micrometer-registry-prometheus](https://github.com/micrometer-metrics/micrometer)
from 1.10.2 to 1.10.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/micrometer-metrics/micrometer/releases">micrometer-registry-prometheus's
releases</a>.</em></p>
<blockquote>
<h2>1.10.3</h2>
<h2>🐞 Bug Fixes</h2>
<ul>
<li>system.cpu.usage does not work in a native image <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/issues/3578">#3578</a></li>
<li>[Dynatrace] Log NaNs at DEBUG instead of WARNING <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/pull/3557">#3557</a></li>
</ul>
<h2>🔨 Dependency Upgrades</h2>
<ul>
<li>Upgrade to Spotless plugin 6.12.1 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/issues/3589">#3589</a></li>
<li>Upgrade to Spotless Gradle Plugin 6.12.0 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/pull/3568">#3568</a></li>
<li>Upgrade to Reactor 2020.0.26, Reactor Netty 1.0.26, Netty 4.1.86 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/issues/3588">#3588</a></li>
<li>Upgrade to signalfx-java 1.0.27 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/issues/3587">#3587</a></li>
<li>Upgrade to Dropwizard Metrics 4.1.35 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/issues/3586">#3586</a></li>
<li>Upgrade to AWS Cloudwatch SDK 2.18.41 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/issues/3585">#3585</a></li>
<li>Upgrade to aws-java-sdk-cloudwatch 1.12.381 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/issues/3584">#3584</a></li>
<li>Upgrade to io.spring.ge.conventions 0.0.13 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/pull/3579">#3579</a></li>
<li>Bump com.gradle.enterprise from 3.12 to 3.12.1 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/pull/3572">#3572</a></li>
<li>Upgrade to Gradle Enterprise Gradle Plugin 3.12 <a
href="https://github-redirect.dependabot.com/micrometer-metrics/micrometer/pull/3566">#3566</a></li>
</ul>
<h2>❤️ Contributors</h2>
<p>Thank you to all the contributors who worked on this release:</p>
<p><a href="https://github.com/izeye"><code>@​izeye</code></a>, <a
href="https://github.com/pirgeo"><code>@​pirgeo</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="77867611eb"><code>7786761</code></a>
Upgrade to cloudwatch 1.12.381</li>
<li><a
href="cf198f809a"><code>cf198f8</code></a>
Upgrade cloudwatch 2.18.41</li>
<li><a
href="0b0efa760e"><code>0b0efa7</code></a>
Upgrade dropwizard metrics to 4.2.15</li>
<li><a
href="e33258072e"><code>e332580</code></a>
Pin opentelemetry-proto to 0.19.+</li>
<li><a
href="5d7794cbf7"><code>5d7794c</code></a>
Upgrade signalfx-java</li>
<li><a
href="9f1d245c95"><code>9f1d245</code></a>
Pin google-cloud-monitoring to 3.6.+</li>
<li><a
href="0fde514571"><code>0fde514</code></a>
Upgrade reactor to 2020.0.26</li>
<li><a
href="8758e39879"><code>8758e39</code></a>
Upgrade to spotless-plugin 6.12.1</li>
<li><a
href="716fa109b5"><code>716fa10</code></a>
Merge branch '1.9.x' into 1.10.x</li>
<li><a
href="c13e1980dc"><code>c13e198</code></a>
Upgrade reactor to 2020.0.26</li>
<li>Additional commits viewable in <a
href="https://github.com/micrometer-metrics/micrometer/compare/v1.10.2...v1.10.3">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-11 16:23:34 +01:00
jack-berg 449dbb5172
Upgrade to gradle 7.6 (#678) 2023-01-09 13:22:20 -08:00
dependabot[bot] efd1fa6d59
Bump assertj-core from 3.23.1 to 3.24.1 (#679)
Bumps assertj-core from 3.23.1 to 3.24.1.


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-06 14:39:12 -08:00
dependabot[bot] 65c66a2e51
Bump com.gradle.enterprise from 3.12.1 to 3.12.2 (#676)
Bumps com.gradle.enterprise from 3.12.1 to 3.12.2.


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-06 16:24:44 -06:00
dependabot[bot] e3e1a6643d
Bump byte-buddy-agent from 1.12.20 to 1.12.21 (#675)
Bumps [byte-buddy-agent](https://github.com/raphw/byte-buddy) from
1.12.20 to 1.12.21.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/raphw/byte-buddy/releases">byte-buddy-agent's
releases</a>.</em></p>
<blockquote>
<h2>Byte Buddy 1.12.21</h2>
<ul>
<li>Create a Gradle source set for each JVM build automatically to
reduce boilerplate.</li>
<li>Fix Gradle plugin class loading to use correct class loader.</li>
<li>Use updated release plugin to avoid outdated timestamp in jar.</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">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="adb0638f70"><code>adb0638</code></a>
[maven-release-plugin] prepare release byte-buddy-1.12.21</li>
<li><a
href="f326a3e909"><code>f326a3e</code></a>
[release] Release new version</li>
<li><a
href="5ffe97cd98"><code>5ffe97c</code></a>
Correct class loading and use maybe create for configuration.</li>
<li><a
href="a070a5d19f"><code>a070a5d</code></a>
Avoid class loader creation if not needed.</li>
<li><a
href="cf84b72bd6"><code>cf84b72</code></a>
Adjust plugin to configure implicit source set.</li>
<li><a
href="deae823591"><code>deae823</code></a>
Minor refactoring.</li>
<li><a
href="283c195c26"><code>283c195</code></a>
Avoid skipping Gradle plugin if no transformations are explicitly
configured.</li>
<li><a
href="a305b20987"><code>a305b20</code></a>
Add missing checksums.</li>
<li><a
href="db03b3b7f5"><code>db03b3b</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/raphw/byte-buddy/issues/1381">#1381</a>
from 0dinD/fix-gitignore-build-dir</li>
<li><a
href="4a7fbb1ef8"><code>4a7fbb1</code></a>
Fix .gitignore rule for Gradle build directory</li>
<li>Additional commits viewable in <a
href="https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.20...byte-buddy-1.12.21">compare
view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-06 16:24:07 -06:00
dependabot[bot] 8bbf556b48
Bump nullaway from 0.10.6 to 0.10.7 (#674)
Bumps [nullaway](https://github.com/uber/NullAway) from 0.10.6 to
0.10.7.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uber/NullAway/blob/master/CHANGELOG.md">nullaway's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.10.7</h2>
<p>(Bug fix release)</p>
<ul>
<li>Resolve regression for type annotations directly on inner types. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/706">#706</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="09fa6a6c93"><code>09fa6a6</code></a>
Prepare for release 0.10.7.</li>
<li><a
href="c5e1a799e9"><code>c5e1a79</code></a>
Resolve regression for type annotations directly on inner types. (<a
href="https://github-redirect.dependabot.com/uber/NullAway/issues/706">#706</a>)</li>
<li><a
href="d6d2978094"><code>d6d2978</code></a>
Prepare next development version.</li>
<li>See full diff in <a
href="https://github.com/uber/NullAway/compare/v0.10.6...v0.10.7">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.6&new-version=0.10.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-06 16:23:43 -06:00
Robert Toyonaga bfea44af72
Implement GC duration metric (#653)
**Description:**

This PR adds changes that implement the metric
`process.runtime.jvm.gc.duration`.

This was a part of a larger PR here:
https://github.com/open-telemetry/opentelemetry-java-contrib/pull/644.


`jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/Constants.java`
has been kept the same as it was in the larger PR because it's used in
all of the smaller constituent PRs. This will hopefully also avoid some
conflicts as the PRs are sequentially merged. As a result, there are
some constants that are defined, but not used in this PR.

**Testing:**

Tests were added but they don't have great coverage. In the future we
need to devise a reliable way to test each GC. Currently, I'm not sure
of a way to change GCs at runtime in order to test them all. I'm also
uncertain of how to reliably force young gen GC and old gen GC. As a
result, the test added in this PR basically just invokes "some" GC and
ensures that the resulting metric has data that is expected.

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-01-03 11:32:49 -08:00
Robert Toyonaga 777ba0338e
Add buffer handlers and implement buffer metrics (#650)
**Description:**
Add handlers for buffer metrics `process.runtime.jvm.buffer.limit`,
`process.runtime.jvm.buffer.count`, and
`process.runtime.jvm.buffer.usage`.

This was a part of a larger PR here:
https://github.com/open-telemetry/opentelemetry-java-contrib/pull/644.


`jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/Constants.java`
has been kept the same as it was in the larger PR because it's used in
all of the smaller constituent PRs. This will hopefully also avoid some
conflicts as the PRs are sequentially merged. As a result, there are
some constants that are defined, but not used in this PR.
2023-01-03 11:15:18 -08:00
Mateusz Rzeszutek ef32cf612a
Make dependabot ignore maven-plugin-api version used by the static in… (#671)
…strumenter

Supersedes #670
2023-01-03 11:14:33 -08:00
dependabot[bot] cf907383eb
Bump com.gradle.enterprise from 3.12 to 3.12.1 (#661)
Bumps com.gradle.enterprise from 3.12 to 3.12.1.


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

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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-01-03 12:48:03 +01:00
dependabot[bot] ef5a2699b6
Bump errorProneVersion from 2.16 to 2.17.0 (#668)
Bumps `errorProneVersion` from 2.16 to 2.17.0.
Updates `error_prone_annotations` from 2.16 to 2.17.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/error-prone/releases">error_prone_annotations's
releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.17.0</h2>
<p>New Checkers:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/AvoidObjectArrays"><code>AvoidObjectArrays</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/Finalize"><code>Finalize</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/IgnoredPureGetter"><code>IgnoredPureGetter</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/ProtoFieldNullComparison"><code>ImpossibleNullComparison</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/MathAbsoluteNegative"><code>MathAbsoluteNegative</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/NewFileSystem"><code>NewFileSystem</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch"><code>StatementSwitchToExpressionSwitch</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/UnqualifiedYield"><code>UnqualifiedYield</code></a></li>
</ul>
<p>Fixed issues: <a
href="https://github-redirect.dependabot.com/google/error-prone/issues/2321">#2321</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3144">#3144</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3297">#3297</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3428">#3428</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3437">#3437</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3462">#3462</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3482">#3482</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3494">#3494</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/error-prone/compare/v2.16...v2.17.0">https://github.com/google/error-prone/compare/v2.16...v2.17.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="27de40ba60"><code>27de40b</code></a>
Release Error Prone 2.17.0</li>
<li><a
href="bcf4dcf764"><code>bcf4dcf</code></a>
Optimize checks that report exactly the same fix in multiple
diagnostics, lik...</li>
<li><a
href="8ddb7cbb05"><code>8ddb7cb</code></a>
Record Error Prone initialization time</li>
<li><a
href="1d23141bd7"><code>1d23141</code></a>
Do the expensive bit last in UnusedMethod.</li>
<li><a
href="e3602572b0"><code>e360257</code></a>
Fix yet another NonCanonicalType crash</li>
<li><a
href="5768290a15"><code>5768290</code></a>
Make UnusedMethod recognize com.google.acai annotations,
com.google.caliper.B...</li>
<li><a
href="7340bdf01d"><code>7340bdf</code></a>
Audit EP checks for argumentless mock().</li>
<li><a
href="b92c9b1b55"><code>b92c9b1</code></a>
Rip out GuardedBy:CheckMemberReferences.</li>
<li><a
href="63fb30be3f"><code>63fb30b</code></a>
Have InvalidLink provide a hint about erasure if it sees &lt; in an
invalid meth...</li>
<li><a
href="4a5fd7bd5a"><code>4a5fd7b</code></a>
Suppress FieldCanBeLocal based on unused prefices.</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.16...v2.17.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `error_prone_core` from 2.16 to 2.17.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/error-prone/releases">error_prone_core's
releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.17.0</h2>
<p>New Checkers:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/AvoidObjectArrays"><code>AvoidObjectArrays</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/Finalize"><code>Finalize</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/IgnoredPureGetter"><code>IgnoredPureGetter</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/ProtoFieldNullComparison"><code>ImpossibleNullComparison</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/MathAbsoluteNegative"><code>MathAbsoluteNegative</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/NewFileSystem"><code>NewFileSystem</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch"><code>StatementSwitchToExpressionSwitch</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/UnqualifiedYield"><code>UnqualifiedYield</code></a></li>
</ul>
<p>Fixed issues: <a
href="https://github-redirect.dependabot.com/google/error-prone/issues/2321">#2321</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3144">#3144</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3297">#3297</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3428">#3428</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3437">#3437</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3462">#3462</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3482">#3482</a>,
<a
href="https://github-redirect.dependabot.com/google/error-prone/issues/3494">#3494</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/error-prone/compare/v2.16...v2.17.0">https://github.com/google/error-prone/compare/v2.16...v2.17.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="27de40ba60"><code>27de40b</code></a>
Release Error Prone 2.17.0</li>
<li><a
href="bcf4dcf764"><code>bcf4dcf</code></a>
Optimize checks that report exactly the same fix in multiple
diagnostics, lik...</li>
<li><a
href="8ddb7cbb05"><code>8ddb7cb</code></a>
Record Error Prone initialization time</li>
<li><a
href="1d23141bd7"><code>1d23141</code></a>
Do the expensive bit last in UnusedMethod.</li>
<li><a
href="e3602572b0"><code>e360257</code></a>
Fix yet another NonCanonicalType crash</li>
<li><a
href="5768290a15"><code>5768290</code></a>
Make UnusedMethod recognize com.google.acai annotations,
com.google.caliper.B...</li>
<li><a
href="7340bdf01d"><code>7340bdf</code></a>
Audit EP checks for argumentless mock().</li>
<li><a
href="b92c9b1b55"><code>b92c9b1</code></a>
Rip out GuardedBy:CheckMemberReferences.</li>
<li><a
href="63fb30be3f"><code>63fb30b</code></a>
Have InvalidLink provide a hint about erasure if it sees &lt; in an
invalid meth...</li>
<li><a
href="4a5fd7bd5a"><code>4a5fd7b</code></a>
Suppress FieldCanBeLocal based on unused prefices.</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.16...v2.17.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-01-02 16:17:29 +00:00
dependabot[bot] 6811dcd618
Bump spotless-plugin-gradle from 6.12.0 to 6.12.1 (#669)
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless)
from 6.12.0 to 6.12.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="718a504c12"><code>718a504</code></a>
Published gradle/6.12.1</li>
<li><a
href="c13acee213"><code>c13acee</code></a>
Published lib/2.31.1</li>
<li><a
href="552aabf876"><code>552aabf</code></a>
fix(deps): update dependency com.facebook:ktfmt to v0.42 (<a
href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1421">#1421</a>)</li>
<li><a
href="4063e9f6d1"><code>4063e9f</code></a>
Add support for KtLint 0.48.0 (<a
href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1432">#1432</a>
fixes <a
href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1430">#1430</a>)</li>
<li><a
href="062e835846"><code>062e835</code></a>
Bump changelogs.</li>
<li><a
href="8f7e00594d"><code>8f7e005</code></a>
spotlessApply</li>
<li><a
href="9a8ccae9ec"><code>9a8ccae</code></a>
Bump default ktfmt 0.41 -&gt; 0.42</li>
<li><a
href="fb4277d2b1"><code>fb4277d</code></a>
Merge branch 'main-ktlint-0.48.0' into renovate/ver_ktfmt</li>
<li><a
href="b44d70d00a"><code>b44d70d</code></a>
Move changelog entries to the correct release.</li>
<li><a
href="b3d8e89002"><code>b3d8e89</code></a>
spotlessApply for 2023</li>
<li>Additional commits viewable in <a
href="https://github.com/diffplug/spotless/compare/gradle/6.12.0...gradle/6.12.1">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.12.0&new-version=6.12.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-01-02 16:15:07 +00:00