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

Add tracing-flame crate for generating flamegraphs/flamecharts #631

Merged
merged 29 commits into from
Apr 21, 2020
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ece70e7
Initial commit of tracing-flame
yaahc Mar 11, 2020
7c734b0
Apply suggestions from code review
yaahc Mar 11, 2020
3f6a8c8
Update tracing-flame/Cargo.toml
yaahc Mar 11, 2020
bc393e7
Fix for buffers and double panics
yaahc Mar 12, 2020
c725d0d
Add example of using inferno with flame_layer
yaahc Mar 12, 2020
dff4c64
cargo fmt
yaahc Mar 12, 2020
5d11b17
Add a tracing branded error reporter
yaahc Mar 12, 2020
2a44b26
Hide error enum kinds
yaahc Mar 12, 2020
22345e1
fmt
yaahc Mar 12, 2020
65f13bf
add module path to flame output
yaahc Mar 13, 2020
958bb1c
cargo clippy
yaahc Mar 14, 2020
6fbb3ae
Always acquire drop guard in with_file
yaahc Mar 19, 2020
9290f53
remove FlameGuard from external api
yaahc Mar 20, 2020
32fd5b0
stylin
yaahc Mar 20, 2020
4601014
Switch to thread local timestamp for flame samples
yaahc Apr 2, 2020
488a925
use tempdir to cleanup files from tests
yaahc Apr 2, 2020
d45491e
add support for arbitrary flushing via the guard
yaahc Apr 2, 2020
bc3bb68
Add docs for everythinggg
yaahc Apr 2, 2020
0060b3d
Fix broken link
yaahc Apr 2, 2020
e4da6ef
remove kind from public interface
yaahc Apr 3, 2020
490efc2
Apply suggestions from code review
yaahc Apr 3, 2020
27687b8
Apply suggestions from code review
yaahc Apr 9, 2020
e57da20
address comments
yaahc Apr 9, 2020
bcea4a6
fix the start time bug
yaahc Apr 9, 2020
d39fe9f
Add cargo metadata
yaahc Apr 9, 2020
3fab307
Apply suggestions from code review
yaahc Apr 9, 2020
b614ff4
tweet toml
yaahc Apr 9, 2020
9a41fde
fix the flame for concurrent programs
yaahc Apr 10, 2020
93b4c50
Fix eliza comments
yaahc Apr 21, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion tracing-flame/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
[package]
name = "tracing-flame"
version = "0.1.0"
authors = ["Jane Lusby <[email protected]>"]
authors = [
"Jane Lusby <[email protected]>",
"Eliza Weisman <[email protected]>",
"David Barsky <[email protected]>",
Copy link
Member

Choose a reason for hiding this comment

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

take it or leave it: i don't personally feel the need to be listed as an author for this crate...you did all the work :)

Copy link
Member

Choose a reason for hiding this comment

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

Same here; I just reviewed it :)

"Tokio Contributors <[email protected]>"
]
edition = "2018"
license = "MIT"
readme = "README.md"
repository = "https://github.com/tokio-rs/tracing"
homepage = "https://tokio.rs"
description = """
Tracing layer for creating flamegraphs from span timings
"""
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
keywords = ["tracing", "metrics", "subscriber"]
yaahc marked this conversation as resolved.
Show resolved Hide resolved

[features]
default = ["smallvec"]
Expand Down