From fbdb1a2e7f885b222b06604078be97dbf28b23f6 Mon Sep 17 00:00:00 2001 From: Peter Dudfield <34686298+peterdudfield@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:29:33 +0100 Subject: [PATCH] add app name and version in sentry (#357) --- 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 = """