-
Notifications
You must be signed in to change notification settings - Fork 44
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
feat: add visor processing stats table #96
Merged
Merged
Conversation
This file contains 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
iand
force-pushed
the
iand/processing-stats
branch
3 times, most recently
from
October 13, 2020 14:10
98db1d9
to
20d01ea
Compare
willscott
approved these changes
Oct 13, 2020
Name: "processingstats-refresh-rate", | ||
Aliases: []string{"psr"}, | ||
Value: 0, | ||
Usage: "Refresh frequency for processing stats (0 = disables refresh)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this in seconds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a Go duration, so it takes values like 30s and 15m
iand
force-pushed
the
iand/chain-economics
branch
from
October 14, 2020 09:09
2582185
to
45dd5d0
Compare
iand
force-pushed
the
iand/processing-stats
branch
2 times, most recently
from
October 14, 2020 10:01
6e4f7ed
to
c50e7c3
Compare
Creating the indexes takes a couple of minutes on a populated database. |
Add a task that writes summary stats to a new table visor_processing_stats. For each tipset processor (message discovery, state change, chain economics) and for each message processor (currently only gas outputs) and for each actor state change it writes the following metrics: - total number of items that have been discovered for processing - total number of items that have been processed - total number of items that have been processed but reported an error - total number of items that are currently being processed - highest epoch that has been processed - highest epoch that has not been processed Stats are written every minute and only a single global task is used.
iand
force-pushed
the
iand/processing-stats
branch
from
October 14, 2020 11:57
c50e7c3
to
710e731
Compare
placer14
added a commit
that referenced
this pull request
Oct 14, 2020
* origin/master: feat: Add historical indexer metrics (#92) fix(lens): Include dependencies needed for Repo Lens (#90) Move migration to schema version 10 fix(migrations): migrations require version 0 feat: add message gas economy processing perf(db): reduce batch size for chain history indexer (#105) fix: use hash index type for visor_processing_actors_code_idx (#106) feat: set application name in postgres connection (#104) feat: add visor processing stats table (#96) feat(task): add chain economics processing (#94) get actor name for both versions of specs-actors (#101)
placer14
added a commit
that referenced
this pull request
Oct 14, 2020
…-view * origin/master: feat: Add miner_sector_posts tracking of window posts (#74) feat: Add historical indexer metrics (#92) fix(lens): Include dependencies needed for Repo Lens (#90) Move migration to schema version 10 fix(migrations): migrations require version 0 feat: add message gas economy processing perf(db): reduce batch size for chain history indexer (#105) fix: use hash index type for visor_processing_actors_code_idx (#106) feat: set application name in postgres connection (#104) feat: add visor processing stats table (#96) feat(task): add chain economics processing (#94) get actor name for both versions of specs-actors (#101) fix: remove errgrp from UnindexedBlockData persist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add a task that writes summary stats to a new table visor_processing_stats.
For each tipset processor (message discovery, state change, chain economics) and
for each message processor (currently only gas outputs) and for each actor state
change it writes the following metrics:
Stats are written every minute and only a single global task is used.
Note: branched from #94