Skip to content

Implement error reporting #803

@garethbowen

Description

@garethbowen

Description

Enable error reporting and performance monitoring so we can respond quickly to issues encountered in production.

One option for this is sentry.io because that's used in Central, and I'm told it's working well.

Some points to consider...

  • Using a 3rd party for monitoring won't work well for library users. I think it's possible to put most of the reporting infrastructure in the webapp, and leave library users to do their own monitoring.
  • It also won't well for self-hosters who may not have a sentry account. The sentry key will have to be configured somewhere like an environment variable and if not provided, disable all monitoring. This won't work for self hosters who want to monitor with other monitoring solutions.
  • But it'll work very well for ODK Cloud users.
  • Planning for the future we should pick something that works offline (sentry docs)
  • For the first iteration we don't need to capture everything. The low hanging fruit are logging thrown errors (sentry vue docs) and page load times (sentry distribution metrics).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    Status

    Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions