Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable sentry user feedback and releases (#329) #331

Merged
merged 4 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backend/app/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
import os
import pathlib
from contextlib import asynccontextmanager

Expand All @@ -25,8 +26,10 @@

if settings.SENTRY_DSN: # pragma: no cover
sentry_sdk.init(
environment=os.environ.get("ENVIRONMENT", "production"),
dsn=str(settings.SENTRY_DSN),
enable_tracing=True,
release=f"reev-backend@{settings.REEV_VERSION}",
)

app = FastAPI(
Expand Down
2 changes: 2 additions & 0 deletions frontend/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/// <reference types="vite/client" />

declare const __APP_VERSION__: string
274 changes: 252 additions & 22 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"dependencies": {
"@mdi/font": "^7.3.67",
"@reactgular/chunks": "^1.0.1",
"@sentry/browser": "^7.90.0",
"@sentry/integrations": "^7.90.0",
"@sentry/tracing": "^7.89.0",
"@sentry/vue": "^7.89.0",
"@types/luxon": "^3.3.7",
Expand Down
Loading
Loading