This file contains 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 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 OrganizationQuery($slug: String!) { | |
organization(slug: $slug) { | |
id | |
name | |
slug | |
apps { | |
id | |
name | |
environment | |
viewerPinned |
This file contains 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 PaginatedMetricsListQuery($appId: String!, $timeframe: TimeframeEnum, $query: [MetricAggregation!]!, $limit: Int, $offset: Int) { | |
app(id: $appId) { | |
id | |
metrics { | |
list( | |
query: $query | |
timeframe: $timeframe | |
limit: $limit | |
offset: $offset | |
) { |
This file contains 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
```gql | |
mutation importDashboardMutation($appId: String!, $json: String!) { | |
importDashboard(appId: $appId, json: $json) { | |
...Dashboard | |
__typename | |
} | |
} | |
fragment Dashboard on Dashboard { | |
id |
This file contains 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 createAppMutation($organizationSlug: String!, $name: String!, $environment: String!) { | |
createApp( | |
organizationSlug: $organizationSlug | |
name: $name | |
environment: $environment | |
) { | |
...FrontendApp | |
} | |
} |
This file contains 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 MetricKeysQuery { | |
app(id: "YOUR-APP-ID") { | |
metrics { | |
keys(name: "custom_exports.send") { | |
name | |
tags { | |
key | |
value | |
} | |
This file contains 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, $notificationFrequency: IncidentNotificationFrequencyEnum, $severity: IncidentSeverityEnum, $assigneeIds: [String!], $notificationThreshold: Int) { | |
updateIncident( | |
appId: $appId | |
number: $number | |
state: $state | |
description: $description | |
notificationFrequency: $notificationFrequency | |
notificationThreshold: $notificationThreshold | |
severity: $severity | |
assigneeIds: $assigneeIds |
This file contains 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
default: &defaults | |
push_api_key: "PUSH-API-KEY" | |
request_headers: | |
- HTTP_ACCEPT | |
- HTTP_ACCEPT_CHARSET | |
- HTTP_ACCEPT_ENCODING | |
- HTTP_ACCEPT_LANGUAGE | |
- HTTP_CACHE_CONTROL | |
- HTTP_CONNECTION |
This file contains 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 PaginatedExceptionIncidentsQuery($appId: String!, $namespaces: [String], $markerId: String, $limit: Int, $offset: Int, $state: IncidentStateEnum, $order: IncidentOrderEnum) { | |
app(id: $appId) { | |
id | |
paginatedExceptionIncidents( | |
namespaces: $namespaces | |
marker: $markerId | |
limit: $limit | |
state: $state | |
offset: $offset | |
order: $order |
This file contains 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 createUptimeMonitorMutation($appId: String!, $uptimeMonitor: UptimeMonitorInput!) { | |
createUptimeMonitor(appId: $appId, uptimeMonitor: $uptimeMonitor) { | |
...UptimeMonitor | |
__typename | |
} | |
} | |
fragment UptimeMonitor on UptimeMonitor { | |
id | |
name |
NewerOlder