cojedzie: Separate Sentry DSN for front server, replay rates

- Report the front node server to its own Sentry project (SENTRY_SERVER_DSN)
- Replace trace/session rates with session and error replay rates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kacper Donat 2026-10-27 20:14:05 +01:00
parent 5185b00b84
commit 1b2f51d4ef
4 changed files with 10 additions and 4 deletions

View File

@ -5,5 +5,7 @@ COJEDZIE_API_HUB=https://{{ cojedzie_domain }}
SENTRY_DSN={{ sentry_dsn_front }} SENTRY_DSN={{ sentry_dsn_front }}
SENTRY_SAMPLE_RATE={{ sentry_sample_rate_front }} SENTRY_SAMPLE_RATE={{ sentry_sample_rate_front }}
SENTRY_TRACE_RATE={{ sentry_trace_rate|default(0.1) }} SENTRY_SESSION_REPLAY_RATE={{ sentry_session_replay_rate }}
SENTRY_SESSION_RATE={{ sentry_session_rate|default(0.1) }} SENTRY_ERROR_REPLAY_RATE={{ sentry_error_replay_rate }}
# the node server reports to its own project, SENTRY_DSN is the browser's
SENTRY_SERVER_DSN={{ sentry_dsn_front_server }}

View File

@ -18,6 +18,7 @@ cojedzie_api_version: "{{ cojedzie_version }}"
cojedzie_worker_version: "{{ cojedzie_version }}" cojedzie_worker_version: "{{ cojedzie_version }}"
sentry_dsn_api: https://fd114053dd724e0eb16011ac0da16ba1@o4505224124891136.ingest.sentry.io/4505224126332928 sentry_dsn_api: https://fd114053dd724e0eb16011ac0da16ba1@o4505224124891136.ingest.sentry.io/4505224126332928
sentry_dsn_front: https://2815d4e0251240fcb9cd8c81c31e86fe@o4505224124891136.ingest.sentry.io/4505224128233472 sentry_dsn_front: https://2815d4e0251240fcb9cd8c81c31e86fe@o4505224124891136.ingest.sentry.io/4505224128233472
sentry_dsn_front_server: https://e5e0612c4db14123994ff855129c1476@o4505224124891136.ingest.us.sentry.io/4505258045538304
sentry_sample_rate_api: 0.05 sentry_sample_rate_api: 0.05
sentry_sample_rate_front: 0.01 sentry_sample_rate_front: 0.01
sentry_session_replay_rate: 0.01 sentry_session_replay_rate: 0.01

View File

@ -5,5 +5,7 @@ COJEDZIE_API_HUB=https://{{ cojedzie_domain }}
SENTRY_DSN={{ sentry_dsn_front }} SENTRY_DSN={{ sentry_dsn_front }}
SENTRY_SAMPLE_RATE={{ sentry_sample_rate_front }} SENTRY_SAMPLE_RATE={{ sentry_sample_rate_front }}
SENTRY_TRACE_RATE={{ sentry_trace_rate|default(0.1) }} SENTRY_SESSION_REPLAY_RATE={{ sentry_session_replay_rate }}
SENTRY_SESSION_RATE={{ sentry_session_rate|default(0.1) }} SENTRY_ERROR_REPLAY_RATE={{ sentry_error_replay_rate }}
# the node server reports to its own project, SENTRY_DSN is the browser's
SENTRY_SERVER_DSN={{ sentry_dsn_front_server }}

View File

@ -21,6 +21,7 @@ cojedzie_worker_version: "{{ cojedzie_version }}"
sentry_dsn_api: https://fd114053dd724e0eb16011ac0da16ba1@o4505224124891136.ingest.sentry.io/4505224126332928 sentry_dsn_api: https://fd114053dd724e0eb16011ac0da16ba1@o4505224124891136.ingest.sentry.io/4505224126332928
sentry_dsn_front: https://2815d4e0251240fcb9cd8c81c31e86fe@o4505224124891136.ingest.sentry.io/4505224128233472 sentry_dsn_front: https://2815d4e0251240fcb9cd8c81c31e86fe@o4505224124891136.ingest.sentry.io/4505224128233472
sentry_dsn_front_server: https://e5e0612c4db14123994ff855129c1476@o4505224124891136.ingest.us.sentry.io/4505258045538304
sentry_sample_rate_api: 0.05 sentry_sample_rate_api: 0.05
sentry_sample_rate_front: 0.01 sentry_sample_rate_front: 0.01
sentry_session_replay_rate: 0.01 sentry_session_replay_rate: 0.01