- Update to OpenTelemetry 2.0.0
- Many Breaking Changes, most notably:
- The default OTLP protocol has been changed from
grpc
tohttp/protobuf
in order to align with
the specification.
You can switch to thegrpc
protocol usingOTEL_EXPORTER_OTLP_PROTOCOL=grpc
or-Dotel.exporter.otlp.protocol=grpc
. - Micrometer metric bridge has been disabled by default. You can enable it using
OTEL_INSTRUMENTATION_MICROMETER_ENABLED=true
or-Dotel.instrumentation.micrometer.enabled=true
.
- The default OTLP protocol has been changed from
- Stable JVM semantic conventions are now emitted by default - but this was already the case in 0.32.0-beta.1
(via opt-in), so no change here.
- Many Breaking Changes, most notably:
- (Informational, not related to this release) Spring Boot 3.2 is supported, except for Jetty
(see compatibility matrix). - The following
GRAFANA_*
environment variables are now deprecated and will be removed in a future release.
Please useOTEL_*
environment variables instead
(in the spirit of making it easy to migrate away from this distribution).GRAFANA_OTLP_DEBUG_LOGGING
andGRAFANA_OTLP_LOGGING_EXPORTER_ENABLED
(details)GRAFANA_CLOUD_INSTANCE_ID
,GRAFANA_CLOUD_ZONE
, andGRAFANA_CLOUD_API_KEY
(details)
What's Changed
- Bump actions/setup-java from 3 to 4 by @dependabot in #280
- Bump net.bytebuddy:byte-buddy-dep from 1.14.9 to 1.14.10 by @dependabot in #269
- Bump com.google.protobuf:protobuf-java-util from 3.25.0 to 3.25.1 by @dependabot in #268
- Bump gradle/gradle-build-action from 2.9.0 to 2.10.0 by @dependabot in #281
- Bump org.owasp.dependencycheck from 8.4.2 to 9.0.3 by @dependabot in #283
- Bump com.fasterxml.jackson.core:jackson-databind from 2.15.3 to 2.16.0 by @dependabot in #266
- avoid deprecated api key and use otel tile by @zeitlinger in #317
- update upstream to 2.0 by @zeitlinger in #324
- update spring by @zeitlinger in #284
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #293
- Bump actions/setup-go from 4 to 5 by @dependabot in #290
- Bump ch.qos.logback:logback-classic from 1.4.11 to 1.4.14 by @dependabot in #287
- Bump com.diffplug.spotless:spotless-plugin-gradle from 6.22.0 to 6.24.0 by @dependabot in #321
- Bump gradle/gradle-build-action from 2.10.0 to 2.11.1 by @dependabot in #313
- Bump io.opentelemetry.contrib:opentelemetry-aws-resources from 1.31.0-alpha to 1.32.0-alpha by @dependabot in #286
- Bump org.assertj:assertj-core from 3.24.2 to 3.25.1 by @dependabot in #325
- Bump net.bytebuddy:byte-buddy-dep from 1.14.10 to 1.14.11 by @dependabot in #328
- Bump com.fasterxml.jackson.core:jackson-databind from 2.16.0 to 2.16.1 by @dependabot in #330
- Bump org.owasp.dependencycheck from 9.0.3 to 9.0.8 by @dependabot in #331
- Bump com.google.protobuf:protobuf-java-util from 3.25.1 to 3.25.2 by @dependabot in #329
- create release / prefer upstream environment variables by @zeitlinger in #333
Full Changelog: v0.32.0-beta.1...v2.0.0-beta.1