Job performance (GraphQL)

Related queries and mutations in Performance and cost. Each has its own section.

Queries

getJobsPerformanceData (query)

getJobsPerformanceData is a query in the Monte Carlo GraphQL API, in Performance and cost. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Get jobs performance data

Arguments

ArgumentTypeDescription
filtersJobsPerformanceFilterInput!Filters to apply
pagingJobsPerformancePagingInputPaging parameters

Returns

JobPerformanceData

Example

query GetJobsPerformanceData($filters: JobsPerformanceFilterInput!) {
  getJobsPerformanceData(filters: $filters)
}

Types used only by getJobsPerformanceData

JobPerformanceData

Object type.

FieldTypeDescription
jobSummariesJobPerformanceSummaryConnection!Paged list of summary-level information about job performance, for jobs that executed in the specified period
JobPerformanceSummaryConnection

Object type.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[JobPerformanceSummaryEdge]!Contains the nodes in this connection.
totalCountIntTotal number of jobs matching filter (total count)
JobPerformanceSummaryEdge

Object type. A Relay edge containing a JobPerformanceSummary and its cursor.

FieldTypeDescription
nodeJobPerformanceSummaryThe item at the end of the edge
cursorString!A cursor for use in pagination
JobsPerformancePagingInput

Input object type.

FieldTypeDescription
firstIntNumber of items to retrieve after the cursor. Defaults to 20 if no other paging parameters are provided
afterStringStarting cursor when paging forward
lastIntNumber of items to retrieve before the cursor when paging backward
beforeStringEnding cursor when paging backward
orderByJobsPerformanceSummarySortField by which to order the results. Defaults to LAST_RUN_START_TIME
orderDirectionEtlPerformanceSortDirectionSort direction. Defaults to EnumMeta.ASC
JobsPerformanceSummarySort

Enum type.

ValueDescription
MCON
DISPLAY_NAME
INTEGRATION_TYPE
RUN_COUNT
LAST_RUN_UUID
LAST_RUN_START_TIME
LAST_RUN_END_TIME
LAST_RUN_STATUS
AVG_RUN_DURATION
RUN_DURATION_TREND_7D
FAILURE_RATE

Related types

EtlPerformanceSortDirection, JobPerformanceSummary, JobsPerformanceFilterInput, PageInfo

getJobsPerformanceFacets (query)

getJobsPerformanceFacets is a query in the Monte Carlo GraphQL API, in Performance and cost. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Get facet data for jobs that match the filters

Arguments

ArgumentTypeDescription
filtersJobsPerformanceFilterInput!Current filters being applied to the job performance result set
optionsLimitIntMaximum number of options to return. Defaults to 100

Returns

[JobsPerformanceFacetResponse!]

Example

query GetJobsPerformanceFacets($filters: JobsPerformanceFilterInput!) {
  getJobsPerformanceFacets(filters: $filters) {
    facet
    displayName
  }
}

Related types

JobsPerformanceFacetResponse, JobsPerformanceFilterInput

getTasksPerformanceData (query)

getTasksPerformanceData is a query in the Monte Carlo GraphQL API, in Performance and cost. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Get tasks performance data

Arguments

ArgumentTypeDescription
filtersTasksPerformanceFilterInput!Filters to apply
pagingTasksPerformancePagingInputPaging parameters

Returns

TaskPerformanceData

Example

query GetTasksPerformanceData($filters: TasksPerformanceFilterInput!) {
  getTasksPerformanceData(filters: $filters)
}

Types used only by getTasksPerformanceData

TasksPerformanceFilterInput

Input object type.

FieldTypeDescription
startTimeDateTime!Starting time of period to query for
endTimeDateTimeEnding time of period to query for
jobMconString!Job mcon to get associated tasks
TasksPerformancePagingInput

Input object type.

FieldTypeDescription
firstIntNumber of items to retrieve after the cursor. Defaults to 20 if no other paging parameters are provided
afterStringStarting cursor when paging forward
lastIntNumber of items to retrieve before the cursor when paging backward
beforeStringEnding cursor when paging backward
orderByTasksPerformanceSummarySortField by which to order the results. Defaults to LAST_RUN_START_TIME
orderDirectionEtlPerformanceSortDirectionSort direction. Defaults to EnumMeta.ASC

Related types

DateTime, EtlPerformanceSortDirection, TaskPerformanceData, TasksPerformanceSummarySort

searchJobsPerformanceFacet (query)

searchJobsPerformanceFacet is a query in the Monte Carlo GraphQL API, in Performance and cost. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Search options within a single facet of jobs performance data

Arguments

ArgumentTypeDescription
filtersJobsPerformanceFilterInput!Current filters being applied to the job performance result set
facetJobsPerformanceFacetQueryInput!Indicate the facet to search in and the search text
optionsLimitIntMaximum number of options to return. Defaults to 100

Returns

JobsPerformanceFacetResponse!

Example

query SearchJobsPerformanceFacet($filters: JobsPerformanceFilterInput!, $facet: JobsPerformanceFacetQueryInput!) {
  searchJobsPerformanceFacet(filters: $filters, facet: $facet) {
    facet
    displayName
  }
}

Types used only by searchJobsPerformanceFacet

JobsPerformanceFacetQueryInput

Input object type.

FieldTypeDescription
facetJobPerformanceFacet!The specific facet to get options/counts for
searchStringOptional search text to use to filter the returned facet options

Related types

JobPerformanceFacet, JobsPerformanceFacetResponse, JobsPerformanceFilterInput

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.