Skip to content

Commit 102a03a

Browse files
authored
Prepare for 1.24.0 (#5278)
* Prepare changelog for 1.24.0 release * Add missing since annotations
1 parent 2babc69 commit 102a03a

File tree

4 files changed

+65
-2
lines changed

4 files changed

+65
-2
lines changed

CHANGELOG.md

+53
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,59 @@
22

33
## Unreleased
44

5+
### SDK
6+
7+
#### Metrics
8+
9+
* Optimize DefaultSynchronousMetricStorage iteration to reduce allocations
10+
([#5183](https://github.com/open-telemetry/opentelemetry-java/pull/5183))
11+
* Avoid exemplar allocations if there are no measurements
12+
([#5182](https://github.com/open-telemetry/opentelemetry-java/pull/5182))
13+
* Remove boxed primitives from aggregations to reduce allocations
14+
([#5184](https://github.com/open-telemetry/opentelemetry-java/pull/5184))
15+
* Stop ignoring long measurements in HistogramExemplarReservoir
16+
([#5216](https://github.com/open-telemetry/opentelemetry-java/pull/5216))
17+
* Remove validations for noop instrument names and units
18+
([#5146](https://github.com/open-telemetry/opentelemetry-java/pull/5146))
19+
* Allow views to select on instrument unit
20+
([#5255](https://github.com/open-telemetry/opentelemetry-java/pull/5255))
21+
22+
#### Exporter
23+
24+
* Add (internal) TlsConfigHelper for additional TLS configurability
25+
([#5246](https://github.com/open-telemetry/opentelemetry-java/pull/5246))
26+
27+
#### SDK Extensions
28+
29+
* Introduce mTLS support for JaegerRemoteSamplerBuilder (#5209)
30+
([#5248](https://github.com/open-telemetry/opentelemetry-java/pull/5248))
31+
32+
### OpenTracing Shim
33+
34+
* OpenTracing Shim: Update Tracer.close()
35+
([#5151](https://github.com/open-telemetry/opentelemetry-java/pull/5151))
36+
37+
* Update version to 1.24.0
38+
([#5198](https://github.com/open-telemetry/opentelemetry-java/pull/5198))
39+
* Post release 1.23.0
40+
([#5202](https://github.com/open-telemetry/opentelemetry-java/pull/5202))
41+
42+
### OpenCensus Shim
43+
44+
* Addresses opencensus-shim trace issues under otel javaagent
45+
([#4900](https://github.com/open-telemetry/opentelemetry-java/pull/4900))
46+
47+
### Project tooling
48+
49+
* Cleanup readmes
50+
([#5263](https://github.com/open-telemetry/opentelemetry-java/pull/5263))
51+
* Upgrade to gradle 8.0.1
52+
([#5256](https://github.com/open-telemetry/opentelemetry-java/pull/5256))
53+
* Fixed example resource provider classname.
54+
([#5235](https://github.com/open-telemetry/opentelemetry-java/pull/5235))
55+
* Fix case of bug label in open issue workflow
56+
([#5268](https://github.com/open-telemetry/opentelemetry-java/pull/5268))
57+
558
## Version 1.23.1 (2023-02-15)
659

760
* Fix bug that broke `AutoConfiguredOpenTelemetrySdk`'s shutdown hook.

sdk-extensions/jaeger-remote-sampler/src/main/java/io/opentelemetry/sdk/extension/trace/jaeger/sampler/JaegerRemoteSamplerBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public JaegerRemoteSamplerBuilder setTrustedCertificates(byte[] trustedCertifica
6868
/**
6969
* Sets the client key and the certificate chain to use for verifying client when TLS is enabled.
7070
* The key must be PKCS8, and both must be in PEM format.
71+
*
72+
* @since 1.24.0
7173
*/
7274
public JaegerRemoteSamplerBuilder setClientTls(byte[] privateKeyPem, byte[] certificatePem) {
7375
delegate.setClientTls(privateKeyPem, certificatePem);

sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/InstrumentSelector.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ static InstrumentSelector create(
6060
@Nullable
6161
public abstract String getInstrumentName();
6262

63-
/** Returns the selected instrument unit, or null if this selects all instrument units. */
63+
/**
64+
* Returns the selected instrument unit, or null if this selects all instrument units.
65+
*
66+
* @since 1.24.0
67+
*/
6468
@Nullable
6569
public abstract String getInstrumentUnit();
6670

sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/InstrumentSelectorBuilder.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ public InstrumentSelectorBuilder setName(String name) {
5050
return this;
5151
}
5252

53-
/** Select instruments with the given {@code unit}. */
53+
/**
54+
* Select instruments with the given {@code unit}.
55+
*
56+
* @since 1.24.0
57+
*/
5458
public InstrumentSelectorBuilder setUnit(String unit) {
5559
requireNonNull(unit, "unit");
5660
this.instrumentUnit = unit;

0 commit comments

Comments
 (0)