Skip to main content

Documentation Index

Fetch the complete documentation index at: https://enrolla-gz-new-docs-for-auto-monitor.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Install Sentry SDK with OpenTelemetry support:
pip install --upgrade 'sentry-sdk[opentelemetry]'
Initialize Sentry and enable OpenTelemetry instrumentation:
import sentry_sdk

sentry_sdk.init(
dsn=<Your DSN>,
enable_tracing=True,

    # set the instrumenter to use OpenTelemetry instead of Sentry
    instrumenter="otel",

)

Then, when initializing the Traceloop SDK, make sure to override the processor and propagator:
from traceloop.sdk import Traceloop
from sentry_sdk.integrations.opentelemetry import SentrySpanProcessor, SentryPropagator

Traceloop.init(processor=SentrySpanProcessor(), propagator=SentryPropagator())