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
| @version: 3.30 | |
| @include "scl.conf" | |
| # Sources | |
| source s_local { | |
| internal(); | |
| }; | |
| source s_network { | |
| network( |
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 { |
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 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
| 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
| # 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
| ``` | |
| 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
| query OrganizationQuery($slug: String!) { | |
| organization(slug: $slug) { | |
| id | |
| name | |
| slug | |
| apps { | |
| id | |
| name | |
| environment | |
| viewerPinned |
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!, $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 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
| ```gql | |
| mutation importDashboardMutation($appId: String!, $json: String!) { | |
| importDashboard(appId: $appId, json: $json) { | |
| ...Dashboard | |
| __typename | |
| } | |
| } | |
| fragment Dashboard on Dashboard { | |
| id |
NewerOlder