-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: introduce tracing #4282
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
Merged
Merged
feat: introduce tracing #4282
Changes from 109 commits
Commits
Show all changes
125 commits
Select commit
Hold shift + click to select a range
393ae2f
feaat:tracing
eserilev b3f055a
move error span
eserilev 9780a07
remove tracing-subscriber from library crate
eserilev c9e4a3b
update logging
eserilev bf2fa39
remove reduncdant logs
eserilev 8b30438
resolve conflict
eserilev 6c12589
autonat tracing
eserilev ae55e8b
dcutr changes
eserilev 3ce8b02
relay server
eserilev ccdf589
floodsub
eserilev d23d9a1
gossipsub
eserilev dce4a61
identity
eserilev 8466290
merge conflicts
eserilev 60c4c23
kad
eserilev 1344b7f
mdns
eserilev ec8f0f1
perf
eserilev 2000e42
rendezvous
eserilev 3f40960
request-response
eserilev d990488
chat example changes
eserilev 3e7af9b
distributed key value store example
eserilev f4d9944
inline tracing spans
eserilev ea8683f
add tracing to the rest of the examples
eserilev 9b5b439
merge conflicts
eserilev 8eb986f
fully qualified tracing usage
eserilev 79a533b
fix
eserilev 1a5c1ee
fix cargo newline issue
eserilev f6b2f6e
fully qualify trace usage
eserilev 4796bd9
Merge branch 'master' into feat-tracing
thomaseizinger a2e9834
Fix clippy lints
thomaseizinger e8d7745
Fix formatting
thomaseizinger b8473fd
Fix wasm compile error
thomaseizinger b9a7949
added improved tracing for autonat, dcutr, floodsub, gossipsub
eserilev 97458ad
tracing improvements to kad and identify
eserilev 2a42e73
mdns tracing improvements
eserilev 6a7fbfe
perf tracing improvements
eserilev 8ec399a
the rest of the protocols
eserilev a723629
remove tracing from core crate
eserilev 8229030
removed log dependency from identity crate
eserilev 0c0e13f
swap log w/ trace for interop-tests
eserilev eba436a
browser-webrtc example tracing
eserilev 863ad7a
dcutr example tracing
eserilev 06bfcd2
memory-connection-limits tracing
eserilev 9885250
multistream-select tracing
eserilev 365e21d
server tracing
eserilev f523e07
muxer crate tracing
eserilev 2df883f
yamux, test harness tracing
eserilev b45c345
autonat tracing, plus remove unwrap
eserilev 186cd05
keypair tracing fix
eserilev 7b7e4af
upnp and a few other crates tracing
eserilev d50fed5
swarm tracing
eserilev 9e60720
swarm test tracing
eserilev 317e0dc
cargo fmt
eserilev 76c8f06
tracing cleanup
eserilev 886297b
remove '.' from tracing messages
eserilev 913ec28
tracing dns crate, plus alphabatize dependancies
eserilev a227415
noise crate tracing
eserilev 8f75357
plaintext crate tracing
eserilev 27c49ee
pnet crate tracing
eserilev 73b9c58
added quic tracing
eserilev fc4bc36
tcp crate tracing
eserilev 49db005
webrtc crate tracing
eserilev 0935901
weebrtc-websys crate tracing
eserilev e9c495a
Merge branch 'master' of https://github.com/libp2p/rust-libp2p into f…
eserilev 8e8980f
websocket crate tracing
eserilev 62628f4
fix dependencies
eserilev 8497c2d
changes based on feedback
eserilev b6f8e50
cargo fmt
eserilev dd405ba
resovle conflicts
eserilev 09ea23a
personal review
eserilev 5263e7c
merge
eserilev cbbf21c
remove env logger dependency
eserilev 540f129
fmt
eserilev 47767b1
fixes
eserilev 92eb669
fmt
eserilev fc40b56
fmt
eserilev 294f1e0
fixes based on feedback
eserilev 897dea0
remove unnecessary peer id ref
eserilev 587b1ac
fixing tracing subscriber issue
eserilev a53da1f
fmt
eserilev 612d933
add mdns + ping example
eserilev edaea4f
otel example
eserilev 9e8774e
Merge branch 'master' into feat-tracing
thomaseizinger 6d070c4
Merge branch 'master' into feat-tracing
thomaseizinger 09f9e3f
Merge branch 'master' into feat-tracing
thomaseizinger 4ba5c90
Fix compile errors
thomaseizinger 9f856a3
Revert bad updates
thomaseizinger 651da5a
Add more spans and extend metrics example
thomaseizinger 70a8e26
Add more docs
thomaseizinger 8839f36
Remove span from select
thomaseizinger 4c574f3
Move muxer spans into `Connection`
thomaseizinger d5ebef0
Add spans for `Swarm`
thomaseizinger 52048e6
Add local peer id to `Swarm::poll` span
thomaseizinger ffe04d4
Move spans to concrete `poll` functions
thomaseizinger 5a3514b
Move stream muxer spans to concrete impl
thomaseizinger ccf60a4
Remove unused imports
thomaseizinger 20beaad
Instrument dialing of new connections
thomaseizinger fee6485
Remove parents
thomaseizinger eac2630
Set `follows_from` instead
thomaseizinger d6e8eb7
Fix doc link
thomaseizinger 40c7517
Fix libp2p doc tests
thomaseizinger c6e2222
Fix bad char
thomaseizinger 77f240e
Merge branch 'master' into feat-tracing
thomaseizinger 4a0b030
merge
eserilev 9659490
resolve merge conflicts
eserilev 702c664
Merge branch 'master' into feat-tracing
thomaseizinger c75d265
Fix formatting
thomaseizinger 4874464
Fix compile errors and delete otel-example
thomaseizinger 94f9caa
Add spans for durations of connections
thomaseizinger 8d84da4
Remove fields already present in parent span
thomaseizinger 93350b1
Fix link
thomaseizinger e827911
Fix doc tests and warnings
thomaseizinger b136d49
Remove `local_peer_id` from `Swarm::poll`
thomaseizinger eccc6c1
dont upgrade debug to error
eserilev 0f34558
add tracing decorator to handlers
eserilev 88f256e
add tracing decorator to network behaviours
eserilev 3cdf295
merge
eserilev c18fbd3
Merge branch 'master' into feat-tracing
thomaseizinger 7b55185
Remove unused imports
thomaseizinger 949ae15
Fix logger init in test
thomaseizinger fd2ba76
Merge remote-tracking branch 'origin/feat-tracing' into feat-tracing
thomaseizinger c3595da
Unify init of subscriber across examples
thomaseizinger 6df4a94
Serve metrics on random port to avoid panic
thomaseizinger b5c2233
Fix bad merge
thomaseizinger cb72fbf
Merge branch 'master' into feat-tracing
thomaseizinger 1cdaaa7
Merge branch 'master' into feat-tracing
thomaseizinger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.