Version 1.37.0
NOTICE: This release contains a significant restructuring of the experimental event API and the API incubator artifact. Please read the notes in the API -> Incubator
section carefully.
API
- Promote
Span#addLink
to stable API (#6317)
Incubator
- BREAKING: Rename
opentelemetry-extension-incubator
toopentelemetry-api-incubator
, mergeopentelemetry-api-events
intoopentelemetry-api-incubator
. (#6289) - BREAKING: Remove domain from event api.
EventEmitterProvider#setEventDomain
has been removed. Theevent.name
field should now be namespaced to avoid collisions. See Semantic Conventions for Event Attributes for more details. (#6253) - BREAKING: Rename
EventEmitter
and related classes toEventLogger
. (#6316) - BREAKING: Refactor Event API to reflect spec changes. Restructure API to put fields in the
AnyValue
log record body. Add setters for timestamp, context, and severity. Set default severity toINFO=9
. (#6318)
SDK
- Add
get{Signal}Exporter
methods toSimple{Signal}Processor
,Batch{Signal}Processor
. (#6078)
Metrics
- Use synchronized instead of reentrant lock in explicit bucket histogram (#6309)
Exporters
- Fix typo in OTLP javadoc (#6311)
- Add
PrometheusHttpServer#toBuilder()
(#6333) - Bugfix: Use
getPrometheusName
for Otel2PrometheusConverter map keys to avoid metric name conflicts (#6308)
Extensions
- Add Metric exporter REUSABLE_DATA memory mode configuration options, including autoconfigure support via env var
OTEL_JAVA_EXPERIMENTAL_EXPORTER_MEMORY_MODE=REUSABLE_DATA
. (#6304) - Add autoconfigure console alias for logging exporter (#6027)
- Update jaeger autoconfigure docs to point to OTLP (#6307)
- Add
ServiceInstanceIdResourceProvider
implementation for generatingservice.instance.id
UUID if not already provided by user. Included inopentelemetry-sdk-extension-incubator
. (#6226) - Add GCP resource detector to list of resource providers in autoconfigure docs (#6336)
Tooling
- Check for Java 17 toolchain and fail if not found (#6303)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@asafm
@bogdandrutu
@breedx-splk
@brunobat
@helpermethod
@jack-berg
@jkwatson
@jonatan-ivanov
@jpkrohling
@MSNev
@nluk
@psx95
@robberphex
@scheler
@trask
@zeitlinger