GeezerVison is showing github.com — Add Error Reporting Library · Issue #1921 · googleapis/google-cloud-python
Add Error Reporting Library #1921DescriptionThis issue is to separately track some of the scope creep from #1881.
We need:
- A client to talk to the Error Reporting API. Currently this API does not seem public yet, so until then, we can create Error Reports by talking to the Logging API in a specific structured format. Once Error Reporting API exists we migrate the implementation from Logging API to Error Reporting API ( so it has its own quota, auth, etc).
- A logging handler that, for messages of severity error, gets the stacktrace/function context and reports to Error Reporting API
- A hook that lets you setup a global Python exception handler to catch exceptions and properly report the context.
- A similar hook for Django/Flask apps that will report the exception context and also include HTTP context.
Activitywaprin commented on Jun 27, 2016 ContributorAuthor More actions For the first bullet point, you want something like:
gcloud.error_handler.error('message'), and then it uses the traceback module to actually include file/line number/stack trace in the message daspecster commented on Feb 17, 2017 @waprin I think this is 90% done right? Just the Django piece left?
We could close this and just make the Django issue? waprin commented on Feb 17, 2017 ContributorAuthor More actions Yep, that and some maintenance (need to keep GAPIC up to date). But yeah I think we can close this and replace with Django error reporting (which I think is pretty low-priority anyway). Will make new issue. Reacted by Thomas Schultz daspecster commented on Feb 17, 2017
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|