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

update readmes for flame and error #695

Merged
merged 7 commits into from
May 4, 2020
Merged

update readmes for flame and error #695

merged 7 commits into from
May 4, 2020

Conversation

yaahc
Copy link
Collaborator

@yaahc yaahc commented Apr 27, 2020

No description provided.

@hawkw hawkw requested a review from davidbarsky April 27, 2020 21:29
tracing-error/README.md Outdated Show resolved Hide resolved
tracing-error/README.md Outdated Show resolved Hide resolved
Comment on lines 52 to 56
- [`InstrumentResult`] and [`InstrumentError`] extension traits, which
provide an [`in_current_span()`] method for bundling errors with a
[`SpanTrace`].
- [`ExtractSpanTrace`] extension trait, for extracting `SpanTrace`s from
behind `dyn Error` trait objects.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this needs to include all the traits enabled by the feature flag --- @davidbarsky what do you think?

yaahc and others added 2 commits April 27, 2020 15:25
Co-Authored-By: Eliza Weisman <eliza@buoyant.io>
Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me overall. I had a few last edits.

@davidbarsky, if you have a minute, would love your review on this as well.

tracing-error/README.md Outdated Show resolved Hide resolved
tracing-error/README.md Outdated Show resolved Hide resolved
tracing-error/README.md Outdated Show resolved Hide resolved
tracing-flame/README.md Outdated Show resolved Hide resolved
# tracing-flame

A Tracing [Layer][`FlameLayer`] for generating a folded stack trace for generating flamegraphs
and flamecharts with [`inferno`]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't strictly inferno-specific; it emits the perf output format, right? so technically any flamegraph tool that expects that can use this crate's output.

i'm not sure if this is worth stating here though, for the sake of brevity...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think its the same format that perf emits, my understanding is that with perf normally you take the output and pass it through another script that folds the stack traces, and then you pass the folded representation into the flamegraph generating scripts. With tracing-flame we skip straight to emitting a folded representation. I think it might be cool to investigate if we can emit perf's exact format so we can be compatible with more tools, but I think it would be the same as writing a script to fake a bunch of stack traces that reproduce the folded repr, so for now I don't think we should bother with it.

Copy link
Sponsor Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is the folded output produced by flamegraph, inferno, and some newer eBPF perf tracing tools. perf's output (by which you're probably referring to perf script's output) is probably not something we want to mirror. The collapsed output is decently standard, enough so that eBPF also produces the same thing.

tracing-flame/README.md Outdated Show resolved Hide resolved
tracing-flame/README.md Outdated Show resolved Hide resolved
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
@yaahc yaahc requested a review from a team as a code owner May 4, 2020 16:43
@yaahc yaahc merged commit 4e47811 into master May 4, 2020
@yaahc yaahc deleted the jane/readme branch May 4, 2020 17:28
hawkw added a commit that referenced this pull request Oct 23, 2021
# 0.2.0 (October 23, 2021)

This is a breaking change release in order to update the
`tracing-subscriber` dependency version to [the v0.3.x release
series][v03].

### Changed

- Updated `tracing-subscriber` dependency to [v0.3.0][v03] ([#1677])

### Fixed

- Disabled default features of the `tracing` dependency so that
  proc-macro dependencies are not enabled ([#1144])
- Documentation fixes and improvements ([#635], [#695])

### Added

- **SpanTrace**: Added `SpanTrace::new` constructor for constructing a
  `SpanTrace` from a `Span` passed as an argument (rather than capturing
  the current span) ([#1492])

Thanks to @CAD97 for contributing to this release!

[v03]: https://github.com/tokio-rs/tracing/releases/tag/tracing-subscriber-0.3.0
[#635]: #635
[#695]: #695
[#1144]: #1144
[#1492]: #1492
[#1677]: #1677
hawkw added a commit that referenced this pull request Oct 23, 2021
# 0.2.0 (October 23, 2021)

This is a breaking change release in order to update the
`tracing-subscriber` dependency version to [the v0.3.x release
series][v03].

### Changed

- Updated `tracing-subscriber` dependency to [v0.3.0][v03] ([#1677])

### Fixed

- Disabled default features of the `tracing` dependency so that
  proc-macro dependencies are not enabled ([#1144])
- Documentation fixes and improvements ([#635], [#695])

### Added

- **SpanTrace**: Added `SpanTrace::new` constructor for constructing a
  `SpanTrace` from a `Span` passed as an argument (rather than capturing
  the current span) ([#1492])

Thanks to @CAD97 for contributing to this release!

[v03]: https://github.com/tokio-rs/tracing/releases/tag/tracing-subscriber-0.3.0
[#635]: #635
[#695]: #695
[#1144]: #1144
[#1492]: #1492
[#1677]: #1677
kaffarell pushed a commit to kaffarell/tracing that referenced this pull request May 22, 2024
# 0.2.0 (October 23, 2021)

This is a breaking change release in order to update the
`tracing-subscriber` dependency version to [the v0.3.x release
series][v03].

### Changed

- Updated `tracing-subscriber` dependency to [v0.3.0][v03] ([tokio-rs#1677])

### Fixed

- Disabled default features of the `tracing` dependency so that
  proc-macro dependencies are not enabled ([tokio-rs#1144])
- Documentation fixes and improvements ([tokio-rs#635], [tokio-rs#695])

### Added

- **SpanTrace**: Added `SpanTrace::new` constructor for constructing a
  `SpanTrace` from a `Span` passed as an argument (rather than capturing
  the current span) ([tokio-rs#1492])

Thanks to @CAD97 for contributing to this release!

[v03]: https://github.com/tokio-rs/tracing/releases/tag/tracing-subscriber-0.3.0
[tokio-rs#635]: tokio-rs#635
[tokio-rs#695]: tokio-rs#695
[tokio-rs#1144]: tokio-rs#1144
[tokio-rs#1492]: tokio-rs#1492
[tokio-rs#1677]: tokio-rs#1677
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants