I have set up an Issue Alert to call a webhhook integration any new issue, except the issues with specific conditions. The filter can be seen in the following screenshot:
However, it occasionally get alerts for the events that doesn’t meet the conditions. For instance, here is a event that triggered the alert and webhook even though its title contains “SocketTimeoutException” which doesn’t meet the second condition of definition above.
To double check and make sure the title of this particular event actually contained “SocketTimeoutException”, I retrieved event data using Sentry API:
curl -H "Authorization: Bearer <token>" \
https://<domain>/api/0/projects/sentry/android/events/56fcd5268b78418282a33afc49398a17/
which returned the following data (irrelevant parts are removed). Note the title value is SocketTimeoutException: timeout
, therefore the issue should not have triggered the alert.
{
"id": "56fcd5268b78418282a33afc49398a17",
"groupID": "514056",
"eventID": "56fcd5268b78418282a33afc49398a17",
"projectID": "4",
"size": 87216,
"entries": [
{
"data": {
"values": [
{
"type": "SocketTimeoutException",
"value": "timeout",
"mechanism": null,
"threadId": 1,
"module": "java.net",
"stacktrace": {...},
"rawStacktrace": {...}
}
],
"hasSystemFrames": false,
"excOmitted": null
},
"type": "exception"
},
{
"data": {
"values": [
{
"id": 1,
"current": true,
"crashed": true,
"name": "main",
"stacktrace": {...},
"rawStacktrace": {...}
}
]
},
"type": "threads"
},
{
"data": {
"values": [...]
},
"type": "breadcrumbs"
},
{
"data": {
"images": [
{
"uuid": "777b0aae-13bf-570f-86b5-f7372a5b93b8",
"type": "proguard"
}
]
},
"type": "debugmeta"
}
],
"dist": "5185",
"message": "",
"title": "SocketTimeoutException: timeout",
"location": "Okio.java",
"user": {...},
"contexts": {
"app": {...},
"device": {...},
"os": {...}
},
"sdk": {
"name": "sentry.java.android",
"version": "3.2.0"
},
"context": {},
"packages": {},
"type": "error",
"metadata": {
"filename": "Okio.java",
"function": "newTimeoutException",
"type": "SocketTimeoutException",
"value": "timeout"
},
"tags": [...],
"platform": "java",
"dateReceived": "2021-10-13T19:29:09.781353Z",
"errors": [],
"_meta": {
"entries": {},
"message": null,
"user": null,
"contexts": null,
"sdk": null,
"context": null,
"packages": null,
"tags": {}
},
"crashFile": null,
"culprit": "okio.Okio$4 in newTimeoutException",
"dateCreated": "2021-10-13T19:29:07.628000Z",
"fingerprints": [
"aa6d31465c49a522dcff54202a7d4445"
],
"groupingConfig": {
"enhancements": "eJybzDRxY3J-bm5-npWRgaGlroGxrpHxBABcYgcZ",
"id": "newstyle:2019-10-29"
},
"release": {...},
"userReport": null,
"sdkUpdates": [],
"nextEventID": null,
"previousEventID": null
}