mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08: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>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"action": "created",
|
|
"data": {
|
|
"issue": {
|
|
"platform": "python",
|
|
"lastSeen": "2020-04-28T14:05:04.210463Z",
|
|
"numComments": 0,
|
|
"userCount": 0,
|
|
"culprit": "",
|
|
"title": "A simple message-based issue.",
|
|
"id": "1635261062",
|
|
"assignedTo": null,
|
|
"logger": null,
|
|
"type": "default",
|
|
"annotations": [],
|
|
"metadata": {
|
|
"title": "A simple message-based issue."
|
|
},
|
|
"status": "unresolved",
|
|
"subscriptionDetails": null,
|
|
"isPublic": false,
|
|
"hasSeen": false,
|
|
"shortId": "ZULIP-INTEGRATION-TESTING-3",
|
|
"shareId": null,
|
|
"firstSeen": "2020-04-28T14:05:04.210463Z",
|
|
"count": "1",
|
|
"permalink": null,
|
|
"level": "info",
|
|
"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": "application",
|
|
"id": "sentry",
|
|
"name": "Sentry"
|
|
}
|
|
}
|