Skip to content

Latest commit

 

History

History
698 lines (454 loc) · 24.4 KB

CHANGELOG.md

File metadata and controls

698 lines (454 loc) · 24.4 KB

Changelog

Unreleased

Version 1.39.0 (2024-09-17)

AWS X-Ray propagator

  • Handle too short X-Amzn-Trace-Id header (#1036)
  • Add declarative config support for aws xray propagators (#1442)

AWS X-Ray SDK support

  • Fix native mode error cause by static init of random (#862)

Consistent sampling

  • Composite Samplers prototype (#1443)

Disk buffering

  • Add debug mode for verbose logging (#1455)

GCP Resources

  • Fix incorrect cloud.platform value for GCF (#1454)

JMX metrics

  • Add option to aggregate across multiple MBeans (#1366)

Samplers

  • Add declarative config support for RuleBasedRoutingSampler (#1440)

Span stack traces

  • Add config option otel.java.experimental.span-stacktrace.min.duration (#1414)

Version 1.38.0 (2024-08-19)

JFR connection

  • Recording close should not throw exception (#1412)

Version 1.37.0 (2024-07-18)

AWS resources

  • Add ECS cluster detection (#1354)

Baggage processor

  • Add config support (#1330)

Inferred spans - New 🌟

An OpenTelemetry extension for generating spans via profiling instead of instrumentation. This extension enhances traces by running async-profiler in wall-clock profiling mode whenever there is an active sampled OpenTelemetry span.

The resulting profiling data is analyzed afterward and spans are "inferred". This means there is a delay between the regular and the inferred spans being visible in your OpenTelemetry backend/UI.

JFR connection

  • Fix for using diagnostic command to start a recording (#1352)

JMX metrics

  • Support both a script and target systems (#1339)

Version 1.36.0 (2024-05-29)

AWS resources

  • Optimization: don't attempt detection if a cloud provider has already been detected (#1225)

Baggage processor - New 🌟

This module provides a SpanProcessor that stamps baggage onto spans as attributes on start.

Consistent sampling

  • Assume random trace ID and set th-field only for sampled spans (#1278)

GCP Resources

  • Optimization: don't attempt detection if a cloud provider has already been detected (#1225)
  • Update guidance for manual instrumentation usage (#1250)

JMX metrics

  • Remove slf4j-simple dependency (#1283)

Maven extension

  • Disable metrics and logs by default (#1276)
  • Migrate to current semconv (#1299)
  • Migrate from Plexus to JSR 330 dependency injection APIs (#1320)

Span stack trace

  • Enable publishing to maven central (#1297)

Version 1.35.0 (2024-04-16)

JMX metrics

  • Add support for newly named Tomcat MBean with Spring (#1269)

Span stack traces - New 🌟

This module provides a SpanProcessor that captures stack traces on spans that meet a certain criteria such as exceeding a certain duration threshold.

Version 1.34.0 (2024-03-27)

AWS resources

  • Add support for cloud.account.id, cloud.availability_zone, cloud.region, and cloud.resource_id (#1171)

AWS X-Ray propagator

  • Add xray propagators that prioritizes xray environment variable (#1032)

GCP Resources

  • Update docs on how to use with Java agent v2.2.0 and later (#1237)

Micrometer MeterProvider

  • Implement Metrics incubator APIs to accept advice (#1190)

Version 1.33.0 (2024-02-21)

Compressors

  • Add zstd compressor implementation for OTLP exporters (#1108)

Consistent sampling

  • Switch from acceptance to rejection threshold (#1130)

Disk buffering

  • Shadowing generated proto java sources (#1146)
  • Single responsibility for disk exporters (#1161)
  • Split serializer (#1167)
  • Disk buffering config and README updates (#1169)
  • Ensure no sign propagation for flags byte (#1166)

GCP Resources - New 🌟

This module provides GCP resource detectors for OpenTelemetry.

JMX metrics

  • Add Error handling for closure parameters (#1102)
  • Add kafka.request.time.avg (#1135)

Kafka exporter - New 🌟

This module contains KafkaSpanExporter, which is an implementation of the io.opentelemetry.sdk.trace.export.SpanExporter interface.

KafkaSpanExporter can be used for sending SpanData to a Kafka topic.

Version 1.32.0 (2023-11-27)

Disk buffering

  • Using Android 21 as minimum supported for disk-buffering (#1096)

Version 1.31.0 (2023-10-18)

Consistent sampling

  • Explicitly pass invalid p-value to root sampler (#1053)
  • Consistent sampler prototypes using 56 bits of randomness (#1063)

Runtime attach

  • Rename runtime attach method from attachJavaagentToCurrentJVM to attachJavaagentToCurrentJvm (#1077)

Samplers

  • Support thread.name attributes in RuleBasedRoutingSampler (#1030)

Version 1.30.0 (2023-09-18)

Disk buffering

  • Remove protobuf dependency (#1008)

Maven extension

  • Disable OTel SDK shutdown hook registration (#1022)

Telemetry processors - New 🌟

This module contains tools for globally processing telemetry, including modifying and filtering telemetry.

Version 1.29.0 (2023-08-23)

Consistent sampling

  • Add a provider for consistent parent based probability sampler (#1005)

Disk buffering

  • Migrate StorageFile to FileOperations (#986)

JMX metrics

  • [jmx-metrics] Collect in callback (#949)
  • Added transformation closure to MBeanHelper (#960)

Version 1.28.0 (2023-07-14)

AWS X-Ray SDK support

  • generate error/fault metrics by aws sdk status code (#924)

Disk buffering - New 🌟

This module provides signal exporter wrappers that intercept and store telemetry signals in files which can be sent later on demand.

Version 1.27.0 (2023-06-16)

AWS X-Ray SDK support

  • Enhance AWS APM metrics mapping implementation (#906)

Samplers

Version 1.26.0 (2023-05-17)

AWS X-Ray SDK support

  • Add AttributePropagatingSpanProcessor component to AWS X-Ray (#856)
  • Add new components to allow for generating metrics from 100% of spans without impacting sampling (#802)

JMX metrics

  • Adding support for scenarios where the RMI registry has SSL enabled (#835)

Version 1.25.1 (2023-04-21)

🛠️ Bug fixes

  • Previously targeted OpenTelemetry SDK and Instrumentation versions had never been updated to target OpenTelemetry SDK 1.25

Version 1.25.0 (2023-04-18)

AWS X-Ray SDK support

  • Breakout ResourceHolder from AwsXrayRemoteSamplerProvider (#801)

JFR connection - New 🌟

Version 1.24.0 (2023-04-03)

Maven extension

  • [maven-extension] Emit a warning rather than failing the build with an exception on illegal state (#776)
  • [maven-extension] Remove dependency to grpc-netty-shaded as opentelemetry-exporter-otlp pulls okhttp3 (#785)
  • [maven-extension] Propagate OTel context to plugin mojos (#786)

Version 1.23.0 (2023-02-22)

JFR streaming

  • JFR features can be enabled and disabled (#709)
  • Generate JFR telemetry table (#715)

Resource providers

  • Fix and enhance resource detection logging. (#711)

Samplers

  • Allow providing a custom sampler as an option for the RuleBasedRoutingSampler (#710)

Version 1.22.0 (2023-01-17)

JFR streaming

  • Add buffer handlers and implement buffer metrics (#650)
  • Implement GC duration metric (#653)
  • Implement memory metrics (#652)

Prometheus client bridge - New 🌟

This module can be used to bridge OpenTelemetry metrics into the prometheus-simpleclient library.

Version 1.21.0 (2022-12-15)

JFR streaming

  • Update handlers in jfr-streaming to match spec (#616)

Version 1.20.1 (2022-11-22)

🛠️ Bug fixes

  • Previously targeted OpenTelemetry Instrumentation version had never been updated to target OpenTelemetry SDK 1.20

Version 1.20.0 (2022-11-17)

AWS X-Ray propagator

  • Move io.opentelemetry:opentelemetry-extension-aws to contrib (#547)

JFR streaming

  • Thread count and classes loaded handlers (#571)

Resource providers

  • Webapp service name detector (#562)
  • Glassfish service name detector (#579)
  • Add remaining app server service name detectors (#583)

Version 1.19.1 (2022-10-16)

AWS resources

  • Fixed artifact io.opentelemetry.contrib:opentelemetry-aws-resources not being published to maven central (#535)

Version 1.19.0 (2022-10-14)

Runtime attach

  • Fix missing class in opentelemetry-runtime-attach jar (#509)

Version 1.18.0 (2022-09-19)

AWS resources

Relocated from the opentelemetry-java repository, and now published under the coordinates io.opentelemetry.contrib:opentelemetry-aws-resources

JFR events

Relocated from the opentelemetry-java repository, and now published under the coordinates io.opentelemetry.contrib:opentelemetry-jfr-events

No-op API

Relocated from the opentelemetry-java repository, and now published under the coordinates io.opentelemetry.contrib:opentelemetry-noop-api

Version 1.17.0 (2022-08-19)

Consistent sampling

  • Support traceId-based r-values (#417)

Runtime attach

  • Prevent the runtime attachment from launching multiple times (#409)

Version 1.16.0 (2022-07-20)

AWS X-Ray

  • Fix #376: AwsXrayRemoteSampler doesn’t poll for update (#377)

Runtime attach

  • Fix "Class path contains multiple SLF4J bindings" (#380)
  • Improve exception handling and documentation (#388)

Version 1.15.0 (2022-06-17)

Consistent sampling

  • ConsistentSampler does not unset p from tracestate when deciding not to sample (#350)
  • Add consistent reservoir sampling span processor (#352)

Micrometer MeterProvider - New 🌟

This utility provides an implementation of MeterProvider which wraps a Micrometer MeterRegistry and delegates the reporting of all metrics through Micrometer. This enables projects which already rely on Micrometer and cannot currently migrate to OpenTelemetry Metrics to be able to report on metrics that are reported through the OpenTelemetry Metrics API.

Runtime attach

  • Do not attach if not requested from the main method on the main thread (#354)
  • Fix "URI is not hierarchical" during runtime attachment (#359)

Version 1.14.0 (2022-05-19)

All components updated to target OpenTelemetry SDK 1.14.0.

JMX metrics

  • Support setting more properties in the JMX Metrics properties file (#323)
  • Add Jetty Integration (#320)

Version 1.13.0 (2022-04-20)

All components updated to target OpenTelemetry SDK 1.13.0.

Consistent sampling - New 🌟

This component adds various Sampler implementations for consistent sampling as defined by https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/tracestate-probability-sampling.md and open-telemetry/opentelemetry-specification#2047.

Version 1.12.0 (2022-03-14)

All components updated to target OpenTelemetry SDK 1.12.0.

Version 1.11.0 (2022-03-03)

All components updated to target OpenTelemetry SDK 1.11.0.

JFR streaming

  • Split up GC Handlers, add support for Parallel (#201)

JMX metrics

  • jmx-metrics: Activemq (#188)
  • Adds Solr metrics gathering to jmx-metrics (#204)
  • Add Hadoop Monitoring (#210)
  • Add Hbase Support (#211)
  • Update Kafka JMX Script (#216)
  • Fixes solr JMX metrics to use all possible MBeans instead of only first (#223)
  • WildFly Monitoring (#224)
  • Updates Solr cache size metric to point to new attribute to measure byte size (#225)
  • Updates jmx-metrics WildFly integration to point to integer attributes for some metrics (#232)
  • Update file total metric (#234)

Version 1.10.0 (2022-01-18)

All components updated to target OpenTelemetry SDK 1.10.0.

JMX metrics

  • Add multi attribute support (#137)
  • Add support for Tomcat (#155)
  • Change metric to Gauge (#194)
  • Remove manual exporter flush (#190)

Maven extension

  • Support Maven parallel builds (#161)
  • Capture details on mojo goal executions: deploy:deploy, spring-boot:build-image, jib:build , snyk:test, snyk:monitor (#146)
  • Fix lifecycle to support the Maven daemon (#169)
  • Fix service.name attribute overwrite (#184)
  • Fix default service.name + simplify configuration using Otel AutoConfig SDK 1.10 ResourceProvider SPI improvements (enable specifying the classloader making it compatible with Maven Plexus) (#187)
  • Add Tracer instrumentationVersion (ie otel.library.version) (#191)
  • Reduce the cardinality of mojo span names (#192)

Samplers

  • Rename contrib-samplers to samplers (#185)

Version 1.9.0 (2021-12-03)

All components updated to target OpenTelemetry SDK 1.9.1.

Maven extension

  • Use Auto Configure Otel SDK Builder (#132)

AWS X-Ray

  • Use OkHttp for xray sampling requests (#135)
  • Use service.name resource attribute instead of span name for service (#138)
  • X-Ray Sampler: Match rule's HTTP path against http.url attribute if t (#141)

JFR streaming

  • Tidy up jfr-streaming (#127)
  • Fix units for some metrics (#140)

Version 1.8.0 - Skipped

Skipped to stay in sync with other OpenTelemetry Java repositories.

Version 1.7.0 (2021-10-29)

All components updated to target OpenTelemetry SDK 1.7.0.

Disruptor span processor - New 🌟

Moved from SDK repo.

JFR streaming - New 🌟

Listens for JFR events (using the Streaming API) and converts them to OpenTelemetry metrics.

Runtime attach - New 🌟

Allows programmatic attach of Javaagent.

JMX metrics

  • Update Cassandra units for latency counters (#111)
  • Update cassandra counters to be non-monotonic where appropriate (#113)
  • Update cassandra jmx metrics script to combine similar metrics into labelled metric (#118)

Maven extension

  • Fix failure to load the extension declaring it in pom.xml (#86)
  • Fix exception if OTLP exporter is not configured properly (#93).
  • Support disabling the creation of mojo execution spans (#108)
  • Use the OpenTelemetry SDK Autoconfigure extension to support more configuration setting. All the settings of the OTLP exporter are supported. (#112)

Version 1.6.0 (2021-09-22)

All components updated to target OpenTelemetry SDK 1.6.0.

Maven extension - New 🌟

This extension can be registered in a Maven build to trace different build steps, for example project build and Maven plugin executions.

Version 1.5.0 (2021-09-21)

All components updated to target OpenTelemetry SDK 1.5.0.

JMX metrics

  • Due to updating to OpenTelemetry SDK 1.5.0, many of the APIs presented for configuration have been changed so you will need to update any Groovy config scripts to match.
    • *ValueRecorder has been replaced with *Histogram
    • *Sum have been replaced with *Counter
    • *Observer have been replaced with *Callback and do not return any object anymore

Version 1.4.0 (2021-08-13)

All components updated to target OpenTelemetry SDK 1.4.0.

AWS X-Ray - New 🌟

This library contains OTel extensions for use with AWS X-Ray.

JMX Metrics

  • Because of numerous backwards incompatible changes in the OpenTelemetry Metrics data model, you will want to make sure you are running the latest version of the OpenTelemetry collector. Older versions will likely not process metrics correctly.

Version 1.0.0-alpha (2021-06-02)

JMX metrics - New 🌟

  • Adopt OpenTelemetry 1.0.0(-alpha) dependencies (#32)
    • Update JMX Metric Gatherer to use 1.0.0(-alpha) proto, API, SDK, and exporters.
    • Update JMX Metric Gatherer to use Autoconfigure SDK extension properties*
  • JMX Metric Gatherer - Handle missing MBean attributes without failing (#39) - Thanks to @dehaansa.