This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 112
More stats, knobs and tunings #514
Merged
+351
−86
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
3dbe5b8
feat: expose number of outstanding requests in stats
aschmahmann c557ca3
bump task workers
aschmahmann 36a9802
expose more task worker options
aschmahmann ebdf046
feat: tighter send timeouts
Stebalien f2004d8
add option for maximum outstanding bytes per peer
aschmahmann 5f43c5d
add prometheus metric for how long it takes to send messages
aschmahmann b82af74
make tests compile; make some tests pass
petar b0f9dfb
add defaults for knobs; all tests pass
petar 68aca5c
bump go-peertaskqueue dependency
petar 8a5dbcb
remove unused code
petar e4784ab
go mod tidy
petar 86056b7
increase test worker count
petar d7a22eb
tune test knobs
petar 0bb4888
test knobs
petar 6ff26a9
test knobs
petar 66c2800
bump go-peertaskqueue to v0.3.0
petar 8035dfd
go mod tidy
petar 7606648
add prometheus metrics
petar 1eeb20c
add gauges for blockstore tasks
petar 32a8c10
address comments
petar 890a3f0
adjustments
petar 7efcb76
go mod tidy
petar d969152
add defaults internal package
petar 8b55e4a
remove jobs from stats structure
petar f982980
add constructors for testing
petar c531e67
fix race
petar 8ebe2a0
move testing constructors
petar 8a8d865
remove extraneous imports
aschmahmann d4a71a1
bump peertaskqueue
aschmahmann 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
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
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
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
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
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
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
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.
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 still useful? If it's not documented then it's not useful and we should remove it.
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.
I think it is useful to know if your outbound connection is slow. Let's keep it. Where is the right place to document it? The metric itself is documented when initialized, so the doc shows up on the grafana dashboard.
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.
ok, that seems fine. We should try and track this internally on our infra (and ask Pinata to try on theirs) so we can get an understanding of what these numbers look like and if the time resolution is anywhere close to correct.