glitchtip
Some checks failed
deploy / deploy (push) Failing after 14s

This commit is contained in:
Untone 2024-04-09 20:19:46 +03:00
parent 3a30f8aa62
commit 2b3aa43faf
4 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,6 @@
[0.3.1]
- glitchtip connect
[0.3.0]
- versions updates
- startup refactoring

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "discoursio-inbox"
version = "0.3.0"
version = "0.3.1"
description = "Inbox server for discours.io"
authors = ["Tony Rewin <anton.rewin@gmail.com>"]

View File

@ -3,14 +3,14 @@ from sentry_sdk.integrations.ariadne import AriadneIntegration
from sentry_sdk.integrations.redis import RedisIntegration
from sentry_sdk.integrations.starlette import StarletteIntegration
from settings import SENTRY_DSN
from settings import GLITCHTIP_DSN
def start_sentry():
# sentry monitoring
try:
sentry_sdk.init(
SENTRY_DSN,
GLITCHTIP_DSN,
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for performance monitoring.
traces_sample_rate=1.0,

View File

@ -6,5 +6,5 @@ REDIS_URL = environ.get("REDIS_URL") or "redis://127.0.0.1"
API_BASE = environ.get("API_BASE") or "http://127.0.0.1:8001/"
AUTH_URL = environ.get("AUTH_URL") or "http://127.0.0.1:8080/graphql/"
MODE = environ.get("MODE") or "production"
SENTRY_DSN = environ.get("SENTRY_DSN")
GLITCHTIP_DSN = environ.get("GLITCHTIP_DSN")
DEV_SERVER_PID_FILE_NAME = "dev-server.pid"