Skip to content

Commit

Permalink
Merge branch 'main' into bug/1209-fix-upgrade-performance
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Jan 4, 2024
2 parents 731901c + 7eb4c27 commit 85ef890
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions opentelemetry-sdk/CHANGELOG.md
Expand Up @@ -29,6 +29,8 @@

- [#1375](https://github.com/open-telemetry/opentelemetry-rust/pull/1375/) Fix metric collections during PeriodicReader shutdown

## v0.21.2

### Fixed

- Fix delta aggregation metric reuse. (#1434)
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-sdk/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry_sdk"
version = "0.21.1"
version = "0.21.2"
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 Down
4 changes: 2 additions & 2 deletions opentelemetry-stdout/src/trace/transform.rs
Expand Up @@ -217,11 +217,11 @@ impl From<opentelemetry::trace::Status> for Status {
},
opentelemetry::trace::Status::Error { description } => Status {
message: Some(description),
code: 1,
code: 2,
},
opentelemetry::trace::Status::Ok => Status {
message: None,
code: 2,
code: 1,
},
}
}
Expand Down

0 comments on commit 85ef890

Please sign in to comment.