Skip to content

Add Error Reporting Library #1921

@waprin

Description

@waprin

This 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.

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions