-
Notifications
You must be signed in to change notification settings - Fork 690
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 grpc_status_number as a default access log field #4880
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4880 +/- ##
==========================================
- Coverage 76.45% 76.45% -0.01%
==========================================
Files 140 140
Lines 16711 16711
==========================================
- Hits 12777 12776 -1
- Misses 3684 3685 +1
Partials 250 250
|
Could this be reviewed please? |
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.
One minor comment on the changelog, otherwise LGTM.
@@ -43,6 +43,7 @@ var DefaultAccessLogJSONFields = AccessLogJSONFields([]string{ | |||
"user_agent", | |||
"x_forwarded_for", | |||
"grpc_status", | |||
"grpc_status_number", |
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.
huh seems like we already added this to envoySimpleOperators
in this file
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.
(the access log format operator version)
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.
might want to be more judicious about the default access log fields in the future, but seems good to add this one
lgtm minus @skriss' comments I should say |
Fixes projectcontour#4484 Signed-off-by: Rajat Vig <rvig@etsy.com> Co-authored-by: Steve Kriss <stephen.kriss@gmail.com> Signed-off-by: Rajat Vig <rvig@etsy.com>
Addressed the comments. Agree, the default access log fields should only be judiciously added. |
Thanks @rajatvig! |
…4880) Fixes projectcontour#4484. Signed-off-by: Rajat Vig <rvig@etsy.com> Signed-off-by: yy <yang.yang@daocloud.io>
…4880) Fixes projectcontour#4484. Signed-off-by: Rajat Vig <rvig@etsy.com> Signed-off-by: yy <yang.yang@daocloud.io>
…4880) Fixes projectcontour#4484. Signed-off-by: Rajat Vig <rvig@etsy.com>
Fixes #4484
Signed-off-by: Rajat Vig rvig@etsy.com