-
Notifications
You must be signed in to change notification settings - Fork 19
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
metrics for signature-aggregator #398
Conversation
0013040
to
40028cc
Compare
40028cc
to
f1392e9
Compare
Signed-off-by: F. Eugene Aumson <[email protected]>
…signature-aggregation-api-metrics
…signature-aggregation-api-metrics
@@ -101,6 +105,7 @@ func (s *SignatureAggregator) AggregateSignaturesAppRequest( | |||
zap.String("warpMessageID", unsignedMessage.ID().String()), | |||
zap.Error(err), | |||
) | |||
s.metrics.ValidatorFailures.Inc() |
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.
We probably want to distinguish between issues for more specific alerting. I.e. not connecting to validators is a broader issue than not being able to connect to sufficient stake and is very different from an individual validator not returning a valid signature response
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.
addressed in eb2e526
…signature-aggregation-api-metrics
addresses review comment #398 (comment)
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.
Just a handful of minor comments and call outs. Otherwise LGTM
…signature-aggregation-api-metrics
addresses review comment #398 (comment)
addresses review comment #398 (comment)
addresses review comment #398 (comment)
…pi-metrics Signed-off-by: F. Eugene Aumson <[email protected]>
The base branch was changed.
Why this should be merged
fixes #384
How this works
uses prometheus to publish an endpoint
How this was tested
Added metric value checks at the end of the existing signature aggregation test