parent
3a30f8aa62
commit
2b3aa43faf
|
@ -1,3 +1,6 @@
|
|||
[0.3.1]
|
||||
- glitchtip connect
|
||||
|
||||
[0.3.0]
|
||||
- versions updates
|
||||
- startup refactoring
|
||||
|
|
|
@ -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>"]
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user