Repository navigation
This release targets the OpenTelemetry Java Instrumentation 2.32.0.
⚠️ Breaking changes
- Dynamic control: the
trace-samplingpolicy type now takes a percentage (0.0–100.0) instead of a ratio. Ratio-based configurations must switch to the newsampling-ratepolicy type, keeping the same values (e.g.policyType: trace-samplingwith0.5becomespolicyType: sampling-ratewith0.5). Unmigrated ratio values are now read as percentages, so0.5would mean 0.5% instead of 50%. Full JSON policies now usekeep.ratioorkeep.percentageinstead ofkeep.probability. (#3097, #3100, #3102, #3111)
AWS resources
- Set
aws.ecs.task.idon the ECS resource, extracted from the task ARN as the semantic conventions require. (#3098)
Azure resources
- Add
cloud.account.idandazure.resource_group.nameto the Azure App Service and Azure Functions resource detectors. (#3074, #3092)
Disk buffering
- Add
DiscardedFileListener, set withFileStorageConfiguration.Builder.setDiscardedFileListener, to be notified when a stored file is deleted before all of its data was read: expired, removed to stay within the folder size limit, or corrupted. (#3144)
Dynamic control
- Accept full telemetry policy objects, as defined by the current spec, in
jsonkeyvaluesources. (#3037) - Add an
httppolicy source that polls a URL for policy updates. (#3040) - Add the
trace-samplingpercentage policy type alongside thesampling-rateratio policy type. Configuring both at once is rejected. (#3100, #3113) - Rename
TraceSamplingRatePolicyImplementertoTraceSamplingPolicyImplementer, and replaceTraceSamplingValidatorwithTraceSamplingRateValidatorandTraceSamplingPercentageValidator. (#3076, #3102, #3122) - With declarative configuration, OpAMP now takes
service.nameanddeployment.environment.namefrom the resolved SDK resource.OTEL_SERVICE_NAMEandOTEL_RESOURCE_ATTRIBUTESno longer override it on that path. (#3013)
GCP authentication extension
- Add support for the
logssignal type, enabling authenticated OTLP log record exports. (#3121)
JMX scraper
- Target systems backed by instrumentation metric definitions now use the plain name, e.g.
cassandraandkafka-connect. Theexperimental-prefix (e.g.experimental-kafka-connect) is deprecated and logs a warning. With the defaultotel.jmx.target.source=auto,cassandranow uses the instrumentation definitions instead of the legacy ones; setotel.jmx.target.source=legacyto keep the previous metrics. (#3091, #3135)
Kafka exporter
- Pin
zstd-jnito 1.5.7-20 to pick up security fixes not yet in thekafka-clientsdependency. (#3127)
Samplers
RuleBasedRoutingSamplercan now match on non-string attributes (e.g. numbers), which are converted to strings before the pattern is applied. (#3073)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@AlexDeAg
@cdsap
@jack-berg
@jackshirazi
@jaydeluca
@jkoronaAtCisco
@jsuereth
@laurit
@Lewis-E
@LikeTheSalad
@Mahoney
@mamazzol
@opentelemetrybot
@psx95
@rmannibucau
@SylvainJuge
@trask
@zeitlinger