From f34f095e462e7d62ff6900f8912da51876577fff Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Tue, 3 Sep 2024 18:19:21 +0100 Subject: [PATCH] add app name and version in sentry --- src/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.py b/src/main.py index 8e6cd3f..0e8b3be 100644 --- a/src/main.py +++ b/src/main.py @@ -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 = """