Skip to content

Commit

Permalink
added environment to sentry config
Browse files Browse the repository at this point in the history
  • Loading branch information
fullerzz committed Oct 3, 2024
1 parent 6992575 commit c13550e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/smolvault/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
dsn=settings.sentry_dsn,
traces_sample_rate=1.0, # Set traces_sample_rate to 1.0 to capture 100%
profiles_sample_rate=1.0,
environment=settings.environment,
)

app = FastAPI(title="smolvault", docs_url=None, redoc_url=None)
Expand Down

0 comments on commit c13550e

Please sign in to comment.