gramex icon indicating copy to clipboard operation
gramex copied to clipboard

Add a sentry service for server-side error reporting

Open sanand0 opened this issue 2 years ago • 0 comments

Add a sentry: service like this.

sentry:
  dsn: ...
  # other configurations

This should set up Sentry service like this:

import sentry_sdk
from sentry_sdk.integrations.tornado import TornadoIntegration

sentry_sdk.init(
    dsn="https://6b8cdf45e85a46cd9f867db920bcae5b@o4505424418701312.ingest.sentry.io/4505424422633472",
    integrations=[TornadoIntegration()],
    traces_sample_rate=1.0,
    # other configurations
)

sanand0 avatar Jun 26 '23 06:06 sanand0