Skip to content

Commit

Permalink
add app name and version in sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Sep 3, 2024
1 parent a05650e commit f34f095
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 f34f095

Please sign in to comment.