Skip to content

Commit

Permalink
Prepare 1.26.0 (#5424)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg authored May 5, 2023
1 parent 030d966 commit 37b6fc9
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 3 deletions.
89 changes: 88 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,93 @@

## Unreleased

This release represents the release candidate ("RC") release for the Logs Bridge API / SDK. In the
next release (1.27.0), `opentelemetry-api-logs` will be merged into `opentelemetry-api`,
`opentelemetry-sdk-logs` will be marked as stable, `opentelemetry-exporter-otlp-logs` will be
merged into `opentelemetry-exporter-otlp`, `opentelemetry-sdk-logs-testing` will be merged
into `opentelemetry-sdk-testing`, `opentelemetry-sdk-extension-autoconfigure` will enable `otlp`
log exporter by default (i.e. `otel.logs.exporter=otlp`). For more details, see tracking
issue [#5340](https://github.com/open-telemetry/opentelemetry-java/issues/5340). NOTE: reminder that
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md)
is _not_ meant for end users. Log appenders use the API to bridge logs from existing log
frameworks (e.g. JUL, Log4j, SLf4J, Logback) into OpenTelemetry. Users configure the Log SDK to
dictate how logs are processed and exported.

`opentelemetry-opentracing-shim` is now stable!

### SDK

* Create OtelVersion class at build time which is used to resolve artifact version in `Resource`.
([#5365](https://github.com/open-telemetry/opentelemetry-java/pull/5365))

#### Metrics

* Add prototype histogram advice API (i.e. Hints).
([#5217](https://github.com/open-telemetry/opentelemetry-java/pull/5217))

#### Logs

* Add LogRecord observed timestamp field.
([#5370](https://github.com/open-telemetry/opentelemetry-java/pull/5370))
* Remove log record timestamp default.
([#5374](https://github.com/open-telemetry/opentelemetry-java/pull/5374))
* Align BatchLogRecordProcessor defaults with specification.
([#5364](https://github.com/open-telemetry/opentelemetry-java/pull/5364))
* Rename setEpoch to setTimestamp.
([#5368](https://github.com/open-telemetry/opentelemetry-java/pull/5368))
* Log SDK cleanup. Move `InMemoryLogRecordExporter` to `opentelemetry-sdk-logs-testing`.
Rename `InMemoryLogRecordExporter#getFinishedLogItems` to `getFinishedLogRecordItems`.
Move `SdkEventEmitterProvder` to internal package.
([#5368](https://github.com/open-telemetry/opentelemetry-java/pull/5368))

### Exporters

* Add scaffolding for low level exporter TLS API.
([#5362](https://github.com/open-telemetry/opentelemetry-java/pull/5362))
* Add new low level TLS APIs on OTLP and Jaeger gRPC exporter builders.
([#5280](https://github.com/open-telemetry/opentelemetry-java/pull/5280),
[#5422](https://github.com/open-telemetry/opentelemetry-java/pull/5422))
* OTLP LogRecord exporters serialize observed timestamp.
([#5382](https://github.com/open-telemetry/opentelemetry-java/pull/5382))
* Update prometheus test to reflect new collector behavior.
([#5417](https://github.com/open-telemetry/opentelemetry-java/pull/5417))
* Prometheus exporter checks metrics name to prevent add duplicated _total suffix.
([#5308](https://github.com/open-telemetry/opentelemetry-java/pull/5308))
* Add additional OTLP test for authenticator.
([#5391](https://github.com/open-telemetry/opentelemetry-java/pull/5391))

### OpenTracing Shim

* Mark opentracing-shim as stable.
([#5371](https://github.com/open-telemetry/opentelemetry-java/pull/5371))

### SDK Extensions

* Fixes jaeger remote sampler service strategies bug resolving service name.
([#5418](https://github.com/open-telemetry/opentelemetry-java/pull/5418))
* Fix flaky JaegerRemoteSamplerGrpcNettyTest.
([#5385](https://github.com/open-telemetry/opentelemetry-java/pull/5385))
* Add new log level TLS APIs on JaegerRemoteSamplerBuilder.
([#5422](https://github.com/open-telemetry/opentelemetry-java/pull/5422))
* Fix a parameter name typo in autoconfigure-spi module.
([#5409](https://github.com/open-telemetry/opentelemetry-java/pull/5409))

### Semantic Conventinos

* Add missing links to deprecated constants in SemanticAttributes.
([#5406](https://github.com/open-telemetry/opentelemetry-java/pull/5406))

### Project Tooling

* Update stale workflow.
([#5381](https://github.com/open-telemetry/opentelemetry-java/pull/5381))
* Skip OWASP dependencyCheck on test modules.
([#5383](https://github.com/open-telemetry/opentelemetry-java/pull/5383))
* Skip OWASP dependencyCheck on jmh tasks.
([#5384](https://github.com/open-telemetry/opentelemetry-java/pull/5384))
* Drop create website pull request release step
([#5361](https://github.com/open-telemetry/opentelemetry-java/pull/5361))

## Version 1.25.0 (2023-04-07)

### API
Expand Down Expand Up @@ -49,7 +136,7 @@
* Adds version to otel tracer instrumentation scope
([#5336](https://github.com/open-telemetry/opentelemetry-java/pull/5336))

## OpenCensus Shim
### OpenCensus Shim

* Adds version to otel tracer instrumentation scope
([#5336](https://github.com/open-telemetry/opentelemetry-java/pull/5336))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ dependency as follows, replacing `{{artifact-id}}` with the value from the "Arti
| Component | Description | Artifact ID | Version | Javadoc |
|----------------------------------------|--------------------------------------------------------------|----------------------------------|-------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [OpenCensus Shim](./opencensus-shim) | Bridge opencensus metrics into the OpenTelemetry metrics SDK | `opentelemetry-opencensus-shim` | <!--VERSION_UNSTABLE-->1.25.0-alpha<!--/VERSION_UNSTABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-opencensus-shim.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-opencensus-shim) |
| [OpenTracing Shim](./opentracing-shim) | Bridge opentracing spans into the OpenTelemetry trace API | `opentelemetry-opentracing-shim` | <!--VERSION_UNSTABLE-->1.25.0-alpha<!--/VERSION_UNSTABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-opentracing-shim.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-opentracing-shim) |
| [OpenTracing Shim](./opentracing-shim) | Bridge opentracing spans into the OpenTelemetry trace API | `opentelemetry-opentracing-shim` | <!--VERSION_STABLE-->1.25.0-alpha<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-opentracing-shim.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-opentracing-shim) |

## Contributing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public OtlpHttpMetricExporterBuilder setClientTls(byte[] privateKeyPem, byte[] c
/**
* Sets the "bring-your-own" SSLContext for use with TLS. Users should call this _or_ set raw
* certificate bytes, but not both.
*
* @since 1.26.0
*/
public OtlpHttpMetricExporterBuilder setSslContext(
SSLContext sslContext, X509TrustManager trustManager) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ public OtlpHttpSpanExporterBuilder setClientTls(byte[] privateKeyPem, byte[] cer
/**
* Sets the "bring-your-own" SSLContext for use with TLS. Users should call this _or_ set raw
* certificate bytes, but not both.
*
* @since 1.26.0
*/
public OtlpHttpSpanExporterBuilder setSslContext(
SSLContext sslContext, X509TrustManager trustManager) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ public OtlpGrpcMetricExporterBuilder setClientTls(byte[] privateKeyPem, byte[] c
/**
* Sets the "bring-your-own" SSLContext for use with TLS. Users should call this _or_ set raw
* certificate bytes, but not both.
*
* @since 1.26.0
*/
public OtlpGrpcMetricExporterBuilder setSslContext(
SSLContext sslContext, X509TrustManager trustManager) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public OtlpGrpcSpanExporterBuilder setClientTls(byte[] privateKeyPem, byte[] cer
/**
* Sets the "bring-your-own" SSLContext for use with TLS. Users should call this _or_ set raw
* certificate bytes, but not both.
*
* @since 1.26.0
*/
public OtlpGrpcSpanExporterBuilder setSslContext(
SSLContext sslContext, X509TrustManager trustManager) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
/**
* Factory for creating an OpenTracing {@link io.opentracing.Tracer} that is implemented using the
* OpenTelemetry APIs.
*
* @since 1.26.0
*/
public final class OpenTracingShim {
private OpenTracingShim() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ public static InMemoryMetricReader create() {
AggregationTemporalitySelector.alwaysCumulative(), DefaultAggregationSelector.getDefault());
}

/** Returns a new {@link InMemoryMetricReader}. */
/**
* Returns a new {@link InMemoryMetricReader}.
*
* @since 1.26.0
*/
public static InMemoryMetricReader create(
AggregationTemporalitySelector aggregationTemporalitySelector,
DefaultAggregationSelector defaultAggregationSelector) {
Expand Down

0 comments on commit 37b6fc9

Please sign in to comment.