-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
New 'MessageToDict' implementation breaks with unknown entry types #2674
Comments
@tseaver @dhermes We're tracking this in https://github.com/googleapis/googleapis/issues/187. What's the relative priority? We're focused on landing our beta surfaces this month, and the related issue #2572 took me down a long tangential path for the past week. |
@bjwatson This is something that's my fault, not your fault. There isn't anything you need to fix, we'll always encounter types we don't know about. The proper behavior is just to leave them as |
@bjwatson I can exercise the new logging snippets with GRPC disabled for now. |
ran into this issue as well. Just to document, you can disable gRPC using
|
I may just end up reverting #2600. |
It's fairly relevant that the only Currently digging in to a nice repro provided by @Fkawala, I made it totally distinct of this library here in a gist. |
This is temporary as googleapis#2674 is still being sorted out. This way we don't block an umbrella release or the release of error reporting.
…stry. (#3270) * Gracefully continue if LogEntry.proto_payload type URL is not in registry. Fixes #2674. * Adding unit / system tests for "graceful" continuation on LogEntry parsing. * Docs fix for PR 3270. * Adding rtype/returns to metric_update and sink_update in logging _http module. * Add trailing commas.
I just started looking into logging google.appengine.logging.v1.RequestLog, so am happy to see this has been fixed. What's the best way to use this? I assume that installing google-cloud-logging 1.0.0 won't work if I want to use other google-cloud-* libraries too, due to conflicts on So instead, I assume I'm waiting on any version of google-cloud that is post-0.24? |
Installing The only place to worry about a version collision is in |
This is temporary as googleapis#2674 is still being sorted out. This way we don't block an umbrella release or the release of error reporting.
…stry. (googleapis#3270) * Gracefully continue if LogEntry.proto_payload type URL is not in registry. Fixes googleapis#2674. * Adding unit / system tests for "graceful" continuation on LogEntry parsing. * Docs fix for PR 3270. * Adding rtype/returns to metric_update and sink_update in logging _http module. * Add trailing commas.
When I try to run the code here: https://gist.github.com/Fkawala/654093301c47241386b5cd4e02791e56#file-do_log-py I get an error:
Does it suppose to work? Or is this feature deprecated? |
Unclear if this should be reopened or is a new issue but I get same error when trying to parse a Protobuf payload written by GCP services: It seems the only way to consume GCP logging outside of the UI is to export to bigquery sink and query from there. Or is Btw, disabling gRPC has no effect in this case. |
@yiga2 Looks like you opened #5313 to track the parsing issue for protobuf payloads. |
Related but #5313 is to request more documentation whereas here is to report an error with If the documentation highlights a different method to use, I agree my present comment is not applicable. |
@yiga2 |
as an example, here's how i generated my own (this also sounds like @mikelambert's use case in #2674 (comment). |
@tseaver Are you able to fix this issue? |
Need some help for me, I am facing same issue |
The text was updated successfully, but these errors were encountered: