|
2 | 2 |
|
3 | 3 | ## Unreleased
|
4 | 4 |
|
| 5 | +This release is a notable release for metrics: |
| 6 | + |
| 7 | +* The base2 exponential histogram aggregation has been marked as stable. To use, configure |
| 8 | + your `MetricExporter` with a default aggregation |
| 9 | + of `Aggregation.base2ExponentialBucketHistogram()` for histogram instruments. If using OTLP |
| 10 | + exporter with autoconfigure, |
| 11 | + set `OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION=BASE2_EXPONENTIAL_BUCKET_HISTOGRAM`. |
| 12 | + If using configuring OTLP programatically, |
| 13 | + use `Otlp*MetricExporterBuilder#setDefaultAggregationSelector(DefaultAggregationSelector)`. |
| 14 | +* The metrics SDK undergone significant internal refactoring which results in reduced complexity and |
| 15 | + significantly reduced memory allocation during metric collection / export. |
| 16 | + |
| 17 | +### API |
| 18 | + |
| 19 | +#### Logs |
| 20 | + |
| 21 | +* WARNING: Split out Event API from Log API. Event API is now published in `opentelemetry-api-events`. |
| 22 | + API / SDK usage has also changed - see PR for details. |
| 23 | + ([#5049](https://github.com/open-telemetry/opentelemetry-java/pull/5049)) |
| 24 | + |
| 25 | +### SDK |
| 26 | + |
| 27 | +* Add shutdown / close to `OpenTelemetrySdk` |
| 28 | + ([#5100](https://github.com/open-telemetry/opentelemetry-java/pull/5100)) |
| 29 | + |
| 30 | +#### Metrics |
| 31 | + |
| 32 | +* Base2 exponential histogram aggregations are now stable. Add `base2ExponentialBucketHistogram()` |
| 33 | + to `Aggregation`. |
| 34 | + ([#5143](https://github.com/open-telemetry/opentelemetry-java/pull/5143)) |
| 35 | +* Promote exponential histogram data interfaces to stable package |
| 36 | + ([#5120](https://github.com/open-telemetry/opentelemetry-java/pull/5120)) |
| 37 | +* Add Base2 prefix to internal exponential histogram classes |
| 38 | + ([#5179](https://github.com/open-telemetry/opentelemetry-java/pull/5179)) |
| 39 | +* Add MaxScale config parameter to `Base2ExponentialBucketHistogram` |
| 40 | + ([#5044](https://github.com/open-telemetry/opentelemetry-java/pull/5044)) |
| 41 | +* Add close method to `MetricReader` |
| 42 | + ([#5109](https://github.com/open-telemetry/opentelemetry-java/pull/5109)) |
| 43 | +* Reuse `AggregatorHandle` with cumulative temporality to reduce allocations |
| 44 | + ([#5142](https://github.com/open-telemetry/opentelemetry-java/pull/5142)) |
| 45 | +* Delete notion of accumulation to reduce allocations |
| 46 | + ([#5154](https://github.com/open-telemetry/opentelemetry-java/pull/5154)) |
| 47 | +* Delete bound instruments |
| 48 | + ([#5157](https://github.com/open-telemetry/opentelemetry-java/pull/5157)) |
| 49 | +* Reuse aggregation handles for delta temporality to reduce allocations |
| 50 | + ([#5176](https://github.com/open-telemetry/opentelemetry-java/pull/5176)) |
| 51 | + |
| 52 | +#### Exporter |
| 53 | + |
| 54 | +* Add proper shutdown implementations for all exporters |
| 55 | + ([#5113](https://github.com/open-telemetry/opentelemetry-java/pull/5113)) |
| 56 | + |
| 57 | +#### SDK Extensions |
| 58 | + |
| 59 | +* WARNING: Remove deprecated autoconfigure exemplar filter names. Previous names `none`, `all` |
| 60 | + , `with_sampled_trace` have been removed. Use `always_off`, `always_on`, `trace_based` instead. |
| 61 | + ([#5098](https://github.com/open-telemetry/opentelemetry-java/pull/5098)) |
| 62 | +* Add autoconfigure support for "none" option for propagator value |
| 63 | + ([#5121](https://github.com/open-telemetry/opentelemetry-java/pull/5121)) |
| 64 | +* Add autoconfigure support for `parentbased_jaeger_remote` sampler |
| 65 | + ([#5123](https://github.com/open-telemetry/opentelemetry-java/pull/5123)) |
| 66 | +* Autoconfigure closes up autoconfigured resources in case of exception |
| 67 | + ([#5117](https://github.com/open-telemetry/opentelemetry-java/pull/5117)) |
| 68 | +* View file based config has switched from snakeyaml to snakeyaml-engine for YAML parsing. |
| 69 | + ([#5138](https://github.com/open-telemetry/opentelemetry-java/pull/5138)) |
| 70 | +* Fix autoconfigure resource providers property docs |
| 71 | + ([#5135](https://github.com/open-telemetry/opentelemetry-java/pull/5135)) |
| 72 | + |
| 73 | +#### Testing |
| 74 | + |
| 75 | +* WARNING: Merge `opentelemetry-sdk-metrics-testing` into `opentelemetry-sdk-testing`. Stop |
| 76 | + publishing `opentelemetry-sdk-metrics-testing`. |
| 77 | + ([#5144](https://github.com/open-telemetry/opentelemetry-java/pull/5144)) |
| 78 | +* Sort spans by start time (parents before children as tiebreaker) to avoid common causes for flaky |
| 79 | + tests |
| 80 | + ([#5026](https://github.com/open-telemetry/opentelemetry-java/pull/5026)) |
| 81 | +* Add resource assertion methods to `SpanDataAssert` and `MetricAssert` |
| 82 | + ([#5160](https://github.com/open-telemetry/opentelemetry-java/pull/5160)) |
| 83 | + |
| 84 | + |
| 85 | +### Semantic Conventions |
| 86 | + |
| 87 | +* Update semconv to 1.18.0 |
| 88 | + ([#5188](https://github.com/open-telemetry/opentelemetry-java/pull/5188)) |
| 89 | + ([#5134](https://github.com/open-telemetry/opentelemetry-java/pull/5134)) |
| 90 | + |
| 91 | +### OpenTracing Shim |
| 92 | + |
| 93 | +* Refactor to remove internal objects `BaseShimObject` and `TelemetryInfo` |
| 94 | + ([#5087](https://github.com/open-telemetry/opentelemetry-java/pull/5087)) |
| 95 | +* WARNING: Minimize public surface area of OpenTracingShim. Remove `createTracerShim()` |
| 96 | + , `createTracerShim(Tracer)`, `createTracerShim(Tracer, OpenTracingPropagators)`. |
| 97 | + Add `createTracerShim(TracerProvder,TextMapPropagator,TextMapPropagator)`. |
| 98 | + ([#5110](https://github.com/open-telemetry/opentelemetry-java/pull/5110)) |
| 99 | + |
| 100 | +### Project tooling |
| 101 | + |
| 102 | +* Add OWASP dependency check |
| 103 | + ([#5177](https://github.com/open-telemetry/opentelemetry-java/pull/5177)) |
| 104 | + |
5 | 105 | ## Version 1.22.0 (2023-01-06)
|
6 | 106 |
|
7 | 107 | ### API
|
|
0 commit comments