The server reports to Sentry: project wyrm exists, its DSN is in the unit file, and the alert script knows the project
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CCLa2PaEeCj8njQZSWGqHx
This commit is contained in:
1 parent
edbeee3bb5
commit
47e9bc39ef
2 files changed
+2
-2
No files matched your search
@@ -22,7 +22,7 @@ AUTH="Authorization: Bearer $SENTRY_TOKEN"
|
||||
SLACK_ID="${SENTRY_SLACK_INTEGRATION:-345334}"
|
||||
: "${SLACK_CHANNEL_ID:?SLACK_CHANNEL_ID=C... is required (the Slack ID of the channel)}"
|
||||
CHANNEL_ID="$SLACK_CHANNEL_ID"
|
||||
PROJECT_ID="${SENTRY_PROJECT_ID:-__SENTRY_PROJECT_ID__}"
|
||||
PROJECT_ID="${SENTRY_PROJECT_ID:-4512325594578944}"
|
||||
echo "Slack integration $SLACK_ID; project $PROJECT_ID; channel $CHANNEL ($CHANNEL_ID)"
|
||||
|
||||
DETECTOR_ID=$(curl -s "$API/detectors/?project=$PROJECT_ID" -H "$AUTH" | python3 -c '
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ Environment=KEEPER_TZ=America/New_York
|
||||
Environment=HOST=127.0.0.1
|
||||
Environment=DATA_DIR=/var/lib/wyrm/rooms
|
||||
# Empty means no error reporting.
|
||||
Environment=SENTRY_DSN=
|
||||
Environment=SENTRY_DSN=https://a5e245adb21413c0b22dfa6b7a10f08a@o4509525984149504.ingest.us.sentry.io/4512325594578944
|
||||
ExecStart=/opt/wyrm/app/server/node_modules/.bin/tsx src/index.ts
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
Reference in new issue
Block a user