Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stdout traceexporter to show scope attributes #1747

Merged
merged 9 commits into from
May 14, 2024
1 change: 1 addition & 0 deletions opentelemetry-stdout/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

### Changed

- TraceExporter fixed to print InstrumentationScope's attributes.
- Fix StatusCode in stdout exporter [#1454](https://github.com/open-telemetry/opentelemetry-rust/pull/1454)
- Add missing event timestamps [#1391](https://github.com/open-telemetry/opentelemetry-rust/pull/1391)
- Adjusted `chrono` features to reduce number of transitive dependencies. [#1569](https://github.com/open-telemetry/opentelemetry-rust/pull/1569)
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-stdout/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
Scope {
name: value.name,
version: value.version,
attributes: Vec::new(),
attributes: value.attributes.into_iter().map(Into::into).collect(),

Check warning on line 237 in opentelemetry-stdout/src/common.rs

View check run for this annotation

Codecov / codecov/patch

opentelemetry-stdout/src/common.rs#L237

Added line #L237 was not covered by tests
dropped_attributes_count: 0,
}
}
Expand Down
Loading