Skip to content

Commit

Permalink
Prepare 0.26.0 release, update Metrics API to Beta (#2160)
Browse files Browse the repository at this point in the history
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
  • Loading branch information
cijothomas and lalitb authored Oct 1, 2024
1 parent 167baf8 commit 21fc16c
Show file tree
Hide file tree
Showing 23 changed files with 85 additions and 31 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ observability tools.
| Logs-SDK | Beta |
| Logs-OTLP Exporter | Beta |
| Logs-Appender-Tracing | Beta |
| Metrics-API | Alpha |
| Metrics-API | Beta |
| Metrics-SDK | Alpha |
| Metrics-OTLP Exporter | Alpha |
| Traces-API | Beta |
Expand Down
4 changes: 4 additions & 0 deletions opentelemetry-appender-log/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## vNext

## v0.26.0
Released 2024-Sep-30
- Update `opentelemetry` dependency version to 0.26

## v0.25.0

- Update `opentelemetry` dependency version to 0.25
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-appender-log/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-appender-log"
version = "0.25.0"
version = "0.26.0"
description = "An OpenTelemetry appender for the log crate"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-appender-log"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-appender-log"
Expand All @@ -11,7 +11,7 @@ rust-version = "1.65"
edition = "2021"

[dependencies]
opentelemetry = { version = "0.25", path = "../opentelemetry", features = ["logs"]}
opentelemetry = { version = "0.26", path = "../opentelemetry", features = ["logs"]}
log = { workspace = true, features = ["kv", "std"]}
serde = { workspace = true, optional = true, features = ["std"] }

Expand Down
5 changes: 4 additions & 1 deletion opentelemetry-appender-tracing/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

## vNext

- [2101](https://github.com/open-telemetry/opentelemetry-rust/pull/2101) The `log` events emitted via the `tracing` pipeline using the `log-tracing` crate no longer include the target metadata as attributes. Exporters or backends that rely on this attribute should now access the target directly from the `LogRecord::target` field.
## v0.26.0
Released 2024-Sep-30

- Update `opentelemetry` dependency version to 0.26
- [2101](https://github.com/open-telemetry/opentelemetry-rust/pull/2101) The `log` events emitted via the `tracing` pipeline using the `log-tracing` crate no longer include the target metadata as attributes. Exporters or backends that rely on this attribute should now access the target directly from the `LogRecord::target` field.

## v0.25.0

Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-appender-tracing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-appender-tracing"
version = "0.25.0"
version = "0.26.0"
edition = "2021"
description = "An OpenTelemetry log appender for the tracing crate"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-appender-tracing"
Expand All @@ -12,7 +12,7 @@ rust-version = "1.65"

[dependencies]
log = { workspace = true, optional = true }
opentelemetry = { version = "0.25", path = "../opentelemetry", features = ["logs"] }
opentelemetry = { version = "0.26", path = "../opentelemetry", features = ["logs"] }
tracing = { workspace = true, features = ["std"]}
tracing-core = { workspace = true }
tracing-log = { version = "0.2", optional = true }
Expand Down
5 changes: 5 additions & 0 deletions opentelemetry-http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## vNext

## v0.26.0
Released 2024-Sep-30

- Update `opentelemetry` dependency version to 0.26

## v0.25.0

- Update `opentelemetry` dependency version to 0.25
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-http"
version = "0.25.0"
version = "0.26.0"
description = "Helper implementations for sending HTTP requests. Uses include propagating and extracting context over http, exporting telemetry, requesting sampling strategies."
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
Expand All @@ -21,6 +21,6 @@ http = { workspace = true }
http-body-util = { workspace = true, optional = true }
hyper = { workspace = true, optional = true }
hyper-util = { workspace = true, features = ["client-legacy", "http2"], optional = true }
opentelemetry = { version = "0.25", path = "../opentelemetry", features = ["trace"] }
opentelemetry = { version = "0.26", path = "../opentelemetry", features = ["trace"] }
reqwest = { workspace = true, features = ["blocking"], optional = true }
tokio = { workspace = true, features = ["time"], optional = true }
5 changes: 5 additions & 0 deletions opentelemetry-jaeger-propagator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## vNext

## v0.26.0
Released 2024-Sep-30

- Update `opentelemetry` dependency version to 0.26

## v0.25.0

- Update `opentelemetry` dependency version to 0.25
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-jaeger-propagator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-jaeger-propagator"
version = "0.25.0"
version = "0.26.0"
description = "Jaeger propagator for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-jaeger-propagator"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-jaeger-propagator"
Expand All @@ -20,7 +20,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
opentelemetry = { version = "0.25", default-features = false, features = [
opentelemetry = { version = "0.26", default-features = false, features = [
"trace",
], path = "../opentelemetry" }

Expand Down
8 changes: 8 additions & 0 deletions opentelemetry-otlp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog

## vNext

## v0.26.0
Released 2024-Sep-30

- Update `opentelemetry` dependency version to 0.26
- Update `opentelemetry_sdk` dependency version to 0.26
- Update `opentelemetry-http` dependency version to 0.26
- Update `opentelemetry-proto` dependency version to 0.26
- Bump MSRV to 1.71.1 [2140](https://github.com/open-telemetry/opentelemetry-rust/pull/2140)

## v0.25.0
Expand Down
10 changes: 5 additions & 5 deletions opentelemetry-otlp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-otlp"
version = "0.25.0"
version = "0.26.0"
description = "Exporter for the OpenTelemetry Collector"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp"
Expand Down Expand Up @@ -28,10 +28,10 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
async-trait = { workspace = true }
futures-core = { workspace = true }
opentelemetry = { version = "0.25", default-features = false, path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.25", default-features = false, path = "../opentelemetry-sdk" }
opentelemetry-http = { version = "0.25", path = "../opentelemetry-http", optional = true }
opentelemetry-proto = { version = "0.25", path = "../opentelemetry-proto", default-features = false }
opentelemetry = { version = "0.26", default-features = false, path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.26", default-features = false, path = "../opentelemetry-sdk" }
opentelemetry-http = { version = "0.26", path = "../opentelemetry-http", optional = true }
opentelemetry-proto = { version = "0.26", path = "../opentelemetry-proto", default-features = false }
tracing = {workspace = true, optional = true}

prost = { workspace = true, optional = true }
Expand Down
5 changes: 5 additions & 0 deletions opentelemetry-proto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## vNext

## v0.26.0
Released 2024-Sep-30

- Update `opentelemetry` dependency version to 0.26
- Update `opentelemetry_sdk` dependency version to 0.26
- Fix JSON serialization of `metrics::Exemplar` and `trace::span::Link` [#2069](https://github.com/open-telemetry/opentelemetry-rust/pull/2069)
- Bump MSRV to 1.71.1 [2140](https://github.com/open-telemetry/opentelemetry-rust/pull/2140)

Expand Down
6 changes: 3 additions & 3 deletions opentelemetry-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-proto"
version = "0.25.0"
version = "0.26.0"
description = "Protobuf generated files and transformations."
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-proto"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-proto"
Expand Down Expand Up @@ -51,8 +51,8 @@ populate-logs-event-name = []
[dependencies]
tonic = { workspace = true, optional = true, features = ["codegen", "prost"] }
prost = { workspace = true, optional = true }
opentelemetry = { version = "0.25", default-features = false, path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.25", default-features = false, path = "../opentelemetry-sdk" }
opentelemetry = { version = "0.26", default-features = false, path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.26", default-features = false, path = "../opentelemetry-sdk" }
schemars = { version = "0.8", optional = true }
serde = { workspace = true, optional = true, features = ["serde_derive"] }
hex = { version = "0.4.3", optional = true }
Expand Down
4 changes: 4 additions & 0 deletions opentelemetry-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## vNext

## v0.26.0
Released 2024-Sep-30

- Update `opentelemetry` dependency version to 0.26
- **BREAKING** Public API changes:
- **Removed**: `SdkMeter` struct [#2113](https://github.com/open-telemetry/opentelemetry-rust/pull/2113). This API is only meant for internal use.
- **Removed**: `AggregationSelector` trait and `DefaultAggregationSelector` struct [#2085](https://github.com/open-telemetry/opentelemetry-rust/pull/2085). This API was unnecessary. The feature to customize aggregation for instruments should be offered by `Views` API.
Expand Down
6 changes: 3 additions & 3 deletions opentelemetry-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry_sdk"
version = "0.25.0"
version = "0.26.0"
description = "The SDK for the OpenTelemetry metrics collection and distributed tracing framework"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
Expand All @@ -10,8 +10,8 @@ edition = "2021"
rust-version = "1.65"

[dependencies]
opentelemetry = { version = "0.25", path = "../opentelemetry/" }
opentelemetry-http = { version = "0.25", path = "../opentelemetry-http", optional = true }
opentelemetry = { version = "0.26", path = "../opentelemetry/" }
opentelemetry-http = { version = "0.26", path = "../opentelemetry-http", optional = true }
async-std = { workspace = true, features = ["unstable"], optional = true }
async-trait = { workspace = true, optional = true }
futures-channel = "0.3"
Expand Down
3 changes: 3 additions & 0 deletions opentelemetry-semantic-conventions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## vNext

## v0.26.0
Released 2024-Sep-30

### Changed

- Starting with this version, this crate will use Weaver for the generation of
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-semantic-conventions/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-semantic-conventions"
version = "0.25.0"
version = "0.26.0"
description = "Semantic conventions for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-semantic-conventions"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-semantic-conventions"
Expand Down
6 changes: 6 additions & 0 deletions opentelemetry-stdout/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## vNext

## v0.26.0
Released 2024-Sep-30

- Update `opentelemetry` dependency version to 0.26
- Update `opentelemetry_sdk` dependency version to 0.26

## v0.25.0

- Update `opentelemetry` dependency version to 0.25
Expand Down
6 changes: 3 additions & 3 deletions opentelemetry-stdout/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-stdout"
version = "0.25.0"
version = "0.26.0"
description = "An OpenTelemetry exporter for stdout"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-stdout"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-stdout"
Expand Down Expand Up @@ -31,8 +31,8 @@ async-trait = { workspace = true, optional = true }
chrono = { version = "0.4.34", default-features = false, features = ["now"] }
thiserror = { workspace = true, optional = true }
futures-util = { workspace = true, optional = true }
opentelemetry = { version = "0.25", path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.25", path = "../opentelemetry-sdk" }
opentelemetry = { version = "0.26", path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.26", path = "../opentelemetry-sdk" }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
ordered-float = { workspace = true }
Expand Down
8 changes: 8 additions & 0 deletions opentelemetry-zipkin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## vNext

## v0.26.0
Released 2024-Sep-30

- Update `opentelemetry` dependency version to 0.26
- Update `opentelemetry_sdk` dependency version to 0.26
- Update `opentelemetry-http` dependency version to 0.26
- Update `opentelemetry-semantic-conventions` dependency version to 0.26

## v0.25.0

- Update `opentelemetry` dependency version to 0.25
Expand Down
10 changes: 5 additions & 5 deletions opentelemetry-zipkin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-zipkin"
version = "0.25.0"
version = "0.26.0"
description = "Zipkin exporter for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-zipkin"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-zipkin"
Expand Down Expand Up @@ -28,10 +28,10 @@ reqwest-rustls = ["reqwest", "reqwest/rustls-tls-native-roots"]
[dependencies]
async-trait = { workspace = true }
once_cell = { workspace = true }
opentelemetry = { version = "0.25", path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.25", path = "../opentelemetry-sdk", features = ["trace"] }
opentelemetry-http = { version = "0.25", path = "../opentelemetry-http" }
opentelemetry-semantic-conventions = { version = "0.25", path = "../opentelemetry-semantic-conventions" }
opentelemetry = { version = "0.26", path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.26", path = "../opentelemetry-sdk", features = ["trace"] }
opentelemetry-http = { version = "0.26", path = "../opentelemetry-http" }
opentelemetry-semantic-conventions = { version = "0.26", path = "../opentelemetry-semantic-conventions" }
serde_json = { workspace = true }
serde = { workspace = true, features = ["derive"] }
typed-builder = "0.18"
Expand Down
3 changes: 3 additions & 0 deletions opentelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## vNext

## v0.26.0
Released 2024-Sep-30

- **BREAKING** Public API changes:
- **Removed**: `Key.bool()`, `Key.i64()`, `Key.f64()`, `Key.string()`, `Key.array()` [#2090](https://github.com/open-telemetry/opentelemetry-rust/issues/2090). These APIs were redundant as they didn't offer any additional functionality. The existing `KeyValue::new()` API covers all the scenarios offered by these APIs.

Expand Down
2 changes: 1 addition & 1 deletion opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry"
version = "0.25.0"
version = "0.26.0"
description = "OpenTelemetry API for Rust"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
Expand Down

0 comments on commit 21fc16c

Please sign in to comment.