Closed Bug 1758701 Opened 3 years ago Closed 3 years ago

enhance sentry-wrap.py to have a "test sentry" mode

Categories

(Socorro :: General, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

Details

Attachments

(1 file)

Socorro uses a sentry-wrap.py script to wrap the process that runs database migrations during deployment. If the database migrations kick up an error, then sentry-wrap.py captures that error and sends it to Sentry. That's very handy!

This bug covers enhancing that script to send arbitrary messages which would allow us to test configuration and connection from instance in our server environments.

Grabbing this to do today.

One thing that we need to be aware of is that crontabber and the processor configure sentry one way, but the webapp configures it in a different way. The script would need to work for both situations or have a mode or something. We wouldn't want to test a crontabber instance using webapp configuration--that won't really tell us what we think it should be telling us.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

I deployed this to prod just now in bug #1759160. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: