Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shairyar/704bd47846808a3a5bb497caf4e893d2 to your computer and use it in GitHub Desktop.
Save shairyar/704bd47846808a3a5bb497caf4e893d2 to your computer and use it in GitHub Desktop.
Fetch performance incidents of logged by AppSignal
query PaginatedPerformanceIncidentsQuery($appId: String!, $namespaces: [String], $limit: Int, $offset: Int) {
app(id: $appId) {
id
paginatedPerformanceIncidents(
namespaces: $namespaces
limit: $limit
offset: $offset
) {
total
rows {
...PerformanceIncidentRow
}
}
}
}
fragment PerformanceIncidentRow on PerformanceIncident {
id
number
actionNames
namespace
}
@shairyar
Copy link
Author

shairyar commented Jun 5, 2025

{
  "appId": "APPLICATION-ID",
  "namespaces": [],
  "offset": 0,
  "limit": 50
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment