Skip to content

Sentry

OpenGateLLM supports Sentry for error tracking and performance monitoring. It helps you identify, diagnose, and fix errors in real-time.

To configure Sentry, add it to the dependencies section of your config.yml file.
Check the Sentry section in the configuration file documentation for more details.

Example:

dependencies:
[...]
sentry:
dsn: ${SENTRY_DSN}
environment: ${SENTRY_ENVIRONMENT:-production}
traces_sample_rate: 1.0
profiles_sample_rate: 1.0
enable_tracing: true

The Sentry dependency accepts all parameters from the Sentry Python SDK. Only the dsn parameter is typically required.

Configuration file documentation