-
Notifications
You must be signed in to change notification settings - Fork 195
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 metrics to encoder v2 #1080
Conversation
disperser/encoder/server_v2.go
Outdated
close func() | ||
|
||
runningRequests chan struct{} | ||
requestPool chan struct{} | ||
requestPool chan blobRequest |
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.
nit: can we rename "pool" to "queue" (e.g. queueingRequests, and ServerConfig.RequestQueueSize) so it's consistent with the rest parts?
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.
Done V2 code will use new request queue flag. Leaving the V1 server code as is though to prevent having to update the config values.
c279b84
to
5c571ac
Compare
Why are these changes needed?
Brings metrics changes made from V1 encoder to V2 encoder. In order to support certain metrics from V1 we need to send the blob size as part of the request.
Checks