This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
query uptimeMonitorNotifierQuery($appId: String!) { | |
app(id: $appId) { | |
id | |
notifiers { | |
id | |
name | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements: | |
# bundle install | |
# bundle exec ruby app.rb | |
# app.rb | |
require "appsignal" | |
# Configure appsignal if needed | |
Appsignal.configure do |config| | |
# config.<option> = value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation updateIncidentMutation($appId: String!, $number: Int!, $state: IncidentStateEnum, $description: String) { | |
updateIncident( | |
appId: $appId | |
number: $number | |
state: $state | |
description: $description | |
) { | |
... on ExceptionIncident { | |
id | |
state |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query OrganizationsQuery { | |
viewer { | |
id | |
organizations { | |
id | |
name | |
users { | |
id | |
name | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query AssignedIncidentsQuery($appId: String, $limit: Int, $offset: Int, $state: [IncidentStateEnum!], $severity: IncidentSeverityEnum, $query: String, $assigneeIds: [String!]) { | |
viewer { | |
id | |
incidents( | |
limit: $limit | |
offset: $offset | |
appId: $appId | |
state: $state | |
severity: $severity | |
query: $query |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query PaginatedPerformanceIncidentsQuery($appId: String!, $namespaces: [String], $limit: Int, $offset: Int) { | |
app(id: $appId) { | |
id | |
paginatedPerformanceIncidents( | |
namespaces: $namespaces | |
limit: $limit | |
offset: $offset | |
) { | |
total | |
rows { |
OlderNewer