Skip to content

Commit

Permalink
Bump otelInstrumentationAlphaVersion from 1.24.0-alpha to 1.25.0-alpha (
Browse files Browse the repository at this point in the history
#3005)

Bumps `otelInstrumentationAlphaVersion` from 1.24.0-alpha to
1.25.0-alpha.
Updates
`io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha`
from 1.24.0-alpha to 1.25.0-alpha
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases">io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.24.0</h2>
<p>This release targets the OpenTelemetry SDK 1.24.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>Migration notes</h3>
<h3>🌟 New javaagent instrumentation</h3>
<ul>
<li>Add Apache Pulsar client instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/5926">#5926</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7999">#7999</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7943">#7943</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8007">#8007</a>)</li>
<li>Add Jodd-Http instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7868">#7868</a>)</li>
</ul>
<h3>🌟 New library instrumentation</h3>
<ul>
<li>Add Ktor client instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7982">#7982</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7997">#7997</a>)</li>
<li>Add Spring Webflux server instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7899">#7899</a>)</li>
</ul>
<h3>📈 Enhancements</h3>
<ul>
<li>Implement <code>messaging.kafka.*</code> attributes spec (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7824">#7824</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7860">#7860</a>)</li>
<li>Make RxJava2 instrumentation Android-friendly (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7895">#7895</a>)</li>
<li>Support more semantic convention for RocketMQ trace (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7871">#7871</a>)</li>
<li>Instrumenting cassandra executeReactive method (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/6441">#6441</a>)</li>
<li>Make the OpenTelemetry Logback appender work with GraalVM native
images (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7989">#7989</a>)</li>
<li>Add baggage to Logback MDC; controlled by a configuration flag (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7892">#7892</a>)</li>
<li>Make the Spring Boot autoconfigure module work with Spring Boot 3
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8028">#8028</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8051">#8051</a>)</li>
</ul>
<h3>🛠️ Bug fixes</h3>
<ul>
<li>Handle JMX MBean attributes with embedded dots (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7841">#7841</a>)</li>
<li>Fix <code>ClassCastException</code> when using
<code>-Dotel.jmx.target.system=tomcat</code> (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7884">#7884</a>)</li>
<li>Fix NPE in the AWS SDK 2 instrumentation when request
instrumentation is suppressed (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7953">#7953</a>)</li>
<li>Fix Kotlin coroutine context propagation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7879">#7879</a>)</li>
<li>Fix the JAX-RS annotation instrumentation on Open Liberty (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7890">#7890</a>)</li>
<li>Fix an <code>AbstractMethodError</code> in the Logback
instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7967">#7967</a>)</li>
<li>Fix NPE in the RabbitMQ instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8021">#8021</a>)</li>
<li>Fix JMX metrics usage examples (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7877">#7877</a>)</li>
</ul>
<h3>🧰 Tooling</h3>
<ul>
<li>Remove deprecated <code>instrumentation-api-semconv</code> code (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7838">#7838</a>)</li>
<li>Look up helper class bytes when they are needed (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7839">#7839</a>)</li>
<li>Run smoke tests using Open Liberty 21.0.0.12 and 22.0.0.12 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7878">#7878</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7857">#7857</a>)</li>
<li>Add additional groovy script classloaders to ignore list. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7460">#7460</a>)</li>
<li>Make AggregationTemporality configurable for
<code>OtlpInMemoryMetricExporter</code> in the
<code>agent-for-testing</code> module (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7904">#7904</a>)</li>
<li>Upgrade to gradle 8.0.2 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7910">#7910</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7978">
7978</a>)</li>
<li>Replace the test-sets plugin with Gradle test suites (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7930">#7930</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7933">#7933</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7932">#7932</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7931">#7931</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7929">#7929</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7946">#7946</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7945">#7945</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7944">#7944</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7943">#7943</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7942">#7942</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7928">#7928</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7951">#7951</a>)</li>
<li>Add a utility for tracking HTTP resends (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7986">#7986</a>)</li>
<li>Remove deprecated <code>messaging.url</code> attribute from
messaging getter (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8008">#8008</a>)</li>
<li>Add protocol name&amp;version to net attribute getters (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7994">#7994</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-instrumentation/blob/main/CHANGELOG.md">io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Unreleased</h2>
<h2>Version 1.25.0 (2023-04-13)</h2>
<h3>Migration notes</h3>
<ul>
<li>Apache Pulsar instrumentation name is changed from
<code>io.opentelemetry.apache-pulsar-2.8</code> to
<code>io.opentelemetry.pulsar-2.8</code> and Apache Camel
instrumentation name is changed from
<code>io.opentelemetry.apache-camel-2.20</code> to
<code>io.opentelemetry.camel-2.20</code>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8195">#8195</a>)</li>
<li>Mojarra instrumentation suppression key has changed from
<code>mojarra</code> to <code>jsf-mojarra</code>
and MyFaces instrumentation suppression key has changed from
<code>myfaces</code> to <code>jsf-myfaces</code>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7811">#7811</a>)</li>
</ul>
<h3>🌟 New javaagent instrumentation</h3>
<ul>
<li>R2DBC
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7977">#7977</a>)</li>
<li>Add JFR streaming metrics gatherer
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7886">#7886</a>)</li>
<li>ZIO 2.0 instrumentation
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7980">#7980</a>)</li>
</ul>
<h3>🌟 New library instrumentation</h3>
<ul>
<li>R2DBC
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7977">#7977</a>)</li>
<li>Add JFR streaming metrics gatherer
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7886">#7886</a>)</li>
<li>Add library instrumentation for java http client
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8138">#8138</a>)</li>
</ul>
<h3>📈 Enhancements</h3>
<ul>
<li>Move X-Ray Env Variable propagation to span link instead of parent
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7970">#7970</a>)</li>
<li>Reduce memory usage for ClassLoaderHasClassesNamedMatcher
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7866">#7866</a>)</li>
<li>Remove password from db.user parsed from JDBC url
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8106">#8106</a>)</li>
<li>Ignore appd agent classes
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8065">#8065</a>)</li>
<li>Add http client metrics to apache http library instrumentation
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8128">#8128</a>)</li>
<li>Instrument additional pulsar receive methods
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8171">#8171</a>)</li>
<li>Support latest Hibernate 6 version
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8189">#8189</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-instrumentation/commits">compare
view</a></li>
</ul>
</details>
<br />

Updates
`io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api` from
1.24.0-alpha to 1.25.0-alpha
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases">io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.24.0</h2>
<p>This release targets the OpenTelemetry SDK 1.24.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>Migration notes</h3>
<h3>🌟 New javaagent instrumentation</h3>
<ul>
<li>Add Apache Pulsar client instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/5926">#5926</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7999">#7999</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7943">#7943</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8007">#8007</a>)</li>
<li>Add Jodd-Http instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7868">#7868</a>)</li>
</ul>
<h3>🌟 New library instrumentation</h3>
<ul>
<li>Add Ktor client instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7982">#7982</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7997">#7997</a>)</li>
<li>Add Spring Webflux server instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7899">#7899</a>)</li>
</ul>
<h3>📈 Enhancements</h3>
<ul>
<li>Implement <code>messaging.kafka.*</code> attributes spec (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7824">#7824</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7860">#7860</a>)</li>
<li>Make RxJava2 instrumentation Android-friendly (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7895">#7895</a>)</li>
<li>Support more semantic convention for RocketMQ trace (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7871">#7871</a>)</li>
<li>Instrumenting cassandra executeReactive method (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/6441">#6441</a>)</li>
<li>Make the OpenTelemetry Logback appender work with GraalVM native
images (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7989">#7989</a>)</li>
<li>Add baggage to Logback MDC; controlled by a configuration flag (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7892">#7892</a>)</li>
<li>Make the Spring Boot autoconfigure module work with Spring Boot 3
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8028">#8028</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8051">#8051</a>)</li>
</ul>
<h3>🛠️ Bug fixes</h3>
<ul>
<li>Handle JMX MBean attributes with embedded dots (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7841">#7841</a>)</li>
<li>Fix <code>ClassCastException</code> when using
<code>-Dotel.jmx.target.system=tomcat</code> (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7884">#7884</a>)</li>
<li>Fix NPE in the AWS SDK 2 instrumentation when request
instrumentation is suppressed (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7953">#7953</a>)</li>
<li>Fix Kotlin coroutine context propagation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7879">#7879</a>)</li>
<li>Fix the JAX-RS annotation instrumentation on Open Liberty (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7890">#7890</a>)</li>
<li>Fix an <code>AbstractMethodError</code> in the Logback
instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7967">#7967</a>)</li>
<li>Fix NPE in the RabbitMQ instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8021">#8021</a>)</li>
<li>Fix JMX metrics usage examples (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7877">#7877</a>)</li>
</ul>
<h3>🧰 Tooling</h3>
<ul>
<li>Remove deprecated <code>instrumentation-api-semconv</code> code (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7838">#7838</a>)</li>
<li>Look up helper class bytes when they are needed (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7839">#7839</a>)</li>
<li>Run smoke tests using Open Liberty 21.0.0.12 and 22.0.0.12 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7878">#7878</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7857">#7857</a>)</li>
<li>Add additional groovy script classloaders to ignore list. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7460">#7460</a>)</li>
<li>Make AggregationTemporality configurable for
<code>OtlpInMemoryMetricExporter</code> in the
<code>agent-for-testing</code> module (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7904">#7904</a>)</li>
<li>Upgrade to gradle 8.0.2 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7910">#7910</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7978">
7978</a>)</li>
<li>Replace the test-sets plugin with Gradle test suites (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7930">#7930</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7933">#7933</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7932">#7932</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7931">#7931</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7929">#7929</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7946">#7946</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7945">#7945</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7944">#7944</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7943">#7943</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7942">#7942</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7928">#7928</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7951">#7951</a>)</li>
<li>Add a utility for tracking HTTP resends (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7986">#7986</a>)</li>
<li>Remove deprecated <code>messaging.url</code> attribute from
messaging getter (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8008">#8008</a>)</li>
<li>Add protocol name&amp;version to net attribute getters (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7994">#7994</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-instrumentation/blob/main/CHANGELOG.md">io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Unreleased</h2>
<h2>Version 1.25.0 (2023-04-13)</h2>
<h3>Migration notes</h3>
<ul>
<li>Apache Pulsar instrumentation name is changed from
<code>io.opentelemetry.apache-pulsar-2.8</code> to
<code>io.opentelemetry.pulsar-2.8</code> and Apache Camel
instrumentation name is changed from
<code>io.opentelemetry.apache-camel-2.20</code> to
<code>io.opentelemetry.camel-2.20</code>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8195">#8195</a>)</li>
<li>Mojarra instrumentation suppression key has changed from
<code>mojarra</code> to <code>jsf-mojarra</code>
and MyFaces instrumentation suppression key has changed from
<code>myfaces</code> to <code>jsf-myfaces</code>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7811">#7811</a>)</li>
</ul>
<h3>🌟 New javaagent instrumentation</h3>
<ul>
<li>R2DBC
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7977">#7977</a>)</li>
<li>Add JFR streaming metrics gatherer
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7886">#7886</a>)</li>
<li>ZIO 2.0 instrumentation
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7980">#7980</a>)</li>
</ul>
<h3>🌟 New library instrumentation</h3>
<ul>
<li>R2DBC
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7977">#7977</a>)</li>
<li>Add JFR streaming metrics gatherer
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7886">#7886</a>)</li>
<li>Add library instrumentation for java http client
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8138">#8138</a>)</li>
</ul>
<h3>📈 Enhancements</h3>
<ul>
<li>Move X-Ray Env Variable propagation to span link instead of parent
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7970">#7970</a>)</li>
<li>Reduce memory usage for ClassLoaderHasClassesNamedMatcher
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7866">#7866</a>)</li>
<li>Remove password from db.user parsed from JDBC url
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8106">#8106</a>)</li>
<li>Ignore appd agent classes
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8065">#8065</a>)</li>
<li>Add http client metrics to apache http library instrumentation
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8128">#8128</a>)</li>
<li>Instrument additional pulsar receive methods
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8171">#8171</a>)</li>
<li>Support latest Hibernate 6 version
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8189">#8189</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-instrumentation/commits">compare
view</a></li>
</ul>
</details>
<br />

Updates `io.opentelemetry.javaagent:opentelemetry-javaagent-bootstrap`
from 1.24.0-alpha to 1.25.0-alpha
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases">io.opentelemetry.javaagent:opentelemetry-javaagent-bootstrap's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.24.0</h2>
<p>This release targets the OpenTelemetry SDK 1.24.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>Migration notes</h3>
<h3>🌟 New javaagent instrumentation</h3>
<ul>
<li>Add Apache Pulsar client instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/5926">#5926</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7999">#7999</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7943">#7943</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8007">#8007</a>)</li>
<li>Add Jodd-Http instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7868">#7868</a>)</li>
</ul>
<h3>🌟 New library instrumentation</h3>
<ul>
<li>Add Ktor client instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7982">#7982</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7997">#7997</a>)</li>
<li>Add Spring Webflux server instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7899">#7899</a>)</li>
</ul>
<h3>📈 Enhancements</h3>
<ul>
<li>Implement <code>messaging.kafka.*</code> attributes spec (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7824">#7824</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7860">#7860</a>)</li>
<li>Make RxJava2 instrumentation Android-friendly (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7895">#7895</a>)</li>
<li>Support more semantic convention for RocketMQ trace (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7871">#7871</a>)</li>
<li>Instrumenting cassandra executeReactive method (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/6441">#6441</a>)</li>
<li>Make the OpenTelemetry Logback appender work with GraalVM native
images (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7989">#7989</a>)</li>
<li>Add baggage to Logback MDC; controlled by a configuration flag (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7892">#7892</a>)</li>
<li>Make the Spring Boot autoconfigure module work with Spring Boot 3
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8028">#8028</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8051">#8051</a>)</li>
</ul>
<h3>🛠️ Bug fixes</h3>
<ul>
<li>Handle JMX MBean attributes with embedded dots (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7841">#7841</a>)</li>
<li>Fix <code>ClassCastException</code> when using
<code>-Dotel.jmx.target.system=tomcat</code> (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7884">#7884</a>)</li>
<li>Fix NPE in the AWS SDK 2 instrumentation when request
instrumentation is suppressed (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7953">#7953</a>)</li>
<li>Fix Kotlin coroutine context propagation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7879">#7879</a>)</li>
<li>Fix the JAX-RS annotation instrumentation on Open Liberty (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7890">#7890</a>)</li>
<li>Fix an <code>AbstractMethodError</code> in the Logback
instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7967">#7967</a>)</li>
<li>Fix NPE in the RabbitMQ instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8021">#8021</a>)</li>
<li>Fix JMX metrics usage examples (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7877">#7877</a>)</li>
</ul>
<h3>🧰 Tooling</h3>
<ul>
<li>Remove deprecated <code>instrumentation-api-semconv</code> code (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7838">#7838</a>)</li>
<li>Look up helper class bytes when they are needed (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7839">#7839</a>)</li>
<li>Run smoke tests using Open Liberty 21.0.0.12 and 22.0.0.12 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7878">#7878</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7857">#7857</a>)</li>
<li>Add additional groovy script classloaders to ignore list. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7460">#7460</a>)</li>
<li>Make AggregationTemporality configurable for
<code>OtlpInMemoryMetricExporter</code> in the
<code>agent-for-testing</code> module (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7904">#7904</a>)</li>
<li>Upgrade to gradle 8.0.2 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7910">#7910</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7978">
7978</a>)</li>
<li>Replace the test-sets plugin with Gradle test suites (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7930">#7930</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7933">#7933</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7932">#7932</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7931">#7931</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7929">#7929</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7946">#7946</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7945">#7945</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7944">#7944</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7943">#7943</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7942">#7942</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7928">#7928</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7951">#7951</a>)</li>
<li>Add a utility for tracking HTTP resends (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7986">#7986</a>)</li>
<li>Remove deprecated <code>messaging.url</code> attribute from
messaging getter (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8008">#8008</a>)</li>
<li>Add protocol name&amp;version to net attribute getters (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7994">#7994</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-instrumentation/blob/main/CHANGELOG.md">io.opentelemetry.javaagent:opentelemetry-javaagent-bootstrap's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Unreleased</h2>
<h2>Version 1.25.0 (2023-04-13)</h2>
<h3>Migration notes</h3>
<ul>
<li>Apache Pulsar instrumentation name is changed from
<code>io.opentelemetry.apache-pulsar-2.8</code> to
<code>io.opentelemetry.pulsar-2.8</code> and Apache Camel
instrumentation name is changed from
<code>io.opentelemetry.apache-camel-2.20</code> to
<code>io.opentelemetry.camel-2.20</code>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8195">#8195</a>)</li>
<li>Mojarra instrumentation suppression key has changed from
<code>mojarra</code> to <code>jsf-mojarra</code>
and MyFaces instrumentation suppression key has changed from
<code>myfaces</code> to <code>jsf-myfaces</code>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7811">#7811</a>)</li>
</ul>
<h3>🌟 New javaagent instrumentation</h3>
<ul>
<li>R2DBC
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7977">#7977</a>)</li>
<li>Add JFR streaming metrics gatherer
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7886">#7886</a>)</li>
<li>ZIO 2.0 instrumentation
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7980">#7980</a>)</li>
</ul>
<h3>🌟 New library instrumentation</h3>
<ul>
<li>R2DBC
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7977">#7977</a>)</li>
<li>Add JFR streaming metrics gatherer
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7886">#7886</a>)</li>
<li>Add library instrumentation for java http client
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8138">#8138</a>)</li>
</ul>
<h3>📈 Enhancements</h3>
<ul>
<li>Move X-Ray Env Variable propagation to span link instead of parent
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7970">#7970</a>)</li>
<li>Reduce memory usage for ClassLoaderHasClassesNamedMatcher
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7866">#7866</a>)</li>
<li>Remove password from db.user parsed from JDBC url
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8106">#8106</a>)</li>
<li>Ignore appd agent classes
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8065">#8065</a>)</li>
<li>Add http client metrics to apache http library instrumentation
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8128">#8128</a>)</li>
<li>Instrument additional pulsar receive methods
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8171">#8171</a>)</li>
<li>Support latest Hibernate 6 version
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8189">#8189</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-instrumentation/commits">compare
view</a></li>
</ul>
</details>
<br />

Updates `io.opentelemetry.javaagent:opentelemetry-javaagent-tooling`
from 1.24.0-alpha to 1.25.0-alpha
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases">io.opentelemetry.javaagent:opentelemetry-javaagent-tooling's
releases</a>.</em></p>
<blockquote>
<h2>Version 1.24.0</h2>
<p>This release targets the OpenTelemetry SDK 1.24.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>Migration notes</h3>
<h3>🌟 New javaagent instrumentation</h3>
<ul>
<li>Add Apache Pulsar client instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/5926">#5926</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7999">#7999</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7943">#7943</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8007">#8007</a>)</li>
<li>Add Jodd-Http instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7868">#7868</a>)</li>
</ul>
<h3>🌟 New library instrumentation</h3>
<ul>
<li>Add Ktor client instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7982">#7982</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7997">#7997</a>)</li>
<li>Add Spring Webflux server instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7899">#7899</a>)</li>
</ul>
<h3>📈 Enhancements</h3>
<ul>
<li>Implement <code>messaging.kafka.*</code> attributes spec (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7824">#7824</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7860">#7860</a>)</li>
<li>Make RxJava2 instrumentation Android-friendly (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7895">#7895</a>)</li>
<li>Support more semantic convention for RocketMQ trace (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7871">#7871</a>)</li>
<li>Instrumenting cassandra executeReactive method (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/6441">#6441</a>)</li>
<li>Make the OpenTelemetry Logback appender work with GraalVM native
images (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7989">#7989</a>)</li>
<li>Add baggage to Logback MDC; controlled by a configuration flag (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7892">#7892</a>)</li>
<li>Make the Spring Boot autoconfigure module work with Spring Boot 3
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8028">#8028</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8051">#8051</a>)</li>
</ul>
<h3>🛠️ Bug fixes</h3>
<ul>
<li>Handle JMX MBean attributes with embedded dots (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7841">#7841</a>)</li>
<li>Fix <code>ClassCastException</code> when using
<code>-Dotel.jmx.target.system=tomcat</code> (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7884">#7884</a>)</li>
<li>Fix NPE in the AWS SDK 2 instrumentation when request
instrumentation is suppressed (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7953">#7953</a>)</li>
<li>Fix Kotlin coroutine context propagation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7879">#7879</a>)</li>
<li>Fix the JAX-RS annotation instrumentation on Open Liberty (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7890">#7890</a>)</li>
<li>Fix an <code>AbstractMethodError</code> in the Logback
instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7967">#7967</a>)</li>
<li>Fix NPE in the RabbitMQ instrumentation (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8021">#8021</a>)</li>
<li>Fix JMX metrics usage examples (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7877">#7877</a>)</li>
</ul>
<h3>🧰 Tooling</h3>
<ul>
<li>Remove deprecated <code>instrumentation-api-semconv</code> code (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7838">#7838</a>)</li>
<li>Look up helper class bytes when they are needed (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7839">#7839</a>)</li>
<li>Run smoke tests using Open Liberty 21.0.0.12 and 22.0.0.12 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7878">#7878</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7857">#7857</a>)</li>
<li>Add additional groovy script classloaders to ignore list. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7460">#7460</a>)</li>
<li>Make AggregationTemporality configurable for
<code>OtlpInMemoryMetricExporter</code> in the
<code>agent-for-testing</code> module (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7904">#7904</a>)</li>
<li>Upgrade to gradle 8.0.2 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7910">#7910</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7978">
7978</a>)</li>
<li>Replace the test-sets plugin with Gradle test suites (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7930">#7930</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7933">#7933</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7932">#7932</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7931">#7931</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7929">#7929</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7946">#7946</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7945">#7945</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7944">#7944</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7943">#7943</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7942">#7942</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7928">#7928</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7951">#7951</a>)</li>
<li>Add a utility for tracking HTTP resends (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7986">#7986</a>)</li>
<li>Remove deprecated <code>messaging.url</code> attribute from
messaging getter (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8008">#8008</a>)</li>
<li>Add protocol name&amp;version to net attribute getters (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7994">#7994</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-instrumentation/blob/main/CHANGELOG.md">io.opentelemetry.javaagent:opentelemetry-javaagent-tooling's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Unreleased</h2>
<h2>Version 1.25.0 (2023-04-13)</h2>
<h3>Migration notes</h3>
<ul>
<li>Apache Pulsar instrumentation name is changed from
<code>io.opentelemetry.apache-pulsar-2.8</code> to
<code>io.opentelemetry.pulsar-2.8</code> and Apache Camel
instrumentation name is changed from
<code>io.opentelemetry.apache-camel-2.20</code> to
<code>io.opentelemetry.camel-2.20</code>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8195">#8195</a>)</li>
<li>Mojarra instrumentation suppression key has changed from
<code>mojarra</code> to <code>jsf-mojarra</code>
and MyFaces instrumentation suppression key has changed from
<code>myfaces</code> to <code>jsf-myfaces</code>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7811">#7811</a>)</li>
</ul>
<h3>🌟 New javaagent instrumentation</h3>
<ul>
<li>R2DBC
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7977">#7977</a>)</li>
<li>Add JFR streaming metrics gatherer
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7886">#7886</a>)</li>
<li>ZIO 2.0 instrumentation
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7980">#7980</a>)</li>
</ul>
<h3>🌟 New library instrumentation</h3>
<ul>
<li>R2DBC
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7977">#7977</a>)</li>
<li>Add JFR streaming metrics gatherer
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7886">#7886</a>)</li>
<li>Add library instrumentation for java http client
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8138">#8138</a>)</li>
</ul>
<h3>📈 Enhancements</h3>
<ul>
<li>Move X-Ray Env Variable propagation to span link instead of parent
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7970">#7970</a>)</li>
<li>Reduce memory usage for ClassLoaderHasClassesNamedMatcher
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7866">#7866</a>)</li>
<li>Remove password from db.user parsed from JDBC url
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8106">#8106</a>)</li>
<li>Ignore appd agent classes
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8065">#8065</a>)</li>
<li>Add http client metrics to apache http library instrumentation
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8128">#8128</a>)</li>
<li>Instrument additional pulsar receive methods
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8171">#8171</a>)</li>
<li>Support latest Hibernate 6 version
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8189">#8189</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-instrumentation/commits">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] <[email protected]>
Co-authored-by: Walt Moorhouse <[email protected]>
Co-authored-by: Trask Stalnaker <[email protected]>
Co-authored-by: Helen <[email protected]>
Co-authored-by: Jean Bisutti <[email protected]>
Co-authored-by: Helen Yang <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
6 people authored Apr 20, 2023
1 parent d588ed4 commit 112c7e5
Show file tree
Hide file tree
Showing 32 changed files with 128 additions and 101 deletions.
8 changes: 4 additions & 4 deletions agent/agent-bootstrap/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ com.google.guava:guava-bom:31.1-jre=runtimeClasspath
com.squareup.moshi:moshi:1.11.0=runtimeClasspath
com.squareup.okio:okio:1.17.5=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.slf4j:slf4j-api:1.7.36=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private static Set<AttributeKey> buildDurationServerView() {
view.add(SemanticAttributes.NET_HOST_PORT);
view.add(SemanticAttributes.HTTP_ROUTE);
// START APPLICATION INSIGHTS MODIFICATIONS
view.add(SemanticAttributes.HTTP_USER_AGENT);
view.add(SemanticAttributes.USER_AGENT_ORIGINAL);
// END APPLICATION INSIGHTS MODIFICATIONS
return view;
}
Expand Down
8 changes: 4 additions & 4 deletions agent/agent-for-testing/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
empty=
8 changes: 4 additions & 4 deletions agent/agent-gc-monitor/gc-monitor-api/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.errorprone:error_prone_annotations:2.18.0=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.slf4j:slf4j-api:1.7.36=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
Expand Down
8 changes: 4 additions & 4 deletions agent/agent-gc-monitor/gc-monitor-core/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.errorprone:error_prone_annotations:2.18.0=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.slf4j:slf4j-api:1.7.36=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
Expand Down
8 changes: 4 additions & 4 deletions agent/agent-gc-monitor/gc-monitor-tests/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
empty=
8 changes: 4 additions & 4 deletions agent/agent-profiler/agent-alerting-api/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
empty=
8 changes: 4 additions & 4 deletions agent/agent-profiler/agent-alerting/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.slf4j:slf4j-api:1.7.36=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
Expand Down
8 changes: 4 additions & 4 deletions agent/agent-profiler/agent-diagnostics-api/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
empty=
14 changes: 7 additions & 7 deletions agent/agent-tooling/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ io.netty:netty-transport-native-epoll:4.1.91.Final=runtimeClasspath
io.netty:netty-transport-native-kqueue:4.1.91.Final=runtimeClasspath
io.netty:netty-transport-native-unix-common:4.1.91.Final=runtimeClasspath
io.netty:netty-transport:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.projectreactor.netty:reactor-netty-core:1.1.5=runtimeClasspath
io.projectreactor.netty:reactor-netty-http:1.1.5=runtimeClasspath
io.projectreactor:reactor-core:3.5.4=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
io.projectreactor.netty:reactor-netty-core:1.1.6=runtimeClasspath
io.projectreactor.netty:reactor-netty-http:1.1.6=runtimeClasspath
io.projectreactor:reactor-core:3.5.5=runtimeClasspath
net.java.dev.jna:jna-platform:5.13.0=runtimeClasspath
net.java.dev.jna:jna:5.13.0=runtimeClasspath
net.minidev:accessors-smart:2.4.9=runtimeClasspath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ public static String getAgentVersion() {
return agentVersion;
}

@Override
public String name() {
return "applicationinsights";
}

@Override
public void init() {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Slf4jInternalLogger extends InternalLogger {
public class Slf4jInternalLogger implements InternalLogger {

static Slf4jInternalLogger create(String name) {
return new Slf4jInternalLogger(name);
Expand All @@ -21,7 +21,7 @@ static Slf4jInternalLogger create(String name) {
}

@Override
protected boolean isLoggable(InternalLogger.Level level) {
public boolean isLoggable(Level level) {
switch (level) {
case TRACE:
return logger.isTraceEnabled();
Expand All @@ -38,7 +38,7 @@ protected boolean isLoggable(InternalLogger.Level level) {
}

@Override
protected void log(InternalLogger.Level level, String message, @Nullable Throwable error) {
public void log(Level level, String message, @Nullable Throwable error) {
switch (level) {
case TRACE:
logger.trace(message, error);
Expand All @@ -60,7 +60,7 @@ protected void log(InternalLogger.Level level, String message, @Nullable Throwab
}

@Override
protected String name() {
public String name() {
return logger.getName();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
final class UserAgents {

static boolean isBot(Attributes attributes) {
String userAgent = attributes.get(SemanticAttributes.HTTP_USER_AGENT);
String userAgent = attributes.get(SemanticAttributes.USER_AGENT_ORIGINAL);
return userAgent != null && userAgent.contains("AlwaysOn");
}

Expand Down
8 changes: 4 additions & 4 deletions agent/agent/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
empty=
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ public static void premain(String agentArgs, Instrumentation inst) {
StartupProfiler.start();
}

// https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7339
// Starting 1.25.0, OpenTelemetry defaults logger to Slf4jSimplerlogger when system property
// "otel.javaagent.logging" is null.
// Setting this system property programmatically will tell agent class loader to load our
// Slf4jInternalLogger instead.
System.setProperty("otel.javaagent.logging", "applicationinsights");

OpenTelemetryAgent.premain(agentArgs, inst);
}

Expand Down
14 changes: 7 additions & 7 deletions agent/azure-monitor-exporter/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ io.netty:netty-transport-native-epoll:4.1.91.Final=runtimeClasspath
io.netty:netty-transport-native-kqueue:4.1.91.Final=runtimeClasspath
io.netty:netty-transport-native-unix-common:4.1.91.Final=runtimeClasspath
io.netty:netty-transport:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.projectreactor.netty:reactor-netty-core:1.1.5=runtimeClasspath
io.projectreactor.netty:reactor-netty-http:1.1.5=runtimeClasspath
io.projectreactor:reactor-core:3.5.4=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
io.projectreactor.netty:reactor-netty-core:1.1.6=runtimeClasspath
io.projectreactor.netty:reactor-netty-http:1.1.6=runtimeClasspath
io.projectreactor:reactor-core:3.5.5=runtimeClasspath
net.java.dev.jna:jna-platform:5.6.0=runtimeClasspath
net.java.dev.jna:jna:5.6.0=runtimeClasspath
net.minidev:accessors-smart:2.4.9=runtimeClasspath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

package com.azure.monitor.opentelemetry.exporter.implementation;

import static io.opentelemetry.api.common.AttributeKey.stringArrayKey;
import static io.opentelemetry.api.common.AttributeKey.stringKey;

import com.azure.core.util.logging.ClientLogger;
Expand All @@ -20,6 +21,7 @@
import io.opentelemetry.api.trace.SpanContext;
import io.opentelemetry.sdk.logs.data.LogRecordData;
import io.opentelemetry.sdk.resources.Resource;
import java.util.List;
import java.util.function.BiConsumer;
import reactor.util.annotation.Nullable;

Expand All @@ -35,7 +37,7 @@ public class LogDataMapper {
private static final String LOG4J_MAP_MESSAGE_PREFIX = "log4j.map_message."; // log4j 2.x

private static final AttributeKey<String> LOG4J_MARKER = stringKey("log4j.marker");
private static final AttributeKey<String> LOGBACK_MARKER = stringKey("logback.marker");
private static final AttributeKey<List<String>> LOGBACK_MARKER = stringArrayKey("logback.marker");

private static final Mappings MAPPINGS;

Expand Down Expand Up @@ -77,7 +79,7 @@ public class LogDataMapper {
.exactString(SemanticAttributes.CODE_FUNCTION, "MethodName")
.exactLong(SemanticAttributes.CODE_LINENO, "LineNumber")
.exactString(LOG4J_MARKER, "Marker")
.exactString(LOGBACK_MARKER, "Marker");
.exactStringArray(LOGBACK_MARKER, "Marker");

SpanDataMapper.applyCommonTags(mappingsBuilder);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import io.opentelemetry.api.common.AttributeKey;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

Expand Down Expand Up @@ -86,6 +87,17 @@ MappingsBuilder exactLong(AttributeKey<Long> attributeKey, String propertyName)
return this;
}

MappingsBuilder exactStringArray(AttributeKey<List<String>> attributeKey, String propertyName) {
exactMappings.put(
attributeKey.getKey(),
(telemetryBuilder, value) -> {
if (value instanceof List) {
telemetryBuilder.addProperty(propertyName, String.join(",", (List) value));
}
});
return this;
}

public Mappings build() {
return new Mappings(exactMappings, prefixMappings.build());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ public final class SemanticAttributes {
* Value of the <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent">HTTP
* User-Agent</a> header sent by the client.
*/
public static final AttributeKey<String> HTTP_USER_AGENT = stringKey("http.user_agent");
public static final AttributeKey<String> USER_AGENT_ORIGINAL = stringKey("user_agent.original");

/**
* The size of the request payload body in bytes. This is the number of bytes transferred
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public final class SpanDataMapper {
.ignoreExact(AiSemanticAttributes.KAFKA_RECORD_QUEUE_TIME_MS.getKey())
.ignoreExact(AiSemanticAttributes.KAFKA_OFFSET.getKey())
.exact(
SemanticAttributes.HTTP_USER_AGENT.getKey(),
SemanticAttributes.USER_AGENT_ORIGINAL.getKey(),
(builder, value) -> {
if (value instanceof String) {
builder.addTag("ai.user.userAgent", (String) value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
empty=
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.24.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.24.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.23.1-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.23.1=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
empty=
Loading

0 comments on commit 112c7e5

Please sign in to comment.