Skip to content

Commit

Permalink
Adding celery integration
Browse files Browse the repository at this point in the history
  • Loading branch information
codebanesr committed Feb 12, 2024
1 parent 1ab6837 commit 57b61c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llm-server/utils/get_logger.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import os
import logging
import sentry_sdk
from sentry_sdk.integrations.celery import CeleryIntegration

sentry_sdk.init(
traces_sample_rate=1.0,
profiles_sample_rate=1.0,
integrations=[CeleryIntegration(propagate_traces=True)],
)

dsn = os.getenv("SENTRY_DSN")
Expand Down

0 comments on commit 57b61c3

Please sign in to comment.