Skip to content

Commit

Permalink
chore: set in app include so sentry detects our application code (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius authored Nov 1, 2024
1 parent ddeb8d1 commit 0cb8a17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bases/renku_data_services/data_api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ async def setup_sentry(_: Sanic) -> None:
enable_tracing=config.sentry.sample_rate > 0,
traces_sample_rate=config.sentry.sample_rate,
before_send=filter_error,
in_app_include=["renku_data_services"],
)

# we manually need to set the signals because sentry sanic integration doesn't work with using
Expand Down

0 comments on commit 0cb8a17

Please sign in to comment.