-
Notifications
You must be signed in to change notification settings - Fork 90
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
app/eth2wrap: implement eth2 wrapper for metrics and errors #359
Conversation
} | ||
) | ||
|
||
func main() { |
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.
code generator
core/eth2metrics/metrics_gen.go
Outdated
|
||
package eth2metrics | ||
|
||
// Code generated by genmetrics.go. DO NOT EDIT. |
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.
resulting generated code
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.
LGTM!
d8fce48
to
74c9c6b
Compare
@corverroos verify pr check is not working it seems. |
Add a
app/eth2wrap
package the contains aService
type that wrapseth2http.Service
by adding prometheus metrics and error wrapping (for proper stack traces). It uses code generation.category: feature
ticket: #362