-
Notifications
You must be signed in to change notification settings - Fork 88
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
feat: update recognized logging fields #766
Conversation
google/api_core/client_logging.py
Outdated
"httpRequestMethod", | ||
"httpRequestUrl" "rpcName", |
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.
As per https://cloud.google.com/logging/docs/structured-logging#structured_logging_special_fields, httpRequest
should be of type HttpRequest
, which includes the fields requestMethod
and requestURL
internally.
"httpRequestMethod", | |
"httpRequestUrl" "rpcName", | |
"rpcName", |
9871f73
to
88bc82c
Compare
@@ -15,12 +15,13 @@ | |||
"rpcName", | |||
"serviceName", | |||
"credentialsType", | |||
"credentialInfo", | |||
"credentialsInfo", | |||
"universeDomain", | |||
"request", | |||
"response", | |||
"metadata", |
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.
Per the parent design doc, we should still have rpcName
, right? (We're using it in the pending PR in the generator)
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.
Yes we should. I see it here it in the list. Let me know if you see otherwise.
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.
Oh, my bad. Don't know why I didn't see it before.
@@ -15,12 +15,13 @@ | |||
"rpcName", | |||
"serviceName", | |||
"credentialsType", | |||
"credentialInfo", | |||
"credentialsInfo", | |||
"universeDomain", | |||
"request", | |||
"response", | |||
"metadata", |
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.
Oh, my bad. Don't know why I didn't see it before.
No description provided.