Skip to content

Commit

Permalink
Prepare 1.31.0 (#5888)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg authored Oct 6, 2023
1 parent 92abcb8 commit bf37a4c
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 9 deletions.
60 changes: 58 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,69 @@

## Unreleased

* Update `queueSize` metric description and attribute name for `processorType`
### API

#### Incubator

* Refactor advice API to simplify usage
([#5848](https://github.com/open-telemetry/opentelemetry-java/pull/5848))

### SDK

* BatchLogRecordProcessor and BatchSpanProcessor unify `queueSize` metric
description and attribute name for `processorType`
([#5836](https://github.com/open-telemetry/opentelemetry-java/pull/5836))

#### Metrics

* Allow instrument names to contain a forward slash
([#5824](https://github.com/open-telemetry/opentelemetry-java/pull/5824))
* Memory Mode support: Adding memory mode, and implementing it for Asynchronous Instruments
([#5709](https://github.com/open-telemetry/opentelemetry-java/pull/5709),
[#5855](https://github.com/open-telemetry/opentelemetry-java/pull/5855))
* Stabilize MetricProducer, allow custom MetricReaders
([#5835](https://github.com/open-telemetry/opentelemetry-java/pull/5835))
* Drop NaN measurements to metric instruments
([#5859](https://github.com/open-telemetry/opentelemetry-java/pull/5859))
* Fix flaky MetricExporterConfigurationTest
([#5877](https://github.com/open-telemetry/opentelemetry-java/pull/5877))

#### Logs

* Add addAllAttributes() to ReadWriteLogRecord.
([#5825](https://github.com/open-telemetry/opentelemetry-java/pull/5825))

#### Exporters

* Prometheus exporter: handle colliding metric attribute keys
([#5717](https://github.com/open-telemetry/opentelemetry-java/pull/5717))

#### SDK Extensions

* File configuration ConfigurationReader handles null values as empty
([#5829](https://github.com/open-telemetry/opentelemetry-java/pull/5829))

#### Semantic conventions

* BREAKING: Stop publishing `io.opentelemetry:opentelemetry-semconv`. Please use
`io.opentelemetry.semconv:opentelemetry-semconv:1.21.0-alpha` instead, which is published
from [open-telemetry/semantic-conventions-java](https://github.com/open-telemetry/semantic-conventions-java).
The new repository is published in lockstep
with [open-telemetry/semantic-conventions](https://github.com/open-telemetry/semantic-conventions).
([#5807](https://github.com/open-telemetry/opentelemetry-java/pull/5807))

### Project Tooling

* Add Benchmark workflows
([#5842](https://github.com/open-telemetry/opentelemetry-java/pull/5842),
[#5874](https://github.com/open-telemetry/opentelemetry-java/pull/5874))
* Add clearer docs around coroutine support with an example
([#5799](https://github.com/open-telemetry/opentelemetry-java/pull/5799))

## Version 1.30.1 (2023-09-11)

* Fix autoconfigure bug creating multiple `PrometheusHttpServer` instances with same port
([#5911](https://github.com/open-telemetry/opentelemetry-java/pull/5811))
([#5811](https://github.com/open-telemetry/opentelemetry-java/pull/5811))

## Version 1.30.0 (2023-09-08)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@

package io.opentelemetry.sdk.common.export;

/** The memory semantics of the SDK. */
/**
* The memory semantics of the SDK.
*
* @since 1.31.0
*/
public enum MemoryMode {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ public interface CollectionRegistration {
/**
* Returns a noop {@link CollectionRegistration}, useful for {@link MetricReader}s to hold before
* {@link MetricReader#register(CollectionRegistration)} is called.
*
* @since 1.31.0
*/
static CollectionRegistration noop() {
return new CollectionRegistration() {
@Override
public Collection<MetricData> collectAllMetrics() {
return Collections.emptyList();
}
};
return new CollectionRegistration() {};
}

/**
Expand All @@ -38,6 +35,8 @@ public Collection<MetricData> collectAllMetrics() {
* <p>If {@link MetricReader#getMemoryMode()} is configured to {@link MemoryMode#REUSABLE_DATA} do
* not keep the result or any of its contained objects as they are to be reused to return the
* result for the next call to this method.
*
* @since 1.31.0
*/
default Collection<MetricData> collectAllMetrics() {
return Collections.emptyList();
Expand Down

0 comments on commit bf37a4c

Please sign in to comment.