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 createAppMutation($organizationSlug: String!, $name: String!, $environment: String!) { | |
| createApp( | |
| organizationSlug: $organizationSlug | |
| name: $name | |
| environment: $environment | |
| ) { | |
| ...FrontendApp | |
| } | |
| } |
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 MetricKeysQuery { | |
| app(id: "YOUR-APP-ID") { | |
| metrics { | |
| keys(name: "custom_exports.send") { | |
| name | |
| tags { | |
| key | |
| 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, $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 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
| 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 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 PaginatedExceptionIncidentsQuery($appId: String!, $namespaces: [String], $markerId: String, $limit: Int, $offset: Int, $state: IncidentStateEnum, $order: IncidentOrderEnum, $exceptionQuery: ExceptionIncidentQueryEnum, $timeframe: TimeframeEnum, $start: DateTime, $end: DateTime) { | |
| app(id: $appId) { | |
| id | |
| paginatedExceptionIncidents( | |
| namespaces: $namespaces | |
| marker: $markerId | |
| limit: $limit | |
| state: $state | |
| offset: $offset | |
| order: $order |
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 createUptimeMonitorMutation($appId: String!, $uptimeMonitor: UptimeMonitorInput!) { | |
| createUptimeMonitor(appId: $appId, uptimeMonitor: $uptimeMonitor) { | |
| ...UptimeMonitor | |
| __typename | |
| } | |
| } | |
| fragment UptimeMonitor on UptimeMonitor { | |
| 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 CustomMetricsDashboardsDefinitionQuery($appId: String!) { | |
| app(id: $appId) { | |
| id | |
| dashboards { | |
| ...Dashboard | |
| __typename | |
| } | |
| __typename | |
| } | |
| } |
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 PaginatedMetricsListQuery($appId: String!, $start: DateTime, $end: DateTime, $timeframe: TimeframeEnum, $query: [MetricAggregation!]!) { | |
| app(id: $appId) { | |
| id | |
| metrics { | |
| list(start: $start, end: $end, timeframe: $timeframe, query: $query) { | |
| start | |
| end | |
| rows { | |
| name | |
| tags { |
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 PaginatedMetricsListQuery( | |
| $appId: String!, | |
| $start: DateTime, | |
| $end: DateTime, | |
| $timeframe: TimeframeEnum, | |
| $query: [MetricAggregation!]! | |
| $limit: Int, | |
| $offset: Int | |
| ){ | |
| app(id: $appId) { |
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 IncidentQuery($appId: String!, $incidentNumber: Int!, $sampleId: String, $timestamp: String, $timerange: [DateTime]) { | |
| app(id: $appId) { | |
| id | |
| incident(incidentNumber: $incidentNumber) { | |
| ... on ExceptionIncident { | |
| ...ExceptionIncident | |
| logbook { | |
| ...Logbook | |
| __typename | |
| } |