-
Notifications
You must be signed in to change notification settings - Fork 34
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
fix: request record label with commitment mode and version #109
Conversation
cbf7243
to
9b8680f
Compare
20a0f6d
to
d244f3e
Compare
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 few small comments
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! Congrats on your first proxy PR
1b60e4f
to
b5e3a07
Compare
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
Changes proposed
http_server_request_total
andhttp_server_request_duration
(HTTP server request counts and durations) to includecommitment_mode
andcommitment_version
http_server_requests_bad_header
metrics withmethod, error_type
label for requests that can't be parsed withcommitment_mode
andcommitment_version
.Note to reviewers
I can combine the new metrics to
RecordRPCServerRequest
and record commitment mode and version (or errors of reading them) after handling the request if preferred