-
Notifications
You must be signed in to change notification settings - Fork 74
State Tracing #134
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
State Tracing #134
Changes from 1 commit
Commits
Show all changes
115 commits
Select commit
Hold shift + click to select a range
ecaab00
bring state tracing up to date with repo structure changes
c601e95
some cleanup
70c0cf7
rustfmt
510b6e7
Refactor `ActorContext` -> SystemConfig
a965d69
Only start tracing actor if targets exit
e580964
fix comment
07141f9
Use substrate LocalCallExecutor
8b26d8f
switch to custom substrate branch
e78a27e
merge
a9964e8
switch back to master
4df6e78
traces are working
8032135
some cleanup after testing
0737991
match on spec directly
27bfb83
map on match instead of in constructor
dc5403d
clean return value in cli opts
9ce1d89
clean up Archive builder in binary a bit
272b6a4
then -> than
83bd641
are stored
d24ca38
explicit exports in workers
e8630e8
merge with master
a60370c
fix Cargo.lock
7bfea90
make wasm_runtime_overrides CLI argument consistent with Substrate
34b599b
add with-tracing to sp-tracing
9e5e040
"increases memory usage"
9973cf1
[WIP] Implement Rudimentary subscriber, get rid of sc-tracing/tracing…
f97b8fd
custom substrate for testing
98a0228
Span Information about currently executing block + hash
5d4546b
polishing data format
7dead34
Error handling
4bc7109
add WASM binaries to substrate-archive
b77f8d1
add README about wasm tracing
e888cc4
update schema
83ed3e2
state_tracing -> state_traces
0ff76c5
make Tracing Objects more flexible
a1f046e
If a Span Tree isn't found, return error
3202abc
Update Schema
dcb6c92
wip events/timestamps/format
f358e89
Add Timestamp to EventMessage and SpanMessage
a468b84
Timestamp for Spans, move line+file out of JSON
b03e8c1
Event insertion into database
c70a5e9
SortedSpans -> CollatedSpans
7138ebc
Add comments on all functions in state-tracing
1b8c3f4
Some comment fixups
a583c96
Fix: Properly filter spans by target
f4d5113
Fix panic on shutdown when in debug mode
995a849
Add special key
1b1a334
is_event for EventMessage should be true
b966643
remove unused state tracing CLi flag
b3029bb
make targets work with levels
c113f1c
Uncomment code for testing.
8ee3f0e
update schema
1aa7c33
Fix README
c561500
remove tabs from doc-comment
d1d8f24
Clippy lints
1371f62
merge with master
b8d47df
merge with master
5f1e491
fix wasm binaries, add v0.8.27
27a22ff
docs and removal of debug lines
6cf46db
merge with master
0f07b06
rustfmt
72b96a2
simplify boolean expression
f1f1f76
increase timeout by 250 ms
f1987d8
increase timeout to 30s
7c820d5
remove debug code
0e7247a
add 0.8.27 to list of supported versions
c57b560
merge with master
a53fcea
tracing config
ce1c106
remove tracing_actor, pull tracing subscriber into its own module
9f9f8b1
trace insertion
8a8c0ed
comments and removal of no longer needed info
c8bea5a
conf -> ctx for Actor Handlers
2a542c0
some cleanup of errors
db5b18a
remove debugging commented code
6d64e3b
Update substrate-archive/src/database.rs
insipx de031e3
Update substrate-archive/src/wasm_tracing.rs
insipx 70c512e
some improvements
63f49b7
Merge branch 'master' of github.com:paritytech/substrate-archive into…
d6b7b57
Merge branch 'insipx/state-tracing' of github.com:paritytech/substrat…
404e6f1
fix whitespace in license
d4ef899
make target/name patching clearer
f8c970e
add comment for BlockHash
40e95ad
fix comment in block execution task
249f8a5
unwrap_or_else
a1ac611
remove timer in blocks
9afc806
make imports consistent
1c13bdd
comment for actor timeout
2a934a5
comment for actor timeout
aaf7814
SpanEvents -> SpansAndEvents
4f3a1d4
use Option<Id> for EventMessage + Do not throw out events w/o parent id
d086d58
small nit fix
1e059c8
Use bigint for duration and store all nanoseconds
ad75766
move time calculation to try_close
cba5b1d
fix try_close
ad8cd4e
Update substrate-archive/src/wasm_tracing.rs
insipx 38abf09
merge with master
a14740e
Merge branch 'insipx/state-tracing' of github.com:paritytech/substrat…
831bff3
re-add dead code
fbfaad4
uncomment debug
02a2e60
make sure we are not collecting empty traces
41e25f6
back to defaults
dbc8feb
fix merge conflict in node-template
cd6e6f3
fix style for CI
56bf85d
update deps in hopes it will please CI
0f4b778
fix batch reserver count
1f9d66a
Vec<u8> -> &[u8] to be idiomatic
585283d
fix bool in tasks && simplify boolean in tracing
71be70e
avoid allocations in handle_traces
8143ba9
mem::replace for storage
422f450
Update bin/polkadot-archive/Cargo.toml
insipx 6f9caca
remove unused cfg(test)
b1900ca
Merge branch 'insipx/state-tracing' of github.com:paritytech/substrat…
3ec2049
Remove clones, comments, unused deps
10bc278
Moar docs
9b32bb2
fix time error
52c70fa
update schema
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
comment for actor timeout
- Loading branch information
There are no files selected for viewing
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
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.