Skip to content

Commit eaec230

Browse files
authored
Merge branch 'main' into cijothomas/otlp-example
2 parents 46faa30 + 06d8b6c commit eaec230

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

opentelemetry-stdout/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
### Changed
88

9+
- TraceExporter fixed to print InstrumentationScope's attributes.
910
- Fix StatusCode in stdout exporter [#1454](https://github.com/open-telemetry/opentelemetry-rust/pull/1454)
1011
- Add missing event timestamps [#1391](https://github.com/open-telemetry/opentelemetry-rust/pull/1391)
1112
- Adjusted `chrono` features to reduce number of transitive dependencies. [#1569](https://github.com/open-telemetry/opentelemetry-rust/pull/1569)

opentelemetry-stdout/src/common.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ impl From<opentelemetry_sdk::Scope> for Scope {
234234
Scope {
235235
name: value.name,
236236
version: value.version,
237-
attributes: Vec::new(),
237+
attributes: value.attributes.into_iter().map(Into::into).collect(),
238238
dropped_attributes_count: 0,
239239
}
240240
}

0 commit comments

Comments
 (0)