/** * THIS FILE IS AUTOGENERATED. * DO NOT EDIT MANUALLY. * Generated from AppSignal GraphQL schema using graphql-codegen. */ export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K]; }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe; }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe; }; export type MakeEmpty = { [_ in K]?: never; }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; }; String: { input: string; output: string; }; Boolean: { input: boolean; output: boolean; }; Int: { input: number; output: number; }; Float: { input: number; output: number; }; DateTime: { input: any; output: any; }; JSON: { input: any; output: any; }; PreciseDateTime: { input: any; output: any; }; }; export type ActionLink = { __typename?: 'ActionLink'; sourceAction: ActionLinkAction; sourceApp: App; targetAction: ActionLinkAction; targetApp: App; }; export type ActionLinkAction = { __typename?: 'ActionLinkAction'; id: Scalars['String']['output']; name: Scalars['String']['output']; namespace: Scalars['String']['output']; }; /** * A list of fields to return. * * Example: * * "fields": [ * {"field": COUNT, "aggregate": SUM}, * {"field": P90, "aggregate", AVG} * ] * */ export type AggregateField = { /** Aggregation to perform (SUM, AVG, MIN and MAX) */ aggregate: MetricAggregateEnum; /** Name of field to return (MEAN, COUNT, P90, P95 and gauge) */ field: MetricFieldEnum; }; /** Aggregation of metrics grouped by tags */ export type AggregationList = { __typename?: 'AggregationList'; /** End time of performed metric query */ end: Scalars['DateTime']['output']; /** Rows returned for aggregated list */ rows?: Maybe>; /** Start time of performed metric query */ start: Scalars['DateTime']['output']; /** Total keys found for query, only populated when $offset is 0 */ total?: Maybe; }; /** Row with grouped aggregation list data */ export type AggregationListRow = { __typename?: 'AggregationListRow'; /** List of fields with value for metric */ fields?: Maybe>; /** ID of metric */ id: Scalars['String']['output']; /** Name of metric */ name: Scalars['String']['output']; /** List of tags for metric */ tags?: Maybe>; }; /** Alert triggered by metrics monitor */ export type Alert = { __typename?: 'Alert'; /** Time at which the alert was closed after cooling down. Is 'null' if still open. */ closedAt?: Maybe; /** (optional) Reason alert was closed */ closedReason?: Maybe; /** Time at which an alert was created. The condition for the parent Trigger was met at this time. */ createdAt?: Maybe; /** Time at which the first notification was sent. */ firstNotifiedAt?: Maybe; /** Triggered Alert ID */ id: Scalars['String']['output']; /** Time at which the alert was last processed. */ lastProcessedAt?: Maybe; /** Last value that triggered the alert */ lastValue: Scalars['Float']['output']; /** Mean value during alert */ mean: Scalars['Float']['output']; /** (optional) Message */ message?: Maybe; /** Digest of metric that triggered the alert */ metricDigest: Scalars['String']['output']; /** Time at which the alert was opened after warming up. */ openedAt?: Maybe; /** Peak value during alert */ peakValue: Scalars['Float']['output']; /** Time at which the alert was resolved before cooling down. Can be reopened if occurred during cooldown. Is 'null' if still open or warming up. */ resolvedAt?: Maybe; /** The current alert state */ state: AlertStateEnum; /** List of state changes */ stateChanges?: Maybe>; /** List of tags */ tags?: Maybe>; /** End of timeframe for alert data */ timeframeEndAt?: Maybe; /** Start of timeframe for alert data */ timeframeStartAt?: Maybe; /** Alert trigger that triggered this alert */ trigger: Trigger; /** Version of alert */ version: Scalars['Int']['output']; }; /** State changes for an alert */ export type AlertStateChange = { __typename?: 'AlertStateChange'; /** The current alert state */ state: AlertStateEnum; /** Time the state was changed */ time?: Maybe; /** Last value that triggered the alert */ value?: Maybe; }; export declare enum AlertStateEnum { Archived = "ARCHIVED", Closed = "CLOSED", Cooldown = "COOLDOWN", Open = "OPEN", Untracked = "UNTRACKED", Warmup = "WARMUP" } /** Anomaly incident in which a problem or exception was reported */ export type AnomalyIncident = IncidentInterface & { __typename?: 'AnomalyIncident'; /** Alert that was triggered by this incident */ alert?: Maybe; /** Alert state of this incident */ alertState?: Maybe; /** Alerts that were triggered by this incident */ alerts?: Maybe>>; /** App in which the incident occurred */ app?: Maybe; /** Users assigned to investigate or resolve this incident */ assignees?: Maybe>>; /** Total count of all recorded requests/jobs for this incident */ count: Scalars['Int']['output']; /** Create time of incident */ createdAt?: Maybe; /** Incident description, or steps to solve the issue */ description?: Maybe; /** All incident digests */ digests?: Maybe>; /** Incident ID */ id: Scalars['String']['output']; /** List of available integration types */ integrations?: Maybe>>; /** Time incident last occurred at */ lastOccurredAt?: Maybe; /** Logbook for incident */ logbook: Logbook; /** Notification frequency for incident */ notificationFrequency?: Maybe; /** Incident number */ number: Scalars['Int']['output']; /** Severity of incident (critical/high/low/etc.) */ severity?: Maybe; /** State of incident (open/closed) */ state?: Maybe; /** Incident summary */ summary?: Maybe; /** Tags of metric that matches this triggered incident */ tags?: Maybe>; /** Trigger that triggered this incident */ trigger?: Maybe; /** Last update time of incident */ updatedAt?: Maybe; }; /** Anomaly incident in which a problem or exception was reported */ export type AnomalyIncidentAlertArgs = { id: Scalars['String']['input']; }; /** Anomaly incident in which a problem or exception was reported */ export type AnomalyIncidentAlertsArgs = { limit?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type App = { __typename?: 'App'; /** Linked apps through distributed tracing */ actionLinks?: Maybe>>; /** List triggered alerts */ alerts?: Maybe>>; anomalyIncidents?: Maybe>>; /** Backtrace for the given ID */ backtrace?: Maybe>>; /** Check-in-related queries */ checkIns?: Maybe; createdAt?: Maybe; dashboard?: Maybe; dashboards?: Maybe>>; /** List of deploy markers */ deployMarkers?: Maybe>>; /** App environment */ environment: Scalars['String']['output']; /** TEMPORARY, DO NOT USE. Event */ event?: Maybe; /** TEMPORARY, DO NOT USE. (top) list of event group metrics (e.g. active_record) */ eventGroupList?: Maybe; exceptionIncidents?: Maybe>>; /** Front-End API key */ frontendApiKey: Scalars['String']['output']; /** Getting started items */ gettingStartedItems: Array>; /** App ID */ id: Scalars['String']['output']; incident?: Maybe; /** List of all incidents (Exception and Performance) */ incidents?: Maybe>>; /** Linked apps through distributed tracing */ links?: Maybe>>; logIncidents?: Maybe>>; logView?: Maybe; logViews?: Maybe>>; /** Log-related queries */ logs?: Maybe; /** Single marker of any type, by id */ marker?: Maybe; /** List of all marker types (Deploy/Notification/Custom) */ markers?: Maybe>>; /** Metrics for app, (timelines/lists/gauges) */ metrics?: Maybe; /** App name */ name: Scalars['String']['output']; /** List of seen namespaces */ namespaces?: Maybe>; /** List of available 3rd party notifiers */ notifiers?: Maybe>>; /** Organization that this app belongs to. */ organization?: Maybe; paginatedAnomalyIncidents?: Maybe; paginatedExceptionIncidents?: Maybe; paginatedLogIncidents?: Maybe; paginatedPerformanceIncidents?: Maybe; performanceIncidents?: Maybe>>; /** List of seen platforms */ platforms?: Maybe>; /** Push API key (Heroku apps only) (internal use only, might be removed) */ pushApiKey: Scalars['String']['output']; /** Span-related queries */ spans?: Maybe; /** App status */ status: Scalars['String']['output']; /** List of time detective data points that occurred within a specific time. */ timeDetectiveErrorDataPoints?: Maybe>>; /** List of time detective data points that occurred within a specific time. */ timeDetectivePerformanceDataPoints?: Maybe>>; /** Find a single trigger. */ trigger?: Maybe; /** List alert triggers for apps. */ triggers?: Maybe>>; updatedAt?: Maybe; uptimeMonitor?: Maybe; /** List of available uptime monitor regions */ uptimeMonitorRegions?: Maybe>>; /** List of uptime monitors for app. */ uptimeMonitors?: Maybe>>; users?: Maybe>>; viewerPinned?: Maybe; }; /** An AppSignal app */ export type AppActionLinksArgs = { end?: InputMaybe; sourceAppId: Scalars['String']['input']; start?: InputMaybe; targetAppId: Scalars['String']['input']; timeframe?: InputMaybe; }; /** An AppSignal app */ export type AppAlertsArgs = { end?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; start?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppAnomalyIncidentsArgs = { limit?: InputMaybe; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppBacktraceArgs = { id: Scalars['String']['input']; revision: Scalars['String']['input']; }; /** An AppSignal app */ export type AppDashboardArgs = { id: Scalars['String']['input']; }; /** An AppSignal app */ export type AppDeployMarkersArgs = { dummy?: InputMaybe; end?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; revisions?: InputMaybe>>; start?: InputMaybe; }; /** An AppSignal app */ export type AppEventArgs = { digest: Scalars['String']['input']; }; /** An AppSignal app */ export type AppEventGroupListArgs = { end?: InputMaybe; groups: Array; start?: InputMaybe; timeframe?: InputMaybe; }; /** An AppSignal app */ export type AppExceptionIncidentsArgs = { actionName?: InputMaybe; limit?: InputMaybe; marker?: InputMaybe; namespaces?: InputMaybe>>; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppIncidentArgs = { incidentNumber: Scalars['Int']['input']; }; /** An AppSignal app */ export type AppIncidentsArgs = { actionName?: InputMaybe; limit?: InputMaybe; marker?: InputMaybe; namespaces?: InputMaybe>>; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppLinksArgs = { end?: InputMaybe; start?: InputMaybe; timeframe?: InputMaybe; }; /** An AppSignal app */ export type AppLogIncidentsArgs = { limit?: InputMaybe; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppLogViewArgs = { id: Scalars['String']['input']; }; /** An AppSignal app */ export type AppMarkerArgs = { id: Scalars['String']['input']; }; /** An AppSignal app */ export type AppMarkersArgs = { end?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; start?: InputMaybe; }; /** An AppSignal app */ export type AppPaginatedAnomalyIncidentsArgs = { limit?: InputMaybe; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppPaginatedExceptionIncidentsArgs = { actionName?: InputMaybe; limit?: InputMaybe; marker?: InputMaybe; namespaces?: InputMaybe>>; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppPaginatedLogIncidentsArgs = { limit?: InputMaybe; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppPaginatedPerformanceIncidentsArgs = { actionName?: InputMaybe; limit?: InputMaybe; marker?: InputMaybe; namespaces?: InputMaybe>>; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppPerformanceIncidentsArgs = { actionName?: InputMaybe; limit?: InputMaybe; marker?: InputMaybe; namespaces?: InputMaybe>>; offset?: InputMaybe; order?: InputMaybe; state?: InputMaybe; }; /** An AppSignal app */ export type AppTimeDetectiveErrorDataPointsArgs = { end: Scalars['DateTime']['input']; namespaces: Array>; start: Scalars['DateTime']['input']; }; /** An AppSignal app */ export type AppTimeDetectivePerformanceDataPointsArgs = { end: Scalars['DateTime']['input']; namespaces: Array>; start: Scalars['DateTime']['input']; }; /** An AppSignal app */ export type AppTriggerArgs = { id?: InputMaybe; }; /** An AppSignal app */ export type AppUptimeMonitorArgs = { id?: InputMaybe; }; export type Asana = IntegrationInterface & { __typename?: 'Asana'; /** Form data fields for Asana integration */ formData?: Maybe; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; /** List of Asana tasks */ tasks: Array>; }; export type AsanaFormData = IntegrationFormDataInterface & { __typename?: 'AsanaFormData'; /** Body */ body: Scalars['String']['output']; /** Title */ title: Scalars['String']['output']; }; export type AsanaTask = IntegrationResultInterface & { __typename?: 'AsanaTask'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; export type AssigneeChange = ItemInterface & { __typename?: 'AssigneeChange'; /** Added assignees */ addedAssignees: Array; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Current assignees */ currentAssignees: Array; /** Change ID. */ id: Scalars['String']['output']; /** Previous assignees */ previousAssignees: Array; /** Removed assignees */ removedAssignees: Array; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; }; export type BacktraceLine = { __typename?: 'BacktraceLine'; /** Backtrace surrounding code */ code?: Maybe>>; /** Backtrace column number */ column?: Maybe; /** Backtrace line parse error */ error?: Maybe; /** Backtrace line number */ line?: Maybe; /** Backtrace method */ method?: Maybe; /** Original (unparsed) line */ original?: Maybe; /** Backtrace path */ path?: Maybe; /** Backtrace type, (line/app) */ type?: Maybe; /** Backtrace url */ url?: Maybe; }; /** Breadcrumb belonging to a sample */ export type Breadcrumb = { __typename?: 'Breadcrumb'; /** Action performed to create breadcrumb (e.g The user clicked a button) */ action: Scalars['String']['output']; /** Category (e.g. Network) */ category: Scalars['String']['output']; /** Log message */ message?: Maybe; /** Metadata recorded when breadcrumb was created. */ metadata?: Maybe>>; /** Time of breadcrumb creation */ time?: Maybe; }; export type BulkTimeseries = { __typename?: 'BulkTimeseries'; /** List if series used for metrics */ series: Array; /** List of values to plot */ values: Array; }; export type CheckIn = { __typename?: 'CheckIn'; /** Actual duration of the run in milliseconds */ actualDuration?: Maybe; /** Actual finish time */ actualEnd?: Maybe; /** Actual start time */ actualStart?: Maybe; /** Expected duration of the run in milliseconds */ expectedDuration?: Maybe; /** Expected finish time */ expectedEnd: Scalars['DateTime']['output']; /** Expected start time */ expectedStart: Scalars['DateTime']['output']; /** ID of the run */ id: Scalars['String']['output']; /** State of the check-in */ state: CheckInStateEnum; /** updates */ updates?: Maybe>; }; export declare enum CheckInKindEnum { Finish = "FINISH", Start = "START" } export declare enum CheckInStateEnum { Finished = "FINISHED", Late = "LATE", Missed = "MISSED", New = "NEW", Started = "STARTED", Unexpected = "UNEXPECTED" } export type CheckInTrigger = { __typename?: 'CheckInTrigger'; checkIn?: Maybe; checkIns?: Maybe>; /** Description of the heartbeat trigger */ description?: Maybe; /** ID of the check-in trigger */ id: Scalars['String']['output']; /** Identifier of the check-in trigger */ identifier: Scalars['String']['output']; /** Kind of check-in trigger */ kind: CheckInTriggerKindEnum; /** Last error time, if present */ lastErrorAt?: Maybe; /** State of the last received check-in */ lastState: CheckInStateEnum; /** Last success time, if present */ lastSuccessAt?: Maybe; /** Last update time, if present */ lastUpdateAt?: Maybe; /** Logbook for trigger */ logbook: Logbook; notifiers?: Maybe>; /** Cron syntax */ syntax?: Maybe; /** Timezone */ timezone: Scalars['String']['output']; /** Wait time in minutes */ waitTimeMinutes: Scalars['Int']['output']; }; export type CheckInTriggerCheckInArgs = { id: Scalars['String']['input']; }; export type CheckInTriggerCheckInsArgs = { limit?: InputMaybe; offset?: InputMaybe; states?: InputMaybe>; }; export declare enum CheckInTriggerKindEnum { Cron = "CRON", Heartbeat = "HEARTBEAT" } export type CheckInUpdate = { __typename?: 'CheckInUpdate'; /** Digest provided by the user */ digest?: Maybe; /** Check-in kind */ kind: CheckInKindEnum; /** Timestamp of check-in */ timestamp: Scalars['DateTime']['output']; }; export type CheckIns = { __typename?: 'CheckIns'; /** Check-in trigger by id */ trigger?: Maybe; /** List of check-in triggers */ triggers?: Maybe>; }; export type CheckInsTriggerArgs = { id?: InputMaybe; }; export type Code = { __typename?: 'Code'; /** Code line number */ line?: Maybe; /** Code source */ source?: Maybe; }; /** Autogenerated return type of CreateCsvExport. */ export type CreateCsvExportPayload = { __typename?: 'CreateCsvExportPayload'; success: Scalars['Boolean']['output']; }; /** Autogenerated return type of CreateCsvExportUrl. */ export type CreateCsvExportUrlPayload = { __typename?: 'CreateCsvExportUrlPayload'; error?: Maybe; filename?: Maybe; success: Scalars['Boolean']['output']; url?: Maybe; }; export type CreateStatusPageInput = { /** Description for the status page */ description?: InputMaybe; /** Hostname for the status page */ hostname: Scalars['String']['input']; /** Minimum threshold for considering a service down */ threshold?: InputMaybe; /** Title of the status page */ title: Scalars['String']['input']; /** Uptime monitors associated to the status page */ uptimeMonitorIds?: InputMaybe>; }; /** CSV Export */ export type CsvExport = { __typename?: 'CsvExport'; completedAt?: Maybe; createdAt: Scalars['DateTime']['output']; errorMessage?: Maybe; /** Type of the export */ exportType: Scalars['String']['output']; /** Filename */ fileName?: Maybe; /** Size of the file */ fileSize?: Maybe; /** Download url for the file */ fileUrl?: Maybe; /** CSV Export ID */ id: Scalars['String']['output']; /** Organization .for this export */ organization?: Maybe; /** User who requested the export. If empty, the user was deleted. */ requestedBy?: Maybe; /** Number of exported rows */ rowCount?: Maybe; /** Site for the export */ site?: Maybe; /** Status of the export */ status: CsvExportStateEnum; }; export declare enum CsvExportStateEnum { Completed = "COMPLETED", Failed = "FAILED", Pending = "PENDING", Processing = "PROCESSING" } /** Marker with custom information */ export type CustomMarker = MarkerInterface & { __typename?: 'CustomMarker'; /** UTC ISO8601 Datetime of deploy */ createdAt: Scalars['DateTime']['output']; /** (Emoji) Icon for custom marker */ icon: Scalars['String']['output']; /** Marker ID */ id: Scalars['String']['output']; /** Message for custom marker */ message: Scalars['String']['output']; }; export type Dashboard = { __typename?: 'Dashboard'; /** Timestamp at which the dashboard was created. */ createdAt: Scalars['DateTime']['output']; /** Dashboard description */ description?: Maybe; /** * Deprecated list of graphs on the dashboard. Use `visuals` instead. * @deprecated Use the `Visual*` types instead. Graphs will be removed soon. */ graphs: Array; /** Dashboard ID */ id: Scalars['String']['output']; /** * Dashboard key for AUTO generated dashboards, see `source` field. Used to identify what * "magic" dashboard it is. * */ key?: Maybe; /** Dashboard source. User created or generated by the system. */ source: DashboardSourceEnum; /** Dashboard title */ title: Scalars['String']['output']; /** Timestamp at which the dashboard was last updated. */ updatedAt: Scalars['DateTime']['output']; /** * Selected visual displayed on the dashboard. These are graphs and other components. * */ visual?: Maybe; /** * List of visuals displayed on the dashboard. These are graphs and other components. * */ visuals: Array; }; export type DashboardVisualArgs = { id: Scalars['String']['input']; }; export declare enum DashboardDisplayEnum { Area = "AREA", AreaRelative = "AREA_RELATIVE", Line = "LINE" } export type DashboardGraph = { __typename?: 'DashboardGraph'; /** Graph description */ description?: Maybe; display?: Maybe; drawNullAsZero?: Maybe; format?: Maybe; formatInput?: Maybe; /** * Customizable name for the line. * Support replacements for the metric names, fields and tags with %name%, * %field% and %tag% (where tag is the tag name you've specified). * * Defaults to %name% * */ lineLabel?: Maybe; metrics?: Maybe>; minYAxis?: Maybe; /** Graph title */ title: Scalars['String']['output']; }; export type DashboardGraphInput = { description?: InputMaybe; display?: InputMaybe; drawNullAsZero?: InputMaybe; format?: InputMaybe; formatInput?: InputMaybe; /** * Customizable name for the line. * Support replacements for the metric names, fields and tags with %name%, * %field% and %tag% (where tag is the tag name you've specified). * * Defaults to %name% * */ lineLabel?: InputMaybe; metrics?: InputMaybe>; minYAxis?: InputMaybe; /** List of tags for the graph */ tags?: InputMaybe>; title: Scalars['String']['input']; }; export type DashboardGraphMetric = { __typename?: 'DashboardGraphMetric'; /** Metric fields */ fields?: Maybe>; /** Metric name */ name: Scalars['String']['output']; /** List of tags of the graph */ tags?: Maybe>; }; export type DashboardGraphMetricInput = { fields: Array; name: Scalars['String']['input']; /** List of tags for the metric */ tags?: InputMaybe>; }; /** * Dashboard source. User created or automatically added by the system. * When AppSignal detects certain metrics, language or library specific metrics, it will add * a "magic" dashboard for it and related metrics. * */ export declare enum DashboardSourceEnum { /** Automatically created dashboards when certain app metrics are detected. */ Auto = "AUTO", /** Manually user created dashboards. */ User = "USER" } export type DataInput = { x: Scalars['DateTime']['input']; y?: InputMaybe; y0?: InputMaybe; y1?: InputMaybe; }; /** Marker with deploy information */ export type DeployMarker = MarkerInterface & { __typename?: 'DeployMarker'; /** UTC ISO8601 Datetime of deploy */ createdAt: Scalars['DateTime']['output']; /** Number of exceptions in deploy */ exceptionCount: Scalars['Int']['output']; /** Exception rate in deploy */ exceptionRate: Scalars['Float']['output']; /** Git(hub/lab) compare url */ gitCompareUrl?: Maybe; /** Marker ID */ id: Scalars['String']['output']; /** Time deploy was live in hours */ liveFor: Scalars['Int']['output']; /** Time deploy was live in words */ liveForInWords: Scalars['String']['output']; /** Namespace of the deploy */ namespace?: Maybe; /** (Git) Revision */ revision?: Maybe; /** First 8 characters of the git revision */ shortRevision?: Maybe; /** User that performed the deploy */ user?: Maybe; }; export type Error = { __typename?: 'Error'; /** Error class */ class: Scalars['String']['output']; /** Error message */ message?: Maybe; }; /** Error cause for an exception sample */ export type ErrorCause = { __typename?: 'ErrorCause'; firstLine?: Maybe; /** Error message */ message?: Maybe; /** Error name */ name: Scalars['String']['output']; }; export type Event = { __typename?: 'Event'; /** Digest of event */ digest?: Maybe; /** List of actions where this event occurred */ incidents?: Maybe>>; /** Name of event */ name?: Maybe; /** Payload of event */ payload?: Maybe; /** Metrics timeseries data */ timeseries?: Maybe; /** Title of event */ title?: Maybe; }; export type EventTimeseriesArgs = { end?: InputMaybe; start?: InputMaybe; timeframe?: InputMaybe; }; export type Exception = { __typename?: 'Exception'; /** Backtrace of the exception */ backtrace?: Maybe>>; /** Message of the exception */ message?: Maybe; /** Type/Name of the exception */ name?: Maybe; }; /** Exception incident in which a problem or exception was reported */ export type ExceptionIncident = IncidentInterface & TransactionIncidentInterface & { __typename?: 'ExceptionIncident'; /** All action names where incident occurred, only exception incidents can have more than one action name */ actionNames?: Maybe>; /** App in which the incident occurred */ app?: Maybe; /** Users assigned to investigate or resolve this incident */ assignees?: Maybe>>; /** Total count of all recorded requests/jobs for this incident */ count: Scalars['Int']['output']; /** Create time of incident */ createdAt?: Maybe; /** Incident description, or steps to solve the issue */ description?: Maybe; /** All incident digests */ digests?: Maybe>; /** Error grouping strategy */ errorGroupingStrategy: IncidentErrorGroupingEnum; /** Exception message */ exceptionMessage?: Maybe; /** Name of exception, usually the error class */ exceptionName?: Maybe; /** First (application) backtrace line */ firstBacktraceLine?: Maybe; /** First deploy this error was seen in */ firstMarker?: Maybe; /** Indicates wether this incidents has any samples in the retention of an account */ hasSamplesInRetention: Scalars['Boolean']['output']; /** Incident ID */ id: Scalars['String']['output']; /** List of available integration types */ integrations?: Maybe>>; /** Time incident last occurred at */ lastOccurredAt?: Maybe; /** Time of last recorded sample */ lastSampleOccurredAt?: Maybe; /** Logbook for incident */ logbook: Logbook; /** Metadata distributions */ metadataDistributions: Array>; /** Namespace the incident occurred in. */ namespace?: Maybe; /** Notification frequency for incident */ notificationFrequency?: Maybe; /** Notification threshold (nth in hour/day) for incident */ notificationThreshold?: Maybe; /** Incident number */ number: Scalars['Int']['output']; /** Total duration of all recorded requests/jobs for this incident and revision/marker */ perMarkerCount?: Maybe; /** Sample for incident, returns first sample that matches the arguments */ sample?: Maybe; /** Samples for incident */ samples?: Maybe>>; /** Severity of incident (critical/high/low/etc.) */ severity?: Maybe; /** Source of exception, can be 'sample' or 'span' */ source?: Maybe; /** State of incident (open/closed) */ state?: Maybe; /** Incident summary */ summary?: Maybe; /** Last update time of incident */ updatedAt?: Maybe; }; /** Exception incident in which a problem or exception was reported */ export type ExceptionIncidentPerMarkerCountArgs = { marker?: InputMaybe; }; /** Exception incident in which a problem or exception was reported */ export type ExceptionIncidentSampleArgs = { id?: InputMaybe; timerange?: InputMaybe>>; timestamp?: InputMaybe; }; /** Exception incident in which a problem or exception was reported */ export type ExceptionIncidentSamplesArgs = { end?: InputMaybe; limit?: InputMaybe; start?: InputMaybe; }; /** Exception sample containing relevant sample data */ export type ExceptionSample = SampleInterface & { __typename?: 'ExceptionSample'; /** The action name on which a sample was reported */ action?: Maybe; /** App of sample */ app: App; /** Internal app id of the sample */ appId: Scalars['String']['output']; /** Root span attributes */ attributes?: Maybe>>; /** Breadcrumbs that lead up to the exception */ breadcrumbs?: Maybe>>; /** Time at which the sample was reported */ createdAt?: Maybe; /** Custom data */ customData?: Maybe; duration?: Maybe; /** Environment data */ environment?: Maybe>>; /** Errors that lead to the sample error */ errorCauses?: Maybe>>; /** Exception that occurred on the sample */ exception: Exception; /** First deploy this error was seen in */ firstMarker?: Maybe; /** Internal id of the sample */ id: Scalars['String']['output']; /** Incident of sample */ incident?: Maybe; /** Internal id of the incident this sample is linked to */ incidentId: Scalars['String']['output']; /** Namespace the sample occurred in */ namespace?: Maybe; /** Original ID of sample, if replaced by better sample */ originalId?: Maybe; /** ID/timerange of original request, is present when sample differs from requested sample */ originallyRequested?: Maybe; /** Overview of sample, contains request id, hostname and tags */ overview?: Maybe>; /** Sample params */ params?: Maybe; /** Time spent in a queue before processing */ queueDuration?: Maybe; /** Revision of sample */ revision?: Maybe; /** Session data */ sessionData?: Maybe; /** Time when sample occurred */ time?: Maybe; /** Sample type version */ version?: Maybe; }; /** A log export */ export type Export = { __typename?: 'Export'; /** Export will be Gzipped when enabled */ compressed: Scalars['Boolean']['output']; /** Export jobs for this export */ exportJobs: Array; /** Export ID */ id: Scalars['String']['output']; lastRequestedAt?: Maybe; /** Amount of export jobs that are in the `failed` state */ retryCount?: Maybe; /** Type of the source */ s3AccessKey: Scalars['String']['output']; /** Name of this source */ s3Url: Scalars['String']['output']; /** Export will not run when state is Failed, and will run when state is Running or Retrying */ state: ExportStateEnum; }; /** A log export */ export type ExportExportJobsArgs = { limit?: InputMaybe; }; /** A log export job */ export type ExportJob = { __typename?: 'ExportJob'; /** Export was compressed with Gzip */ compressed: Scalars['Boolean']['output']; /** Duration of the export job in milliseconds */ duration?: Maybe; /** Type of the source */ filename: Scalars['String']['output']; /** Export ID */ id: Scalars['String']['output']; /** Amount of times this job has been retried */ retryCount: Scalars['Int']['output']; state: ExportJobStateEnum; timestampFrom: Scalars['DateTime']['output']; timestampTo: Scalars['DateTime']['output']; /** Updates for this job */ updates: Array; /** Type of the source */ url: Scalars['String']['output']; }; export declare enum ExportJobStateEnum { Completed = "COMPLETED", Failed = "FAILED", Requested = "REQUESTED", Started = "STARTED" } /** A log export job update */ export type ExportJobUpdate = { __typename?: 'ExportJobUpdate'; /** Optional message from the update */ message?: Maybe; /** Result (state) of the update */ state: ExportJobStateEnum; /** Time the update happened */ timestamp: Scalars['DateTime']['output']; }; export declare enum ExportStateEnum { Failed = "FAILED", Retrying = "RETRYING", Running = "RUNNING" } /** * A list of fields to return. * * Example: * * "fields": [ * {"field": COUNT}, * {"field": P90} * ] * */ export type Field = { /** Name of field to return (MEAN, COUNT, P90, P95 and GAUGE) */ field: MetricFieldEnum; }; export declare enum GettingStartedItemStateEnum { Completed = "COMPLETED", Skipped = "SKIPPED" } export type GitHub = IntegrationInterface & { __typename?: 'GitHub'; /** Form data fields for GitHub integration */ formData?: Maybe; /** GitHub issues */ issues?: Maybe>>; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; }; export type GitHubFormData = IntegrationFormDataInterface & { __typename?: 'GitHubFormData'; /** Body */ body: Scalars['String']['output']; /** Title */ title: Scalars['String']['output']; }; export type GitHubIssue = IntegrationResultInterface & { __typename?: 'GitHubIssue'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; export type GitLab = IntegrationInterface & { __typename?: 'GitLab'; /** Form data fields for GitLab integration */ formData?: Maybe; /** GitLab issues */ issues?: Maybe>>; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; }; export type GitLabFormData = IntegrationFormDataInterface & { __typename?: 'GitLabFormData'; /** Body */ body: Scalars['String']['output']; /** Title */ title: Scalars['String']['output']; }; export type GitLabIssue = IntegrationResultInterface & { __typename?: 'GitLabIssue'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; /** Incident objects. Can be performance, exception or log incident */ export type Incident = AnomalyIncident | ExceptionIncident | LogIncident | PerformanceIncident; /** Error grouping of incident. */ export declare enum IncidentErrorGroupingEnum { /** Error grouping using the incident type (performance/error) and the namespace/action/error combination. */ TypeAndAction = "TYPE_AND_ACTION", /** Error grouping using the backtrace line. */ TypeAndRelevantBacktraceLine = "TYPE_AND_RELEVANT_BACKTRACE_LINE" } /** An AppSignal incident */ export type IncidentInterface = { /** App in which the incident occurred */ app?: Maybe; /** Users assigned to investigate or resolve this incident */ assignees?: Maybe>>; /** Total count of all recorded requests/jobs for this incident */ count: Scalars['Int']['output']; /** Create time of incident */ createdAt?: Maybe; /** Incident description, or steps to solve the issue */ description?: Maybe; /** All incident digests */ digests?: Maybe>; /** Incident ID */ id: Scalars['String']['output']; /** List of available integration types */ integrations?: Maybe>>; /** Time incident last occurred at */ lastOccurredAt?: Maybe; /** Logbook for incident */ logbook: Logbook; /** Notification frequency for incident */ notificationFrequency?: Maybe; /** Incident number */ number: Scalars['Int']['output']; /** Severity of incident (critical/high/low/etc.) */ severity?: Maybe; /** State of incident (open/closed) */ state?: Maybe; /** Incident summary */ summary?: Maybe; /** Last update time of incident */ updatedAt?: Maybe; }; export declare enum IncidentNotificationFrequencyEnum { Always = "ALWAYS", FirstAfterClose = "FIRST_AFTER_CLOSE", FirstInDeploy = "FIRST_IN_DEPLOY", Never = "NEVER", NthInDay = "NTH_IN_DAY", NthInHour = "NTH_IN_HOUR" } export declare enum IncidentOrderEnum { Id = "ID", Last = "LAST" } export declare enum IncidentSeverityEnum { Critical = "CRITICAL", High = "HIGH", Informational = "INFORMATIONAL", Low = "LOW", None = "NONE", Untriaged = "UNTRIAGED" } /** The source of an incident (what generated this incident) */ export declare enum IncidentSourceEnum { /** This incident was generated by our sampling system */ Sample = "SAMPLE", /** This incident was extracted from an OpenTelemetry span */ Span = "SPAN" } export declare enum IncidentStateEnum { Closed = "CLOSED", Open = "OPEN", Wip = "WIP" } /** Integration objects such as GitHub, GitLab, Trello etc. */ export type Integration = Asana | GitHub | GitLab | Jira | Linear | Phabricator | PivotalTracker | Shortcut | Trello; export type IntegrationCreate = ItemInterface & { __typename?: 'IntegrationCreate'; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Change ID. */ id: Scalars['String']['output']; /** Integration name */ name?: Maybe; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; /** Url to integration */ url: Scalars['String']['output']; }; /** Default form data fields */ export type IntegrationFormDataInterface = { /** Body */ body: Scalars['String']['output']; /** Title */ title: Scalars['String']['output']; }; /** An AppSignal incident integration */ export type IntegrationInterface = { /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; }; /** An AppSignal incident integration result */ export type IntegrationResultInterface = { /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; /** A 'getting started' item */ export type Item = { __typename?: 'Item'; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the item was created. */ createdAt: Scalars['DateTime']['output']; /** Item ID. */ id: Scalars['String']['output']; /** Name of the getting started item */ name: Scalars['String']['output']; /** State of the getting started item */ state: GettingStartedItemStateEnum; /** Time at which the item was updated last. */ updatedAt: Scalars['DateTime']['output']; }; /** An AppSignal logbook item */ export type ItemInterface = { /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Change ID. */ id: Scalars['String']['output']; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; }; export type Jira = IntegrationInterface & { __typename?: 'Jira'; /** Form data fields for Jira integration */ formData?: Maybe; /** Jira issues */ issues?: Maybe>>; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; }; export type JiraFormData = IntegrationFormDataInterface & { __typename?: 'JiraFormData'; /** Body */ body: Scalars['String']['output']; /** Title */ title: Scalars['String']['output']; }; export type JiraIssue = IntegrationResultInterface & { __typename?: 'JiraIssue'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; /** Holds a key and a float value, used for metrics */ export type KeyFloatValue = { __typename?: 'KeyFloatValue'; /** Key of keyvalue */ key: Scalars['String']['output']; /** Float value of keyvalue */ value?: Maybe; }; /** Holds a key and a value, used for metrics */ export type KeyStringValue = { __typename?: 'KeyStringValue'; /** Key of key value */ key: Scalars['String']['output']; /** Value of key value */ value?: Maybe; }; /** Key value hash GraphQL datastructure. Hash */ export type KeyStringValueInput = { key?: InputMaybe; value?: InputMaybe; }; export type Linear = IntegrationInterface & { __typename?: 'Linear'; /** Form data fields for Linear integration */ formData?: Maybe; /** Linear issues */ issues?: Maybe>>; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; }; export type LinearFormData = IntegrationFormDataInterface & { __typename?: 'LinearFormData'; /** Body */ body: Scalars['String']['output']; /** Title */ title: Scalars['String']['output']; }; export type LinearIssue = IntegrationResultInterface & { __typename?: 'LinearIssue'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; export type Link = { __typename?: 'Link'; sourceApp: App; targetApp: App; }; /** Log incident in which a problem or exception was reported */ export type LogIncident = IncidentInterface & { __typename?: 'LogIncident'; /** App in which the incident occurred */ app?: Maybe; /** Users assigned to investigate or resolve this incident */ assignees?: Maybe>>; /** Total count of all recorded requests/jobs for this incident */ count: Scalars['Int']['output']; /** Create time of incident */ createdAt?: Maybe; /** Incident description, or steps to solve the issue */ description?: Maybe; /** All incident digests */ digests?: Maybe>; /** Incident ID */ id: Scalars['String']['output']; /** List of available integration types */ integrations?: Maybe>>; /** Time incident last occurred at */ lastOccurredAt?: Maybe; /** Last log line for incident */ logLine?: Maybe; /** Logbook for incident */ logbook: Logbook; /** Notification frequency for incident */ notificationFrequency?: Maybe; /** Incident number */ number: Scalars['Int']['output']; /** Severity of incident (critical/high/low/etc.) */ severity?: Maybe; /** State of incident (open/closed) */ state?: Maybe; /** Incident summary */ summary?: Maybe; /** Trigger that triggered this incident */ trigger: LogTrigger; /** Last update time of incident */ updatedAt?: Maybe; }; export type LogLine = { __typename?: 'LogLine'; /** Attributes for log line */ attributes?: Maybe>; /** Log group */ group?: Maybe; /** Hostname where log was recorded */ hostname: Scalars['String']['output']; /** Log line UUID */ id: Scalars['String']['output']; /** The log message */ message: Scalars['String']['output']; /** Severity (warn/info etc.). */ severity: SeverityEnum; /** Source of the log */ source?: Maybe; /** Time of log occurrence */ timestamp: Scalars['PreciseDateTime']['output']; }; /** A log trigger. Uses query to match against log lines and creates an incident when found. */ export type LogTrigger = { __typename?: 'LogTrigger'; /** Description provided by the user about the trigger */ description?: Maybe; /** Alert configuration ID. */ id: Scalars['String']['output']; /** Linked log view. */ logView?: Maybe; /** Trigger name. */ name: Scalars['String']['output']; /** Incident notification option */ notificationOptions?: Maybe; /** Incident notification duration treshold */ notificationTriggerValue?: Maybe; notifiers?: Maybe>; previousTrigger?: Maybe; /** Query to perform against the log lines. */ query?: Maybe; /** Severities */ severities: Array>; /** Log source ids */ sourceIds: Array>; /** Log sources */ sources: Array>; /** The user who created this Trigger. */ user?: Maybe; }; export type Logbook = { __typename?: 'Logbook'; /** Note ID. */ id: Scalars['String']['output']; items: Array; /** ID of the pinned note. */ pinnedNoteId?: Maybe; }; /** Logbook item objects. */ export type LogbookItem = AssigneeChange | IntegrationCreate | ManualAlertStateChange | Note | NotificationFrequencyChange | NotificationThresholdChange | NotifierResult | SeverityChange | StateChange; export declare enum LogbookableTypeEnum { Heartbeat = "HEARTBEAT", Incident = "INCIDENT" } export type Logs = { __typename?: 'Logs'; /** Logs for this app */ lines?: Maybe>; /** Metrics for log metrics query */ metrics?: Maybe; /** Query window in seconds */ queryWindow: Scalars['Int']['output']; /** Log source */ source?: Maybe; /** Log sources */ sources: Array>; /** Log sources */ triggers: Array>; vercelProjects: Array>; }; export type LogsLinesArgs = { end?: InputMaybe; limit?: InputMaybe; order?: InputMaybe; query?: InputMaybe; severities?: InputMaybe>; sourceIds?: InputMaybe>; start?: InputMaybe; }; export type LogsMetricsArgs = { end?: InputMaybe; query?: InputMaybe; resolution?: InputMaybe; severities?: InputMaybe>; sourceIds?: InputMaybe>; start?: InputMaybe; }; export type LogsSourceArgs = { id?: InputMaybe; }; export type ManualAlertStateChange = ItemInterface & { __typename?: 'ManualAlertStateChange'; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Current state */ currentState: AlertStateEnum; /** Change ID. */ id: Scalars['String']['output']; /** Previous state */ previousState?: Maybe; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; }; /** An AppSignal marker */ export type MarkerInterface = { /** UTC ISO8601 Datetime of deploy */ createdAt: Scalars['DateTime']['output']; /** Marker ID */ id: Scalars['String']['output']; }; /** Marker objects. Can be Deploy, Notification or Custom */ export type MarkerUnion = CustomMarker | DeployMarker | NotificationMarker; export type MetadataDistributions = { __typename?: 'MetadataDistributions'; /** Log line UUID */ key: Scalars['String']['output']; /** Time of log occurrence */ total: Scalars['Int']['output']; /** Time of log occurrence */ unique: Scalars['Int']['output']; }; /** Fields to return in metric query */ export declare enum MetricAggregateEnum { /** Returns average value of group */ Avg = "AVG", /** Returns the first seen value of field */ First = "FIRST", /** Returns the last seen value of field */ Last = "LAST", /** Returns maximum value of group */ Max = "MAX", /** Returns minimum value of group */ Min = "MIN", /** Sums values of group */ Sum = "SUM" } /** * Input to request a Metric List * * Example of an Aggegration input query: * * { * "name": "transaction_duration", * "tags": [ * {"key": "action", "value": "*"}, * {"key": "namespace", "value": "b"} * ], * "fields": [{"field": COUNT, "aggregate": SUM}] * } * */ export type MetricAggregation = { /** List of fields and possible aggregation to return */ fields: Array; /** Name of the metric to query */ name: Scalars['String']['input']; /** List of tags to narrow results */ tags: Array; }; /** Fields to return in metric query */ export declare enum MetricFieldEnum { /** Count of measurement/counter */ Count = "COUNT", /** Counter value */ Counter = "COUNTER", /** Gauge value */ Gauge = "GAUGE", /** Mean of measurement */ Mean = "MEAN", /** 90th percentile of measurement */ P90 = "P90", /** 95th percentile of measurement */ P95 = "P95" } /** Metric key exctracted from timeseries data. */ export type MetricKey = { __typename?: 'MetricKey'; /** Digest of metric key. */ digest: Scalars['String']['output']; /** Metric fields */ fields: Array; /** Metric key name. */ name: Scalars['String']['output']; /** List of tags for metric key. */ tags?: Maybe>; /** Metric type */ type: MetricTypeEnum; }; /** * Input to request timeseries Metric data * * Example of an Aggegration input query: * * { * "name": "transaction_duration", * "tags": [ * {"key": "action", "value": "*"}, * {"key": "namespace", "value": "b"} * ], * "fields": [ * { "field": COUNT }, * { "field": MEAN } * ] * } * */ export type MetricTimeseries = { /** List of fields and possible aggregation to return */ fields: Array; /** Name of the metric to query */ name: Scalars['String']['input']; /** List of tags to narrow results */ tags?: InputMaybe>; }; /** Type of metric */ export declare enum MetricTypeEnum { Counter = "COUNTER", Gauge = "GAUGE", Measurement = "MEASUREMENT" } /** Holds different metric fields */ export type Metrics = { __typename?: 'Metrics'; /** List of metric keys */ keys?: Maybe>; /** (Aggregated) List of requested metrics and fields */ list?: Maybe; /** Metrics timeseries data */ timeseries?: Maybe; }; /** Holds different metric fields */ export type MetricsKeysArgs = { end?: InputMaybe; limit?: InputMaybe; name?: InputMaybe; offset?: InputMaybe; start?: InputMaybe; tags?: InputMaybe>; timeframe?: InputMaybe; }; /** Holds different metric fields */ export type MetricsListArgs = { end?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; query: Array>; start?: InputMaybe; timeframe?: InputMaybe; }; /** Holds different metric fields */ export type MetricsTimeseriesArgs = { end?: InputMaybe; query?: InputMaybe>>; start?: InputMaybe; timeframe?: InputMaybe; }; /** The mutation root of this schema. */ export type Mutation = { __typename?: 'Mutation'; archiveAlert?: Maybe; archiveTrigger?: Maybe; bulkUpdateIncidents?: Maybe>; createApp?: Maybe; createAsanaTask?: Maybe; createCheckInTrigger?: Maybe; createCheckInTriggerNote?: Maybe; createCsvExport?: Maybe; createCsvExportUrl?: Maybe; createDashboard?: Maybe; createGettingStartedItem?: Maybe; createGithubIssue?: Maybe; createGitlabIssue?: Maybe; createIncidentNote?: Maybe; createJiraIssue?: Maybe; createLinearIssue?: Maybe; createLogExport?: Maybe; createLogSource?: Maybe; createLogTrigger?: Maybe; createLogView?: Maybe; createOrUpdateCustomMarker?: Maybe; createPhabricatorIssue?: Maybe; createPivotalTrackerStory?: Maybe; createSavedVisual?: Maybe; createShortcutStory?: Maybe; createStatusPage?: Maybe; createStatusPageUpdate?: Maybe; createTrelloCard?: Maybe; createTrigger?: Maybe; createUptimeMonitor?: Maybe; createVisualTimeseries?: Maybe; deleteApp?: Maybe; deleteCheckIn?: Maybe; deleteCheckInTrigger?: Maybe; deleteCustomMarker?: Maybe; deleteDashboard?: Maybe; deleteLogExport?: Maybe; deleteLogSource?: Maybe; deleteLogTrigger?: Maybe; deleteLogView?: Maybe; deleteLogbookNote?: Maybe; deleteStatusPage?: Maybe; deleteStatusPageUpdate?: Maybe; deleteUptimeMonitor?: Maybe; deleteVisual?: Maybe; endLastAlert?: Maybe; importDashboard?: Maybe; markTooltipAsSeen?: Maybe; pinApp?: Maybe; pinLogbookComment?: Maybe; removeIntegration?: Maybe; reorderVisuals?: Maybe; unpinApp?: Maybe; unpinLogbookComment?: Maybe; updateCheckInTrigger?: Maybe; updateDashboard?: Maybe; updateIncident?: Maybe; updateLogExport?: Maybe; updateLogSource?: Maybe; updateLogTrigger?: Maybe; updateLogView?: Maybe; updateStatusPage?: Maybe; updateStatusPageUpdate?: Maybe; updateUptimeMonitor?: Maybe; updateViewer?: Maybe; updateVisualTimeseries?: Maybe; usedFeature?: Maybe; }; /** The mutation root of this schema. */ export type MutationArchiveAlertArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationArchiveTriggerArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationBulkUpdateIncidentsArgs = { appId: Scalars['String']['input']; ids: Array>; marker?: InputMaybe; severity?: InputMaybe; state?: InputMaybe; }; /** The mutation root of this schema. */ export type MutationCreateAppArgs = { environment: Scalars['String']['input']; name: Scalars['String']['input']; organizationSlug: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateAsanaTaskArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateCheckInTriggerArgs = { appId: Scalars['String']['input']; description?: InputMaybe; identifier: Scalars['String']['input']; kind: CheckInTriggerKindEnum; notifierIds?: InputMaybe>; syntax?: InputMaybe; timezone?: InputMaybe; waitTimeMinutes: Scalars['Int']['input']; }; /** The mutation root of this schema. */ export type MutationCreateCheckInTriggerNoteArgs = { appId: Scalars['String']['input']; checkInTriggerId: Scalars['String']['input']; content: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateCsvExportArgs = { appId: Scalars['String']['input']; filters?: InputMaybe; type: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateCsvExportUrlArgs = { exportId: Scalars['String']['input']; organizationSlug: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateDashboardArgs = { appId: Scalars['String']['input']; description?: InputMaybe; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateGettingStartedItemArgs = { appId: Scalars['String']['input']; name: Scalars['String']['input']; state: GettingStartedItemStateEnum; }; /** The mutation root of this schema. */ export type MutationCreateGithubIssueArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateGitlabIssueArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateIncidentNoteArgs = { appId: Scalars['String']['input']; content: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; }; /** The mutation root of this schema. */ export type MutationCreateJiraIssueArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateLinearIssueArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateLogExportArgs = { appId: Scalars['String']['input']; compressed: Scalars['Boolean']['input']; s3AccessKey: Scalars['String']['input']; s3SecretKey: Scalars['String']['input']; s3Url: Scalars['String']['input']; sourceId: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateLogSourceArgs = { appId: Scalars['String']['input']; fmt: SourceFormatEnum; integrationId?: InputMaybe; name: Scalars['String']['input']; parseSeverity?: InputMaybe; projectId?: InputMaybe; type: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateLogTriggerArgs = { appId: Scalars['String']['input']; description?: InputMaybe; name: Scalars['String']['input']; notificationOptions?: InputMaybe; notificationTriggerValue?: InputMaybe; notifierIds?: InputMaybe>; query: Scalars['String']['input']; severities?: InputMaybe>; sourceIds?: InputMaybe>; }; /** The mutation root of this schema. */ export type MutationCreateLogViewArgs = { appId: Scalars['String']['input']; columns?: InputMaybe>; lineHeight?: InputMaybe; name: Scalars['String']['input']; query?: InputMaybe; severities?: InputMaybe>; sourceIds?: InputMaybe>; }; /** The mutation root of this schema. */ export type MutationCreateOrUpdateCustomMarkerArgs = { appId: Scalars['String']['input']; createdAt?: InputMaybe; icon: Scalars['String']['input']; id?: InputMaybe; message?: InputMaybe; }; /** The mutation root of this schema. */ export type MutationCreatePhabricatorIssueArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; priority: Scalars['String']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreatePivotalTrackerStoryArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateSavedVisualArgs = { appId: Scalars['String']['input']; resolution: Scalars['String']['input']; series: Array>; title: Scalars['String']['input']; valueFormat?: InputMaybe; valueInput?: InputMaybe; }; /** The mutation root of this schema. */ export type MutationCreateShortcutStoryArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateStatusPageArgs = { organizationSlug: Scalars['String']['input']; statusPage: CreateStatusPageInput; }; /** The mutation root of this schema. */ export type MutationCreateStatusPageUpdateArgs = { organizationSlug: Scalars['String']['input']; statusPageId: Scalars['String']['input']; statusPageUpdate: StatusPageUpdateInput; }; /** The mutation root of this schema. */ export type MutationCreateTrelloCardArgs = { appId: Scalars['String']['input']; description: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; listId: Scalars['String']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationCreateTriggerArgs = { appId: Scalars['String']['input']; condition: ThresholdConditionInput; cooldownDuration: Scalars['Int']['input']; dashboardId?: InputMaybe; description?: InputMaybe; field: MetricFieldEnum; format?: InputMaybe; formatInput?: InputMaybe; kind: Scalars['String']['input']; metricName: Scalars['String']['input']; name?: InputMaybe; noMatchIsZero?: InputMaybe; notifierIds?: InputMaybe>; previousTriggerId?: InputMaybe; tags?: InputMaybe>; warmupDuration: Scalars['Int']['input']; }; /** The mutation root of this schema. */ export type MutationCreateUptimeMonitorArgs = { appId: Scalars['String']['input']; uptimeMonitor: UptimeMonitorInput; }; /** The mutation root of this schema. */ export type MutationCreateVisualTimeseriesArgs = { appId: Scalars['String']['input']; dashboardId: Scalars['String']['input']; visual: VisualTimeseriesInput; }; /** The mutation root of this schema. */ export type MutationDeleteAppArgs = { appId: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteCheckInArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteCheckInTriggerArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteCustomMarkerArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteDashboardArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteLogExportArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteLogSourceArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteLogTriggerArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteLogViewArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteLogbookNoteArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; logbookableId: Scalars['String']['input']; logbookableType: LogbookableTypeEnum; }; /** The mutation root of this schema. */ export type MutationDeleteStatusPageArgs = { id: Scalars['String']['input']; organizationSlug: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteStatusPageUpdateArgs = { id: Scalars['String']['input']; organizationSlug: Scalars['String']['input']; statusPageId: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteUptimeMonitorArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationDeleteVisualArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationEndLastAlertArgs = { appId: Scalars['String']['input']; number: Scalars['Int']['input']; }; /** The mutation root of this schema. */ export type MutationImportDashboardArgs = { appId: Scalars['String']['input']; json: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationMarkTooltipAsSeenArgs = { tooltip: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationPinAppArgs = { appId: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationPinLogbookCommentArgs = { appId: Scalars['String']['input']; commentId: Scalars['String']['input']; logbookableId: Scalars['String']['input']; logbookableType: LogbookableTypeEnum; }; /** The mutation root of this schema. */ export type MutationRemoveIntegrationArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; incidentNumber: Scalars['Int']['input']; }; /** The mutation root of this schema. */ export type MutationReorderVisualsArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; visualIds: Array>; }; /** The mutation root of this schema. */ export type MutationUnpinAppArgs = { appId: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationUnpinLogbookCommentArgs = { appId: Scalars['String']['input']; logbookableId: Scalars['String']['input']; logbookableType: LogbookableTypeEnum; }; /** The mutation root of this schema. */ export type MutationUpdateCheckInTriggerArgs = { appId: Scalars['String']['input']; description?: InputMaybe; id: Scalars['String']['input']; identifier?: InputMaybe; notifierIds?: InputMaybe>; syntax?: InputMaybe; timezone?: InputMaybe; waitTimeMinutes?: InputMaybe; }; /** The mutation root of this schema. */ export type MutationUpdateDashboardArgs = { appId: Scalars['String']['input']; description?: InputMaybe; id: Scalars['String']['input']; title: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationUpdateIncidentArgs = { appId: Scalars['String']['input']; assigneeIds?: InputMaybe>; description?: InputMaybe; notificationFrequency?: InputMaybe; notificationThreshold?: InputMaybe; number: Scalars['Int']['input']; severity?: InputMaybe; state?: InputMaybe; }; /** The mutation root of this schema. */ export type MutationUpdateLogExportArgs = { appId: Scalars['String']['input']; compressed?: InputMaybe; id: Scalars['String']['input']; s3AccessKey?: InputMaybe; s3SecretKey?: InputMaybe; s3Url?: InputMaybe; }; /** The mutation root of this schema. */ export type MutationUpdateLogSourceArgs = { appId: Scalars['String']['input']; fmt: SourceFormatEnum; id: Scalars['String']['input']; name: Scalars['String']['input']; parseSeverity?: InputMaybe; }; /** The mutation root of this schema. */ export type MutationUpdateLogTriggerArgs = { appId: Scalars['String']['input']; description?: InputMaybe; id: Scalars['String']['input']; name?: InputMaybe; notificationOptions?: InputMaybe; notificationTriggerValue?: InputMaybe; notifierIds?: InputMaybe>; query?: InputMaybe; severities?: InputMaybe>; sourceIds?: InputMaybe>; }; /** The mutation root of this schema. */ export type MutationUpdateLogViewArgs = { appId: Scalars['String']['input']; columns?: InputMaybe>; id: Scalars['String']['input']; lineHeight?: InputMaybe; name?: InputMaybe; query?: InputMaybe; severities?: InputMaybe>; sourceIds?: InputMaybe>; }; /** The mutation root of this schema. */ export type MutationUpdateStatusPageArgs = { id: Scalars['String']['input']; organizationSlug: Scalars['String']['input']; statusPage: UpdateStatusPageInput; }; /** The mutation root of this schema. */ export type MutationUpdateStatusPageUpdateArgs = { id: Scalars['String']['input']; organizationSlug: Scalars['String']['input']; statusPageId: Scalars['String']['input']; statusPageUpdate: StatusPageUpdateInput; }; /** The mutation root of this schema. */ export type MutationUpdateUptimeMonitorArgs = { appId: Scalars['String']['input']; id: Scalars['String']['input']; uptimeMonitor: UptimeMonitorInput; }; /** The mutation root of this schema. */ export type MutationUpdateViewerArgs = { chartColorPalette?: InputMaybe; chartLineThickness?: InputMaybe; chartShowHorizontalLines?: InputMaybe; chartShowMarkers?: InputMaybe; chartShowVerticalLines?: InputMaybe; hideGettingStarted?: InputMaybe; }; /** The mutation root of this schema. */ export type MutationUpdateVisualTimeseriesArgs = { appId: Scalars['String']['input']; visual: VisualTimeseriesInput; visualId: Scalars['String']['input']; }; /** The mutation root of this schema. */ export type MutationUsedFeatureArgs = { feature: Scalars['String']['input']; }; export type Note = { __typename?: 'Note'; /** User that created the note. If empty, the user was deleted. */ author?: Maybe; /** Content of the note. */ content: Scalars['String']['output']; /** Time at which the note was created. */ createdAt: Scalars['DateTime']['output']; /** Note ID. */ id: Scalars['String']['output']; /** Time at which the note was updated last. */ updatedAt: Scalars['DateTime']['output']; /** Returns true if user can delete this note. */ viewerCanDelete: Scalars['Boolean']['output']; }; export type NotificationFrequencyChange = ItemInterface & { __typename?: 'NotificationFrequencyChange'; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Current frequency */ currentFrequency: IncidentNotificationFrequencyEnum; /** Change ID. */ id: Scalars['String']['output']; /** Previous frequency */ previousFrequency?: Maybe; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; }; /** Marker with important AppSignal information */ export type NotificationMarker = MarkerInterface & { __typename?: 'NotificationMarker'; /** UTC ISO8601 Datetime of deploy */ createdAt: Scalars['DateTime']['output']; /** Marker ID */ id: Scalars['String']['output']; /** Message with AppSignal information */ message: Scalars['String']['output']; }; export type NotificationThresholdChange = ItemInterface & { __typename?: 'NotificationThresholdChange'; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Current threshold */ currentThreshold: Scalars['Int']['output']; /** Change ID. */ id: Scalars['String']['output']; /** Previous threshold */ previousThreshold?: Maybe; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; }; /** Destination for alerts, such as Slack, Discord or Email */ export type Notifier = { __typename?: 'Notifier'; /** Notifier icon */ icon: Scalars['String']['output']; /** Notifier ID */ id: Scalars['String']['output']; /** User configured notifier name */ name: Scalars['String']['output']; }; export type NotifierResult = ItemInterface & { __typename?: 'NotifierResult'; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Change ID. */ id: Scalars['String']['output']; /** Notifier results */ results: Array; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; }; export declare enum OrderEnum { Asc = "ASC", Desc = "DESC" } /** An AppSignal organization */ export type Organization = { __typename?: 'Organization'; /** Apps for this organization */ apps?: Maybe>>; /** List of CSV exports */ csvExports?: Maybe>>; /** Days left in trial, is `null` when plan is paid */ daysLeftInTrial?: Maybe; /** True if the organization is made by our Heroku add-on, */ heroku: Scalars['Boolean']['output']; /** Organization ID */ id: Scalars['String']['output']; /** Is true when account is in trial period */ inTrial: Scalars['Boolean']['output']; /** Linked apps through distributed tracing */ links?: Maybe>>; /** Organization name */ name: Scalars['String']['output']; /** Organization Push API key */ pushApiKey: Scalars['String']['output']; /** Filter samples across apps on 'overview' data */ search?: Maybe>>; /** Organization slug */ slug: Scalars['String']['output']; /** Status page for given ID */ statusPage?: Maybe; /** Status page update for given ID */ statusPageUpdate?: Maybe; /** Status pages for organization */ statusPages?: Maybe>>; /** Throughput in last 30 days */ throughputLast30Days: Scalars['Int']['output']; /** Organization retention in seconds */ ttl: Scalars['Int']['output']; /** Users belonging to an oganization */ users?: Maybe>>; }; /** An AppSignal organization */ export type OrganizationCsvExportsArgs = { limit?: InputMaybe; offset?: InputMaybe; }; /** An AppSignal organization */ export type OrganizationLinksArgs = { end?: InputMaybe; start?: InputMaybe; timeframe?: InputMaybe; }; /** An AppSignal organization */ export type OrganizationSearchArgs = { appId?: InputMaybe; namespace?: InputMaybe; query?: InputMaybe; sampleType?: InputMaybe; timerange?: InputMaybe>>; }; /** An AppSignal organization */ export type OrganizationStatusPageArgs = { id?: InputMaybe; }; /** An AppSignal organization */ export type OrganizationStatusPageUpdateArgs = { id?: InputMaybe; statusPageId?: InputMaybe; }; /** Anomaly incidents with pagination information */ export type PaginatedAnomalyIncidents = { __typename?: 'PaginatedAnomalyIncidents'; /** Anomaly incidents */ rows: Array; /** Incident total */ total?: Maybe; }; /** Exception incidents with pagination information */ export type PaginatedExceptionIncidents = { __typename?: 'PaginatedExceptionIncidents'; /** Exception incidents */ rows: Array; /** Incident total */ total?: Maybe; }; /** Log incidents with pagination information */ export type PaginatedLogIncidents = { __typename?: 'PaginatedLogIncidents'; /** Log incidents */ rows: Array; /** Incident total */ total?: Maybe; }; /** Performance incidents with pagination information */ export type PaginatedPerformanceIncidents = { __typename?: 'PaginatedPerformanceIncidents'; /** Performance incidents */ rows: Array; /** Incident total */ total?: Maybe; }; /** Performance incident in which a problem or exception was reported */ export type PerformanceIncident = IncidentInterface & TransactionIncidentInterface & { __typename?: 'PerformanceIncident'; /** All action names where incident occurred, only exception incidents can have more than one action name */ actionNames?: Maybe>; /** App in which the incident occurred */ app?: Maybe; /** Users assigned to investigate or resolve this incident */ assignees?: Maybe>>; /** Total count of all recorded requests/jobs for this incident */ count: Scalars['Int']['output']; /** Create time of incident */ createdAt?: Maybe; /** Deploy markers for incident */ deployMarkers: Array>; /** Incident description, or steps to solve the issue */ description?: Maybe; /** All incident digests */ digests?: Maybe>; /** Value to indicate that any of the last 5 deploys had an N+1 query */ hasNPlusOne?: Maybe; /** Indicates wether this incidents has any samples in the retention of an account */ hasSamplesInRetention: Scalars['Boolean']['output']; /** Incident ID */ id: Scalars['String']['output']; /** List of available integration types */ integrations?: Maybe>>; /** Time incident last occurred at */ lastOccurredAt?: Maybe; /** Time of last recorded sample */ lastSampleOccurredAt?: Maybe; /** Logbook for incident */ logbook: Logbook; /** Mean duration of all recorded requests/jobs for this incident */ mean: Scalars['Float']['output']; /** Namespace the incident occurred in. */ namespace?: Maybe; /** Notification frequency for incident */ notificationFrequency?: Maybe; /** Notification threshold (in ms) for incident */ notificationThreshold?: Maybe; /** Incident number */ number: Scalars['Int']['output']; /** Total duration of all recorded requests/jobs for this incident and revision/marker */ perMarkerCount?: Maybe; /** Value is true when we encountered a sample with a N+1 query for this incident and given revision/marker */ perMarkerHasNPlusOne?: Maybe; /** Mean duration of all recorded requests/jobs for this incident and given revision/marker */ perMarkerMean?: Maybe; /** Total duration of all recorded requests/jobs for this incident and given revision/marker */ perMarkerTotalDuration?: Maybe; /** Sample for incident, returns first sample that matches the arguments */ sample?: Maybe; /** Samples for incident */ samples?: Maybe>>; /** Severity of incident (critical/high/low/etc.) */ severity?: Maybe; /** State of incident (open/closed) */ state?: Maybe; /** Incident summary */ summary?: Maybe; /** Total duration of all recorded requests/jobs for this incident */ totalDuration: Scalars['Float']['output']; /** Last update time of incident */ updatedAt?: Maybe; }; /** Performance incident in which a problem or exception was reported */ export type PerformanceIncidentPerMarkerCountArgs = { marker?: InputMaybe; }; /** Performance incident in which a problem or exception was reported */ export type PerformanceIncidentPerMarkerHasNPlusOneArgs = { marker?: InputMaybe; }; /** Performance incident in which a problem or exception was reported */ export type PerformanceIncidentPerMarkerMeanArgs = { marker?: InputMaybe; }; /** Performance incident in which a problem or exception was reported */ export type PerformanceIncidentPerMarkerTotalDurationArgs = { marker?: InputMaybe; }; /** Performance incident in which a problem or exception was reported */ export type PerformanceIncidentSampleArgs = { id?: InputMaybe; timerange?: InputMaybe>>; timestamp?: InputMaybe; }; /** Performance incident in which a problem or exception was reported */ export type PerformanceIncidentSamplesArgs = { end?: InputMaybe; limit?: InputMaybe; start?: InputMaybe; }; /** An AppSignal incident */ export type PerformanceMarker = { __typename?: 'PerformanceMarker'; /** Incident number */ count: Scalars['Int']['output']; /** Id of deploy marker */ id: Scalars['String']['output']; /** Deploy marker */ marker: DeployMarker; /** Incident number */ mean: Scalars['Int']['output']; }; /** Performance sample containing relevant sample data */ export type PerformanceSample = SampleInterface & { __typename?: 'PerformanceSample'; /** The action name on which a sample was reported */ action?: Maybe; /** App of sample */ app: App; /** Internal app id of the sample */ appId: Scalars['String']['output']; /** Root span attributes */ attributes?: Maybe>>; /** Time at which the sample was reported */ createdAt?: Maybe; /** Custom data */ customData?: Maybe; /** Duration of performance sample */ duration: Scalars['Float']['output']; /** Environment data */ environment?: Maybe>>; /** Grouped allocations of performance sample */ groupAllocations: Array; /** Grouped durations of performance sample */ groupDurations: Array; /** Indicates if sample contains a N+1 query when true */ hasNPlusOne: Scalars['Boolean']['output']; /** Internal id of the sample */ id: Scalars['String']['output']; /** Incident of sample */ incident?: Maybe; /** Internal id of the incident this sample is linked to */ incidentId: Scalars['String']['output']; /** Namespace the sample occurred in */ namespace?: Maybe; /** Original ID of sample, if replaced by better sample */ originalId?: Maybe; /** ID/timerange of original request, is present when sample differs from requested sample */ originallyRequested?: Maybe; /** Overview of sample, contains request id, hostname and tags */ overview?: Maybe>; /** Sample params */ params?: Maybe; /** Time spent in a queue before processing */ queueDuration?: Maybe; /** Revision of sample */ revision?: Maybe; /** Session data */ sessionData?: Maybe; /** Time when sample occurred */ time?: Maybe; /** Event timeline of performance sample */ timeline: Array>; /** Amount of truncated events, if the event tree limit was reached */ timelineTruncatedEvents: Scalars['Int']['output']; /** Sample type version */ version?: Maybe; }; export type Phabricator = IntegrationInterface & { __typename?: 'Phabricator'; /** Form data fields for Phabricator integration */ formData?: Maybe; /** Phabricator issues */ issues?: Maybe>>; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; }; export type PhabricatorFormData = IntegrationFormDataInterface & { __typename?: 'PhabricatorFormData'; /** Body */ body: Scalars['String']['output']; /** Available priorities */ priorities?: Maybe>>; /** Title */ title: Scalars['String']['output']; }; export type PhabricatorIssue = IntegrationResultInterface & { __typename?: 'PhabricatorIssue'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Priority of issue */ priority: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; export type PivotalTracker = IntegrationInterface & { __typename?: 'PivotalTracker'; /** Form data fields for PivotalTracker integration */ formData?: Maybe; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; /** PivotalTracker stories */ stories?: Maybe>>; }; export type PivotalTrackerFormData = IntegrationFormDataInterface & { __typename?: 'PivotalTrackerFormData'; /** Body */ body: Scalars['String']['output']; /** Title */ title: Scalars['String']['output']; }; export type PivotalTrackerStory = IntegrationResultInterface & { __typename?: 'PivotalTrackerStory'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; /** Group of datapoints in timeseries */ export type Point = { __typename?: 'Point'; /** Timestamp of bucket */ timestamp: Scalars['Int']['output']; /** Points returned for bucket */ values?: Maybe>; }; /** The query root of this schema */ export type Query = { __typename?: 'Query'; /** AppSignal App */ app?: Maybe; organization?: Maybe; /** List of supported timezones */ timezones: Array; /** Current logged in user */ viewer?: Maybe; }; /** The query root of this schema */ export type QueryAppArgs = { id: Scalars['String']['input']; }; /** The query root of this schema */ export type QueryOrganizationArgs = { slug: Scalars['String']['input']; }; /** Resolution values to be used with metrics. */ export declare enum ResolutionEnum { /** Resolution of: daily */ Daily = "DAILY", /** Resolution of: hourly */ Hourly = "HOURLY", /** Resolution of: minutely */ Minutely = "MINUTELY" } export type Result = { __typename?: 'Result'; /** Error count */ errorCount: Scalars['Int']['output']; /** Timestamp of last notifier error */ errorLast?: Maybe; /** Notifier */ notifier: Notifier; /** Success count */ successCount: Scalars['Int']['output']; /** Timestamp of last succesfull notifier */ successLast?: Maybe; }; /** Sample objects. Can be performance or exception sample */ export type Sample = ExceptionSample | PerformanceSample; /** An AppSignal sample */ export type SampleInterface = { /** The action name on which a sample was reported */ action?: Maybe; /** App of sample */ app: App; /** Internal app id of the sample */ appId: Scalars['String']['output']; /** Root span attributes */ attributes?: Maybe>>; /** Time at which the sample was reported */ createdAt?: Maybe; /** Custom data */ customData?: Maybe; duration?: Maybe; /** Environment data */ environment?: Maybe>>; /** Internal id of the sample */ id: Scalars['String']['output']; /** Incident of sample */ incident?: Maybe; /** Internal id of the incident this sample is linked to */ incidentId: Scalars['String']['output']; /** Namespace the sample occurred in */ namespace?: Maybe; /** Original ID of sample, if replaced by better sample */ originalId?: Maybe; /** ID/timerange of original request, is present when sample differs from requested sample */ originallyRequested?: Maybe; /** Overview of sample, contains request id, hostname and tags */ overview?: Maybe>; /** Sample params */ params?: Maybe; /** Time spent in a queue before processing */ queueDuration?: Maybe; /** Revision of sample */ revision?: Maybe; /** Session data */ sessionData?: Maybe; /** Time when sample occurred */ time?: Maybe; /** Sample type version */ version?: Maybe; }; /** The original requested item. We return this if we send an alternative */ export declare enum SampleOriginalRequestEnum { /** Sample was requested by ID, but we are returning an alternative */ Id = "ID", /** No alternative sample is being returned */ None = "NONE", /** Sample was requested by timerange, but we are returning an alternative */ Timerange = "TIMERANGE", /** Sample was requested by timestamp, but we are returning an alternative */ Timestamp = "TIMESTAMP" } /** Types of sample. */ export declare enum SampleTypeEnum { /** Exception sample */ Exception = "EXCEPTION", /** Performance sample */ Performance = "PERFORMANCE" } /** Saved visual */ export type SavedVisual = { __typename?: 'SavedVisual'; /** URL to page with SVG of saved visual */ csvUrl: Scalars['String']['output']; /** URL to page with SVG of saved visual */ htmlUrl: Scalars['String']['output']; /** ID of saved visual */ id: Scalars['String']['output']; /** URL to saved visual PNG */ jsonUrl: Scalars['String']['output']; /** URL to saved visual PNG */ pngUrl: Scalars['String']['output']; /** Title of the saved visual */ title: Scalars['String']['output']; }; export type SerieInput = { color: Scalars['String']['input']; data: Array; name: Scalars['String']['input']; renderer: Scalars['String']['input']; }; export type Series = { __typename?: 'Series'; /** Digest of metric key. */ digest: Scalars['String']['output']; /** Metric name */ name: Scalars['String']['output']; /** Metric tags */ tags: Array>; /** Metric type */ type: MetricTypeEnum; }; export type SeverityChange = ItemInterface & { __typename?: 'SeverityChange'; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Current severity */ currentSeverity: IncidentSeverityEnum; /** Change ID. */ id: Scalars['String']['output']; /** Previous severity */ previousSeverity?: Maybe; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; }; export declare enum SeverityEnum { Alert = "ALERT", Critical = "CRITICAL", Debug = "DEBUG", Error = "ERROR", Fatal = "FATAL", Info = "INFO", Notice = "NOTICE", Trace = "TRACE", Unknown = "UNKNOWN", Warn = "WARN" } export type Shortcut = IntegrationInterface & { __typename?: 'Shortcut'; /** Form data fields for Shortcut integration */ formData?: Maybe; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; /** Shortcut stories */ stories?: Maybe>>; }; export type ShortcutFormData = IntegrationFormDataInterface & { __typename?: 'ShortcutFormData'; /** Body */ body: Scalars['String']['output']; /** Title */ title: Scalars['String']['output']; }; export type ShortcutStory = IntegrationResultInterface & { __typename?: 'ShortcutStory'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; /** A log source */ export type Source = { __typename?: 'Source'; /** Indicates if source can be removed. The default Application source cannot be removed */ canBeModified: Scalars['Boolean']['output']; /** Log exports for this source */ export?: Maybe; /** Log format */ fmt: SourceFormatEnum; /** Source ID */ id: Scalars['String']['output']; /** API key of the source */ key: Scalars['String']['output']; /** Metrics for log source */ metrics?: Maybe; /** Name of this source */ name: Scalars['String']['output']; /** If true, we'll attempt to parse any severity string from the log message */ parseSeverity: Scalars['Boolean']['output']; /** Type of the source */ type: Scalars['String']['output']; /** Usage in bytes for the last 24 hours */ usageBytesLast24h: Scalars['Int']['output']; }; /** A log source */ export type SourceMetricsArgs = { end?: InputMaybe; resolution?: InputMaybe; start?: InputMaybe; }; export declare enum SourceFormatEnum { Json = "JSON", Logfmt = "LOGFMT", Plaintext = "PLAINTEXT" } export type Spans = { __typename?: 'Spans'; /** Metadata distribution */ metadataDistribution: Array>; /** Metadata distributions */ metadataDistributions: Array>; }; export type SpansMetadataDistributionArgs = { incidentDigests: Array; limit?: InputMaybe; metadataKey: Scalars['String']['input']; }; export type SpansMetadataDistributionsArgs = { incidentDigests: Array; }; export type StateChange = ItemInterface & { __typename?: 'StateChange'; /** User that created the change. If empty, the user was deleted. */ author?: Maybe; /** Time at which the change was created. */ createdAt: Scalars['DateTime']['output']; /** Current state */ currentState: IncidentStateEnum; /** Change ID. */ id: Scalars['String']['output']; /** Previous state */ previousState?: Maybe; /** Time at which the change was updated last. */ updatedAt: Scalars['DateTime']['output']; }; export type StatusPage = { __typename?: 'StatusPage'; /** Description of the page */ description?: Maybe; /** Boolean indicating if redirect from http to https has been enabled */ forceSsl: Scalars['Boolean']['output']; /** Boolean indicating if SSL Cert has been requested for status page */ hasSsl: Scalars['Boolean']['output']; /** Domain of the page */ hostname: Scalars['String']['output']; /** ID of the status page */ id: Scalars['String']['output']; /** State of all monitored services on the status page. */ state: StatusPageStateEnum; /** Minimum threshold for considering a service down */ threshold?: Maybe; /** Title of the page */ title: Scalars['String']['output']; /** Updates from the last 7 days for this page */ updates?: Maybe>; /** Ids for uptime monitors */ uptimeMonitorIds?: Maybe>; /** Uptime monitors associated with this page */ uptimeMonitors?: Maybe>; }; /** Status page state */ export declare enum StatusPageStateEnum { /** down */ Down = "DOWN", /** up */ Up = "UP" } export type StatusPageUpdate = { __typename?: 'StatusPageUpdate'; /** Time of status update */ createdAt: Scalars['DateTime']['output']; /** Description of the update */ description: Scalars['String']['output']; /** ID of the status page update */ id: Scalars['String']['output']; /** State of the update. */ state: StatusPageUpdateStateEnum; /** Title of the update */ title: Scalars['String']['output']; }; export type StatusPageUpdateInput = { /** Description for the status page */ description?: InputMaybe; /** State for the update */ state: StatusPageUpdateStateEnum; /** Title of the status page */ title: Scalars['String']['input']; }; /** Status page update state */ export declare enum StatusPageUpdateStateEnum { /** identified */ Identified = "IDENTIFIED", /** investigating */ Investigating = "INVESTIGATING", /** recovering */ Recovering = "RECOVERING", /** resolved */ Resolved = "RESOLVED" } /** * A list of tags to narrow/group aggregation, example: * * "tags": [ * {"key": "action", "value": "*"}, * {"key": "namespace", "value": "b"} * ] * */ export type TagInput = { key: Scalars['String']['input']; value: Scalars['String']['input']; }; /** Comparision operation to use to compare against a value. */ export declare enum ThresholdAlertSettingComparisonOperationEnum { /** Equal */ Equal = "EQUAL", /** Greater than */ GreaterThan = "GREATER_THAN", /** Greater than or equal */ GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", /** Less than */ LessThan = "LESS_THAN", /** Less than or equal */ LessThanOrEqual = "LESS_THAN_OR_EQUAL", /** Not equal */ NotEqual = "NOT_EQUAL" } /** Settings for the AlertConfiguration to compare against. */ export type ThresholdCondition = { __typename?: 'ThresholdCondition'; /** Comparision operator to use in this alert check. */ comparisonOperator: ThresholdAlertSettingComparisonOperationEnum; /** Human readable version of the comparision used in this check. */ humanComparisonOperator: Scalars['String']['output']; /** Threshold alert setting ID. */ id: Scalars['String']['output']; /** Threshold value. The comparison operator uses this value to compare against the real value. */ value: Scalars['Float']['output']; }; /** Settings for the AlertConfiguration to compare against. */ export type ThresholdConditionInput = { /** Comparision to use in this check. */ comparisonOperator: ThresholdAlertSettingComparisonOperationEnum; /** Threshold value. The comparison operator uses this value to compare against the real value. */ value?: InputMaybe; }; export type TimeDetectiveDataPoint = { __typename?: 'TimeDetectiveDataPoint'; /** Action of snapshot */ actionName?: Maybe; /** Exception of snapshot */ exceptionName?: Maybe; /** Incident of snapshot */ incident?: Maybe; /** Average duration of the samples in this incident for the selected timeframe. */ mean?: Maybe; /** Namespace of snapshot */ namespace?: Maybe; /** 90th percentile of the samples in this incident for the selected timeframe. */ p90?: Maybe; /** Throughput of the samples in this incident for the selected timeframe. */ throughput?: Maybe; }; /** Timeframes to be used with metrics. */ export declare enum TimeframeEnum { /** Timeframe of: 1 */ R1H = "R1H", /** Timeframe of: 4 */ R4H = "R4H", /** Timeframe of: 7 */ R7D = "R7D", /** Timeframe of: 8 */ R8H = "R8H", /** Timeframe of: 12 */ R12H = "R12H", /** Timeframe of: 24 */ R24H = "R24H", /** Timeframe of: 30 */ R30D = "R30D", /** Timeframe of: 48 */ R48H = "R48H" } /** Event belonging in a performance sample timeline */ export type TimelineEvent = { __typename?: 'TimelineEvent'; /** Event action (e.g. query) */ action: Scalars['String']['output']; /** Memory allocations during event */ allocationCount?: Maybe; /** Memory allocations of all children */ childAllocationCount?: Maybe; /** Duration of all children of eveni, in ms */ childDuration: Scalars['Float']['output']; /** Numer of times event has occured. More than one time means N+1 */ count: Scalars['Int']['output']; /** Event digest, idempotent for action/payload combination */ digest: Scalars['String']['output']; /** Duration of event, in ms */ duration: Scalars['Float']['output']; /** Time event record was ended */ end: Scalars['Float']['output']; /** Event group (e.g. sql) */ group?: Maybe; /** Nesting level of event */ level: Scalars['Int']['output']; /** Event name (e.g. User load) */ name?: Maybe; /** Event payload (e.g. a sanitized SQL query) */ payload?: Maybe; /** Time event record was started */ time: Scalars['Float']['output']; /** True if this is a wrapping event */ wrapping: Scalars['Boolean']['output']; }; /** Payload belonging event in a performance sample timeline */ export type TimelineEventPayload = { __typename?: 'TimelineEventPayload'; /** Body of payload (e.g an `sql query) */ body?: Maybe; /** Name of payload (e.g. User Load) */ name?: Maybe; }; /** Timeseries data of metrics */ export type Timeseries = { __typename?: 'Timeseries'; /** End time of performed metric query */ end: Scalars['DateTime']['output']; /** Keys used to fetch metrics */ keys?: Maybe>; /** Rows returned for aggregated list */ points?: Maybe>; /** Resolution fo returned series */ resolution?: Maybe; /** Start time of performed metric query */ start: Scalars['DateTime']['output']; }; /** Timezone information */ export type Timezone = { __typename?: 'Timezone'; /** Timezone abbreviation */ identifier: Scalars['String']['output']; /** Timezone friendly name */ name: Scalars['String']['output']; /** Timezone UTC offset */ offset: Scalars['String']['output']; }; /** An AppSignal transaction incident */ export type TransactionIncidentInterface = { /** All action names where incident occurred, only exception incidents can have more than one action name */ actionNames?: Maybe>; /** Indicates wether this incidents has any samples in the retention of an account */ hasSamplesInRetention: Scalars['Boolean']['output']; /** Time of last recorded sample */ lastSampleOccurredAt?: Maybe; /** Namespace the incident occurred in. */ namespace?: Maybe; /** Total duration of all recorded requests/jobs for this incident and revision/marker */ perMarkerCount?: Maybe; }; /** An AppSignal transaction incident */ export type TransactionIncidentInterfacePerMarkerCountArgs = { marker?: InputMaybe; }; export type Trello = IntegrationInterface & { __typename?: 'Trello'; /** Trello cards */ cards?: Maybe>>; /** Form data fields for Trello integration */ formData?: Maybe; /** Integration title */ name: Scalars['String']['output']; /** Set to true if the integration needs a migration */ needsMigration: Scalars['Boolean']['output']; }; export type TrelloCard = IntegrationResultInterface & { __typename?: 'TrelloCard'; /** Description provided by the AppSignal user */ description: Scalars['String']['output']; /** Integration result ID */ id: Scalars['String']['output']; /** ID of the destination list */ listId: Scalars['String']['output']; /** Remote ID of integration (e.g. GitHub issue number or Asana ID */ remoteId: Scalars['String']['output']; /** Title provided by the AppSignal user */ title: Scalars['String']['output']; /** Url to remote integration */ url: Scalars['String']['output']; }; export type TrelloFormData = IntegrationFormDataInterface & { __typename?: 'TrelloFormData'; /** Body */ body: Scalars['String']['output']; /** Available Trello lists */ lists: Array; /** Title */ title: Scalars['String']['output']; }; /** An alert trigger. Configuration used to decide if a metric value requires an alert. */ export type Trigger = { __typename?: 'Trigger'; /** * Time in minutes AppSignal waits before closing an alert and sending a notification about it. * */ cooldownDuration: Scalars['Int']['output']; /** ID of linked dashboard to trigger. */ dashboardId?: Maybe; /** Description provided by the user about the trigger */ description?: Maybe; /** Field which will be compared against for this alert. */ field: MetricFieldEnum; /** * The data format of the metric the trigger is configured. * * For more information, see our docs: * https://docs.appsignal.com/metrics/custom.html#metric-values * */ format?: Maybe; /** * The data format input size for the "size" format. * * For more information, see our docs: * https://docs.appsignal.com/metrics/custom.html#metric-values * */ formatInput?: Maybe; /** Alert configuration ID. */ id: Scalars['String']['output']; /** Trigger kind (exception rate/ throughput etc). */ kind: Scalars['String']['output']; /** The metric this trigger is about. */ metricName: Scalars['String']['output']; /** Name provided by the user about the trigger */ name: Scalars['String']['output']; /** If true, when no data is received it treats the value as 0. */ noMatchIsZero: Scalars['Boolean']['output']; notifiers?: Maybe>; previousTrigger?: Maybe; /** * Map of tags that will filter which metrics to include. Values may include wildcards: *value* * */ tags?: Maybe>; thresholdCondition: ThresholdCondition; /** The user who created this Trigger. */ user?: Maybe; /** * Time in minutes AppSignal waits before opening an alert and sending a notification about it. * */ warmupDuration: Scalars['Int']['output']; }; export type UpdateStatusPageInput = { /** Description for the status page */ description?: InputMaybe; /** Minimum threshold for considering a service down */ threshold?: InputMaybe; /** Title of the status page */ title: Scalars['String']['input']; /** Uptime monitors associated to the status page */ uptimeMonitorIds?: InputMaybe>; }; export type UptimeMonitor = { __typename?: 'UptimeMonitor'; /** List of alerts for this montior */ alerts: Array>; /** {:description=>"If present, uptime monitor will check response body content for this string.", :null=>true} */ checkBodyContent?: Maybe; /** Description for monitor */ description?: Maybe; /** Headers to send with monitor request */ headers?: Maybe>>; /** Uptime Monitor ID. */ id: Scalars['String']['output']; /** Name of endpoint. */ name: Scalars['String']['output']; /** Notifier ids for moniotor */ notifierIds: Array>; /** List of notifiers for this monitor */ notifiers: Array>; /** {:description=>"List of regions where the monitor is pinging from", :null=>false} */ regions?: Maybe>; /** List of status pages this monitor is used on */ statusPages: Array>; /** Url for endpoint. */ url: Scalars['String']['output']; /** Warmup duration in minutes */ warmupDuration: Scalars['Int']['output']; }; export type UptimeMonitorInput = { /** Body content to check for */ checkBodyContent?: InputMaybe; /** Description of monitor, shown in app */ description?: InputMaybe; /** List of headers to send with the request */ headers?: InputMaybe>; /** Name of monitor, shown on public page */ name: Scalars['String']['input']; /** IDs of notifiers to use when URL doesn't respond */ notifierIds?: InputMaybe>; /** Regions to check from */ regions: Array>; /** URL to monitor */ url: Scalars['String']['input']; /** Time an URL must be down before we alert */ warmupDuration?: InputMaybe; }; export type UptimeMonitorRegion = { __typename?: 'UptimeMonitorRegion'; /** Uptime Monitor Region id. */ id: UptimeMonitorRegionEnum; /** Name of region. */ name: Scalars['String']['output']; }; /** Available regions for Uptime monitoring. */ export declare enum UptimeMonitorRegionEnum { /** Uptime monitor region: asia-pacific */ AsiaPacific = "ASIA_PACIFIC", /** Uptime monitor region: europe */ Europe = "EUROPE", /** Uptime monitor region: north-america */ NorthAmerica = "NORTH_AMERICA", /** Uptime monitor region: south-america */ SouthAmerica = "SOUTH_AMERICA" } /** An AppSignal user */ export type User = UserInterface & { __typename?: 'User'; /** User primary Email */ email: Scalars['String']['output']; /** User email hash as SHA256 */ emailHash: Scalars['String']['output']; /** User has gravatar enabled */ gravatarEnabled: Scalars['Boolean']['output']; /** User wants to hide getting started screen */ hideGettingStarted: Scalars['Boolean']['output']; /** User ID */ id: Scalars['String']['output']; /** User initials */ initials: Scalars['String']['output']; /** User's name */ name: Scalars['String']['output']; /** All organizations this user has access to */ organizations: Array>; }; /** Common user fields */ export type UserInterface = { /** User primary Email */ email: Scalars['String']['output']; /** User email hash as SHA256 */ emailHash: Scalars['String']['output']; /** User has gravatar enabled */ gravatarEnabled: Scalars['Boolean']['output']; /** User wants to hide getting started screen */ hideGettingStarted: Scalars['Boolean']['output']; /** User ID */ id: Scalars['String']['output']; /** User initials */ initials: Scalars['String']['output']; /** User's name */ name: Scalars['String']['output']; /** All organizations this user has access to */ organizations: Array>; }; export type Values = { __typename?: 'Values'; /** Time of log occurrence */ values: Array; }; /** A Vercel project, used in Log Source */ export type VercelProject = { __typename?: 'VercelProject'; /** Vercel Integration ID */ integrationId: Scalars['String']['output']; /** Name of project */ name: Scalars['String']['output']; /** Vercel Project ID */ projectId: Scalars['String']['output']; }; /** A log view */ export type View = { __typename?: 'View'; /** Columns of this view */ columns?: Maybe>; /** View ID */ id: Scalars['String']['output']; /** Line height of this view */ lineHeight: Scalars['String']['output']; /** Name of this view */ name: Scalars['String']['output']; /** Query of this view */ query: Scalars['String']['output']; /** Severities of this view */ severities: Array; /** Sources of this view */ sourceIds: Array; }; /** A logged-in AppSignal user */ export type Viewer = UserInterface & { __typename?: 'Viewer'; /** List of all incidents assigned to viewer */ assignedIncidents: Array>; /** Chart color palette */ chartColorPalette: Scalars['String']['output']; /** Chart line thickness */ chartLineThickness: Scalars['Float']['output']; /** Show horizontal chart lines when true */ chartShowHorizontalLines: Scalars['Boolean']['output']; /** Show chart markers when true */ chartShowMarkers?: Maybe; /** Show vertical chart lines when true */ chartShowVerticalLines: Scalars['Boolean']['output']; /** User primary Email */ email: Scalars['String']['output']; /** User email hash as SHA256 */ emailHash: Scalars['String']['output']; /** User has gravatar enabled */ gravatarEnabled: Scalars['Boolean']['output']; /** User wants to hide getting started screen */ hideGettingStarted: Scalars['Boolean']['output']; /** User ID */ id: Scalars['String']['output']; /** List of all incidents within the projects the user has access to */ incidents: Array>; /** User initials */ initials: Scalars['String']['output']; /** Is user controlled by SAML Single Sign-On */ isExternallyControlled: Scalars['Boolean']['output']; /** User's name */ name: Scalars['String']['output']; /** List of organizations user belongs to */ organizations: Array>; /** List of tooltips seen by the user */ seenTooltips: Array; /** Authentication token */ token: Scalars['String']['output']; /** List of features used by user */ usedFeatures: Array; }; /** A logged-in AppSignal user */ export type ViewerAssignedIncidentsArgs = { appId?: InputMaybe; limit?: InputMaybe; offset?: InputMaybe; order?: InputMaybe; query?: InputMaybe; severity?: InputMaybe; state?: InputMaybe>; }; /** A logged-in AppSignal user */ export type ViewerIncidentsArgs = { appId?: InputMaybe; assigneeIds?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; order?: InputMaybe; query?: InputMaybe; severity?: InputMaybe; state?: InputMaybe>; }; /** Visual object, used in dashboards. Can be timeseries. */ export type Visual = VisualTimeseries; /** * Some data is better understood if the graph is rendered in a different way. * The following different types of different visuals are supported on dashboards. * * - LINE: Line graphs. * - AREA: Area graphs. * - AREA_RELATIVE: Relative area graphs. * * For more information see: https://docs.appsignal.com/metrics/dashboards.html * */ export declare enum VisualDisplayEnum { Area = "AREA", AreaRelative = "AREA_RELATIVE", Line = "LINE" } /** An AppSignal visual, used on dashboards. */ export type VisualInterface = { /** Visual description */ description?: Maybe; display?: Maybe; drawNullAsZero?: Maybe; format?: Maybe; formatInput?: Maybe; id: Scalars['String']['output']; /** * Customizable name for the line. * Support replacements for the metric names, fields and tags with %name%, * %field% and %tag% (where tag is the tag name you've specified). * * Defaults to %name% * */ lineLabel?: Maybe; minYAxis?: Maybe; /** Visual title */ title: Scalars['String']['output']; }; /** Timeseries visual, used on dashboard to show a timeseries graph. */ export type VisualTimeseries = VisualInterface & { __typename?: 'VisualTimeseries'; /** Visual description */ description?: Maybe; display?: Maybe; drawNullAsZero?: Maybe; format?: Maybe; formatInput?: Maybe; id: Scalars['String']['output']; /** * Customizable name for the line. * Support replacements for the metric names, fields and tags with %name%, * %field% and %tag% (where tag is the tag name you've specified). * * Defaults to %name% * */ lineLabel?: Maybe; metrics: Array; minYAxis?: Maybe; /** Visual title */ title: Scalars['String']['output']; }; export type VisualTimeseriesInput = { description?: InputMaybe; display?: InputMaybe; drawNullAsZero?: InputMaybe; format?: InputMaybe; formatInput?: InputMaybe; /** * Customizable name for the line. * Support replacements for the metric names, fields and tags with %name%, * %field% and %tag% (where tag is the tag name you've specified). * * Defaults to %name% * */ lineLabel?: InputMaybe; metrics?: InputMaybe>; minYAxis?: InputMaybe; /** List of tags for the graph */ tags?: InputMaybe>; title: Scalars['String']['input']; }; export type VisualTimeseriesMetric = { __typename?: 'VisualTimeseriesMetric'; /** Metric fields */ fields?: Maybe>; /** Metric name */ name: Scalars['String']['output']; /** List of tags of the graph */ tags?: Maybe>; }; export type VisualTimeseriesMetricField = { __typename?: 'VisualTimeseriesMetricField'; field?: Maybe; }; export type VisualTimeseriesMetricFieldInput = { field: MetricFieldEnum; }; export type VisualTimeseriesMetricInput = { fields: Array; name: Scalars['String']['input']; /** List of tags for the metric */ tags?: InputMaybe>; }; //# sourceMappingURL=types.d.ts.map