Commit Graph

9052 Commits

Author SHA1 Message Date
Lauri Tulmin bd3117b165
Fix flaky spring rabbit test (#8015)
https://ge.opentelemetry.io/scans/tests?search.buildOutcome=success&search.relativeStartTime=P28D&search.tags=CI&search.timeZoneId=Europe/Tallinn&tests.container=ContextPropagationTest&tests.sortField=FLAKY&tests.test=should%20propagate%20context%20to%20consumer%2C%20test%20headers:%20true&tests.unstableOnly=true
On jdk8 we can have 2 spans starting on the same millisecond.
2023-03-23 13:50:55 +02:00
Ago Allikmaa e466dc439a
Add HttpServerResponseCustomizer support for Servlet and Jetty (#8095)
Add `HttpServerResponseCustomizer` support for Servlet 2.2/3.0/5.0 and
Jetty 8/11 instrumentations. Enabled testing for it in JaxRs tests as
well since those should now all be covered due to servlet
instrumentations. Fixed Jetty 11 test source set directory name.

Known limitation - response headers do not work on Jetty 8 for internal
exception pages caused by throwing an exception that is handled outside
of instrumentation scope, working around this would require an
additional instrumentation and/or keeping an expired `Context` instance
referenced by the response object. This does not appear to be an issue
on Jetty 11. Additionally, calling `ServletResponse#reset` can wipe
headers as well, for which there is no workaround (yet?) in this PR.
2023-03-23 12:01:07 +01:00
Ago Allikmaa 079e0faa2d
Add HttpServerResponseCustomizer support for Netty (#8094)
Add `HttpServerResponseCustomizer` support for Netty 3.8, 4.0 and 4.1
instrumentations and enable testing for it in their respective
`HttpServerTest` tests.
2023-03-23 11:11:24 +01:00
Shelby Huang 2ebed6c466
Fix the shardingsphere display the error tag #8109 (#8110)
Adding shardingsphere related classes to the
`JdbcIgnoredTypesConfigurer` allows the actual execution of the
statement to be captured
2023-03-23 09:19:20 +01:00
Lauri Tulmin eac75a1d0b
Prefix baggage key not value when adding it to logback mdc (#8066) 2023-03-22 13:14:10 +01:00
Lauri Tulmin 3bb312a2d6
Document that spring webflux library instrumentation has server metrics (#8068) 2023-03-22 13:10:55 +01:00
Lauri Tulmin 1948f70c40
Update api diffs (#8058) 2023-03-22 13:05:12 +01:00
Lauri Tulmin 93d7dd7261
Ignore appd agent classes (#8065)
Related to
https://github.com/open-telemetry/opentelemetry-java-instrumentation/discussions/8060
2023-03-22 13:04:14 +01:00
Lauri Tulmin b110a38d81
Remove unneeded dependsOn (#8067)
Should have been removed with test sets to test suites migration. There
already is
```
tasks {
  check {
    dependsOn(testing.suites)
  }
}
```
2023-03-22 13:00:34 +01:00
Lauri Tulmin 4a87d6b0fd
Remove reference to Tracer bean from javadoc (#8104) 2023-03-22 12:59:51 +01:00
Lauri Tulmin 39f7816572
Kafka: avoid registering duplicate metrics reporter (#8099)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8085
2023-03-22 12:59:29 +01:00
Lauri Tulmin 62c124f192
Add a few comments to the ClassLoaderHasClassesNamedMatcher (#8098)
@tylerbenson noted that the idea of assigning each matcher a index that
is used to cache the matching status in bit set is not obvious. Here's
an attempt to improve the comments.
2023-03-22 12:45:46 +01:00
Lauri Tulmin 0a311a1c3e
Remove password from db.user parsed from JDBC url (#8106)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8105
2023-03-22 11:56:55 +01:00
Lauri Tulmin aa2b853d8c
Fix spring boot smoke test image on jdk8 (#8102)
We need to help `jib` detect the java version used to get a working jdk8
image.
2023-03-21 23:56:02 +02:00
Lauri Tulmin 195fd38c2c
Hide smoke test spring boot test app from dependabot (#8097)
We want to keep that app using spring boot 2 so dependabot trying to
update to spring boot 3 isn't useful.
2023-03-21 11:27:19 +02:00
Lauri Tulmin 7c54e9bab3
Remove unneeded line (#8096)
This was brought up in the review of
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7866
but somehow didn't get removed there 🙈
2023-03-21 11:26:43 +02:00
dependabot[bot] 4621e740f4
Bump com.gradle.enterprise:com.gradle.enterprise.gradle.plugin from 3.12.4 to 3.12.5 (#8091)
Bumps com.gradle.enterprise:com.gradle.enterprise.gradle.plugin from
3.12.4 to 3.12.5.


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

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 09:21:13 +02:00
dependabot[bot] b3987a9d41
Bump com.gradle.enterprise from 3.12.4 to 3.12.5 (#8090)
Bumps com.gradle.enterprise from 3.12.4 to 3.12.5.


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

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 09:20:31 +02:00
dependabot[bot] dfc2aca2bb
Bump com.github.johnrengelman.shadow from 8.1.0 to 8.1.1 in /examples/extension (#8088)
Bumps com.github.johnrengelman.shadow from 8.1.0 to 8.1.1.


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

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 09:19:27 +02:00
Lauri Tulmin 9b1ec61841
Add application name to spring boot smoke test app (#8087)
Add application name to spring boot smoke test app so that it could be
used for testing spring boot service name auto detection. Also fixes
logging dependencies.
2023-03-20 21:59:04 +02:00
dependabot[bot] 54ffde986a
Bump slf4jVersion from 2.0.6 to 2.0.7 (#8076)
Bumps `slf4jVersion` from 2.0.6 to 2.0.7.
Updates `org.slf4j:slf4j-api` from 2.0.6 to 2.0.7
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/slf4j/commits">compare view</a></li>
</ul>
</details>
<br />

Updates `org.slf4j:slf4j-simple` from 2.0.6 to 2.0.7
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/slf4j/commits">compare view</a></li>
</ul>
</details>
<br />

Updates `org.slf4j:log4j-over-slf4j` from 2.0.6 to 2.0.7
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/slf4j/commits">compare view</a></li>
</ul>
</details>
<br />

Updates `org.slf4j:jcl-over-slf4j` from 2.0.6 to 2.0.7
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/slf4j/commits">compare view</a></li>
</ul>
</details>
<br />

Updates `org.slf4j:jul-to-slf4j` from 2.0.6 to 2.0.7
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/slf4j/commits">compare view</a></li>
</ul>
</details>
<br />


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

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

---

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

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


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-03-19 00:00:11 +02:00
Lauri Tulmin aad49e8836
Use markdown-link-check 3.10.3 (#8081)
Newly released markdown-link-check `3.11.0` ignores our configuration
file.
2023-03-18 22:23:45 +02:00
dependabot[bot] d57405f26d
Bump org.slf4j:slf4j-simple from 2.0.6 to 2.0.7 in /benchmark-overhead (#8077)
Bumps [org.slf4j:slf4j-simple](https://github.com/qos-ch/slf4j) from
2.0.6 to 2.0.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/qos-ch/slf4j/commits">compare view</a></li>
</ul>
</details>
<br />


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

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

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

---

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

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


</details>

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


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

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

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

---

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

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


</details>

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

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

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


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

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

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

---

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

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


</details>

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


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

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

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

---

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

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


</details>

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


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

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

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

---

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

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


</details>

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

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

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

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


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

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

---

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

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


</details>

---------

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


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

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

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

---

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

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


</details>

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


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

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

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

---

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

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


</details>

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


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

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

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

---

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

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


</details>

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


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

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

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

---

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

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


</details>

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


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

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

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

---

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

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


</details>

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

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

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


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

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

---

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

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


</details>

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


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

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

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

---

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

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


</details>

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

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

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

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

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

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

---------

Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-03-13 09:14:50 +01:00
Helen 468aa9e777
Convert Jetty 8.0 groovy to java (#7975)
related to
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7195
2023-03-11 11:24:35 +02:00