Skip to content

New - bump upstream versions#449

Open
cleverchuk wants to merge 1 commit intomainfrom
cc/NH-133007
Open

New - bump upstream versions#449
cleverchuk wants to merge 1 commit intomainfrom
cc/NH-133007

Conversation

@cleverchuk
Copy link
Contributor

Summary

Bumps OpenTelemetry upstream dependencies to their latest versions: Java agent 2.25.0 → 2.26.0, SDK 1.59.0 → 1.60.1, and semantic conventions 1.37.0 → 1.40.0. Includes code changes required to stay compatible with the new upstream APIs.

Changes

Dependency version bumps

  • otelAgentVersion: 2.25.0 → 2.26.0
  • otelSdkVersion: 1.59.0 → 1.60.1
  • opentelemetrySemconv: 1.37.0 → 1.40.0

Semantic conventions migration

  • SERVICE_INSTANCE_ID moved from ServiceIncubatingAttributes (incubating) to ServiceAttributes (stable) in semconv 1.40.0. Updated HostIdResourceUtil to use the stable import.

OTLP exporter declarative config API changes

  • OtlpDeclarativeConfigUtil now requires two additional parameters: an internal telemetry version setter and a meter provider configurator.
  • Updated all three component providers (LogExporterComponentProvider, MetricExporterComponentProvider, SpanExporterComponentProvider) to pass builder::setInternalTelemetryVersion and a no-op MeterProvider supplier to satisfy the new API contract.

Test services data

  1. e-1712644058766987264
  2. e-1712643928659124224
  3. e-1742334541200846848
  4. e-1777406072376840192

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates this repo’s OpenTelemetry upstream dependency versions and adjusts internal extension code to remain compatible with upstream API and semantic convention changes.

Changes:

  • Bump OpenTelemetry dependency versions (Java agent, SDK, semconv).
  • Migrate SERVICE_INSTANCE_ID usage from incubating to stable semantic conventions.
  • Update OTLP exporter component providers to satisfy the updated OtlpDeclarativeConfigUtil.configureOtlpExporterBuilder API.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
libs/shared/src/main/java/com/solarwinds/opentelemetry/extensions/config/provider/SpanExporterComponentProvider.java Passes new internal telemetry version + meter-provider hook into OTLP declarative config util.
libs/shared/src/main/java/com/solarwinds/opentelemetry/extensions/config/provider/MetricExporterComponentProvider.java Same OTLP declarative config util API adaptation for metrics exporter.
libs/shared/src/main/java/com/solarwinds/opentelemetry/extensions/config/provider/LogExporterComponentProvider.java Same OTLP declarative config util API adaptation for logs exporter.
dependencyManagement/build.gradle.kts Bumps OpenTelemetry agent/SDK/semconv versions used across modules.
custom/src/main/java/com/solarwinds/opentelemetry/extensions/config/HostIdResourceUtil.java Updates semconv import to stable ServiceAttributes for SERVICE_INSTANCE_ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants