Skip to content

Commit

Permalink
publish crates for otel v0.26 (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb authored Oct 4, 2024
1 parent 7c131c4 commit dc6492d
Show file tree
Hide file tree
Showing 19 changed files with 79 additions and 23 deletions.
8 changes: 8 additions & 0 deletions opentelemetry-aws/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## vNext

## v0.14.0

### Changed

- Bump opentelemetry and opentelemetry_sdk versions to 0.26.0

## v0.13.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-aws/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-aws"
version = "0.13.0"
version = "0.14.0"
description = "AWS exporters and propagators for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-aws"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-aws"
Expand Down
7 changes: 7 additions & 0 deletions opentelemetry-contrib/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## vNext

## v0.18.0

### Changed

- Bump opentelemetry and opentelemetry_sdk versions to 0.26
- Bump opentelemetry-semantic-conventions version to 0.26

## v0.17.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-contrib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-contrib"
version = "0.17.0"
version = "0.18.0"
description = "Rust contrib repo for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-contrib"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-contrib"
Expand Down
6 changes: 6 additions & 0 deletions opentelemetry-etw-logs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## vNext

## v0.5.0

### Changed

- Bump opentelemetry and opentelemetry_sdk versions to 0.26

## v0.4.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-etw-logs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "opentelemetry-etw-logs"
description = "OpenTelemetry logs exporter to ETW (Event Tracing for Windows)"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-etw-logs"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-etw-logs"
Expand Down
8 changes: 8 additions & 0 deletions opentelemetry-etw-metrics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## vNext

## v0.5.0

### Changed

- Bump opentelemetry and opentelemetry_sdk versions to 0.26
- Bump opentelemetry-proto version to 0.26
- Bump rust msrv to v1.71.1

## v0.4.0

- Improved logging when ETW write fails due to size limit being hit.
Expand Down
10 changes: 5 additions & 5 deletions opentelemetry-etw-metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[package]
name = "opentelemetry-etw-metrics"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
description = "OpenTelemetry metrics exporter to ETW (Event Tracing for Windows)"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-etw-metrics"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-etw-metrics"
readme = "README.md"
keywords = ["opentelemetry", "metrics", "etw"]
license = "Apache-2.0"
rust-version = "1.65"
rust-version = "1.71.1"

[dependencies]
opentelemetry = { version = "0.25", features = ["metrics"] }
opentelemetry_sdk = { version = "0.25", features = ["metrics", "rt-tokio"] }
opentelemetry-proto = { version = "0.25", features = ["gen-tonic", "metrics"] }
opentelemetry = { workspace = true, features = ["metrics"] }
opentelemetry_sdk = { workspace = true, features = ["metrics", "rt-tokio"] }
opentelemetry-proto = { workspace = true, features = ["gen-tonic", "metrics"] }
async-trait = "0.1"
prost = "0.13"
tracelogging = "1.2.1"
Expand Down
10 changes: 2 additions & 8 deletions opentelemetry-etw-metrics/src/exporter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use opentelemetry_sdk::metrics::{
ScopeMetrics, Temporality,
},
exporter::PushMetricsExporter,
reader::{AggregationSelector, DefaultAggregationSelector, TemporalitySelector},
Aggregation, InstrumentKind,
reader::TemporalitySelector,
InstrumentKind,
};
use prost::Message;

Expand Down Expand Up @@ -51,12 +51,6 @@ impl TemporalitySelector for MetricsExporter {
}
}

impl AggregationSelector for MetricsExporter {
fn aggregation(&self, kind: InstrumentKind) -> Aggregation {
DefaultAggregationSelector::new().aggregation(kind)
}
}

impl Debug for MetricsExporter {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
f.write_str("ETW metrics exporter")
Expand Down
7 changes: 7 additions & 0 deletions opentelemetry-resource-detectors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## vNext

## v0.5.0

### Changed

- Bump opentelemetry and opentelemetry_sdk versions to 0.26
- Bump opentelemetry-semantic-conventions version to 0.26

## v0.4.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-resource-detectors/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-resource-detectors"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
description = "A collection of community supported resource detectors for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-resource-detectors"
Expand Down
8 changes: 7 additions & 1 deletion opentelemetry-stackdriver/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

## vNext

## v0.23.0

### Changed

- Update to opentelemetry v0.26.0, opentelemetry_sdk v0.26.0, opentelemetry-semantic-conventions v0.26.0

## v0.22.0

### Added
### Changed

- Update to opentelemetry v0.25.0, opentelemetry_sdk v0.25.0, opentelemetry-semantic-conventions v0.25.0
- Added support for `MonitoredResource::CloudRunJob` [#100](https://github.com/open-telemetry/opentelemetry-rust-contrib/issues/100)
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-stackdriver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-stackdriver"
version = "0.22.0"
version = "0.23.0"
description = "A Rust opentelemetry exporter that uploads traces to Google Stackdriver trace."
documentation = "https://docs.rs/opentelemetry-stackdriver/"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib"
Expand Down
6 changes: 6 additions & 0 deletions opentelemetry-user-events-logs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## vNext

## v0.7.0

### Changed

- Bump opentelemetry and opentelemetry_sdk versions to 0.26

## v0.6.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-user-events-logs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "opentelemetry-user-events-logs"
description = "OpenTelemetry-Rust exporter to userevents"
version = "0.6.0"
version = "0.7.0"
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-user-events-logs"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-user-events-logs"
Expand Down
8 changes: 8 additions & 0 deletions opentelemetry-user-events-metrics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## vNext

## v0.7.0

### Changed

- Bump opentelemetry and opentelemetry_sdk versions to 0.26,
opentelemetry-proto version to 0.26.
- Bump msrv to 1.71.1

## v0.6.0

### Changed
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-user-events-metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "opentelemetry-user-events-metrics"
version = "0.6.0"
version = "0.7.0"
description = "OpenTelemetry metrics exporter to user events"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-user-events-metrics"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-user-events-metrics"
readme = "README.md"
keywords = ["opentelemetry", "metrics", "user-events"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.65"
rust-version = "1.71.1"

[dependencies]
opentelemetry = { workspace = true, features = ["metrics"] }
Expand Down
6 changes: 6 additions & 0 deletions opentelemetry-zpages/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## vNext

## v0.11.0

### Changed

- Bump opentelemetry version to 0.26, opentelemetry_sdk version to 0.26

## v0.10.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-zpages/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-zpages"
version = "0.10.0"
version = "0.11.0"
description = "ZPages implementation for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-zpages"
repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib/tree/main/opentelemetry-zpages"
Expand Down

0 comments on commit dc6492d

Please sign in to comment.