Skip to content

Commit

Permalink
add app name and version in sentry (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield authored Sep 3, 2024
1 parent b163aa3 commit fbdb1a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
environment=os.getenv("ENVIRONMENT", "local"),
traces_sampler=traces_sampler,
)
sentry_sdk.set_tag("app_name", "quartz-solar-api")
sentry_sdk.set_tag("version", version)

# noqa: E501
description = """
Expand Down

0 comments on commit fbdb1a2

Please sign in to comment.