mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Sentry has client SDKs for many programming languages and frameworks.
Sentry has deprecated their old "Raven" series of client SDKs in favor
of a new series of client SDKs following their unified API format.
As it stood, our Sentry integration was already outdated being written
for the version 5 payloads (the Raven SDKs stopped at version 6 which
is already vastly different from version 5) when the current and
prominently used version is version 7.
This commit completely rewrites the existing Sentry integration.
Tested and supported events:
- Issue created, resolved, assigned, and ignored events.
- "Sentry events" for "capture exception" and "capture message" with
the Golang, Node.js, and Python SDKs (other SDKs should also work but
only these were used for testing).
For reference:
- Old (Raven) SDK for python:
https://github.com/getsentry/raven-python
- New (Unified API format) SDK for python:
https://github.com/getsentry/sentry-python
Signed-off-by: Hemanth V. Alluri <hdrive1999@gmail.com>
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"action": "ignored",
|
|
"data": {
|
|
"issue": {
|
|
"platform": "python",
|
|
"lastSeen": "2020-04-30T05:54:15.092476Z",
|
|
"numComments": 0,
|
|
"userCount": 0,
|
|
"culprit": "__main__ in <module>",
|
|
"title": "Exception: program has entered an invalid state.",
|
|
"id": "1638821441",
|
|
"assignedTo": null,
|
|
"logger": null,
|
|
"type": "error",
|
|
"annotations": [],
|
|
"metadata": {
|
|
"function": "<module>",
|
|
"type": "Exception",
|
|
"value": "program has entered an invalid state.",
|
|
"filename": "trigger-exception.py"
|
|
},
|
|
"status": "ignored",
|
|
"subscriptionDetails": null,
|
|
"isPublic": false,
|
|
"hasSeen": false,
|
|
"shortId": "ZULIP-INTEGRATION-TESTING-E",
|
|
"shareId": null,
|
|
"firstSeen": "2020-04-30T05:54:15.092476Z",
|
|
"count": "1",
|
|
"permalink": null,
|
|
"level": "error",
|
|
"isSubscribed": false,
|
|
"isBookmarked": false,
|
|
"project": {
|
|
"platform": "python",
|
|
"slug": "zulip-integration-testing",
|
|
"id": "5216640",
|
|
"name": "Zulip Integration Testing"
|
|
},
|
|
"statusDetails": {}
|
|
}
|
|
},
|
|
"installation": {
|
|
"uuid": "65027794-169a-4042-80d0-808ece377141"
|
|
},
|
|
"actor": {
|
|
"type": "user",
|
|
"id": 662437,
|
|
"name": "Hemanth V. Alluri"
|
|
}
|
|
}
|