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
| Argument | Type | Description |
|---|---|---|
filters | JobsPerformanceFilterInput! | Filters to apply |
paging | JobsPerformancePagingInput | Paging parameters |
Returns
JobPerformanceData
Example
query GetJobsPerformanceData($filters: JobsPerformanceFilterInput!) {
getJobsPerformanceData(filters: $filters)
}Types used only by getJobsPerformanceData
getJobsPerformanceDataJobPerformanceData
JobPerformanceDataObject type.
| Field | Type | Description |
|---|---|---|
jobSummaries | JobPerformanceSummaryConnection! | Paged list of summary-level information about job performance, for jobs that executed in the specified period |
JobPerformanceSummaryConnection
JobPerformanceSummaryConnectionObject type.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [JobPerformanceSummaryEdge]! | Contains the nodes in this connection. |
totalCount | Int | Total number of jobs matching filter (total count) |
JobPerformanceSummaryEdge
JobPerformanceSummaryEdgeObject type. A Relay edge containing a JobPerformanceSummary and its cursor.
| Field | Type | Description |
|---|---|---|
node | JobPerformanceSummary | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
JobsPerformancePagingInput
JobsPerformancePagingInputInput object type.
| Field | Type | Description |
|---|---|---|
first | Int | Number of items to retrieve after the cursor. Defaults to 20 if no other paging parameters are provided |
after | String | Starting cursor when paging forward |
last | Int | Number of items to retrieve before the cursor when paging backward |
before | String | Ending cursor when paging backward |
orderBy | JobsPerformanceSummarySort | Field by which to order the results. Defaults to LAST_RUN_START_TIME |
orderDirection | EtlPerformanceSortDirection | Sort direction. Defaults to EnumMeta.ASC |
JobsPerformanceSummarySort
JobsPerformanceSummarySortEnum type.
| Value | Description |
|---|---|
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
| Argument | Type | Description |
|---|---|---|
filters | JobsPerformanceFilterInput! | Current filters being applied to the job performance result set |
optionsLimit | Int | Maximum 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
| Argument | Type | Description |
|---|---|---|
filters | TasksPerformanceFilterInput! | Filters to apply |
paging | TasksPerformancePagingInput | Paging parameters |
Returns
Example
query GetTasksPerformanceData($filters: TasksPerformanceFilterInput!) {
getTasksPerformanceData(filters: $filters)
}Types used only by getTasksPerformanceData
getTasksPerformanceDataTasksPerformanceFilterInput
TasksPerformanceFilterInputInput object type.
TasksPerformancePagingInput
TasksPerformancePagingInputInput object type.
| Field | Type | Description |
|---|---|---|
first | Int | Number of items to retrieve after the cursor. Defaults to 20 if no other paging parameters are provided |
after | String | Starting cursor when paging forward |
last | Int | Number of items to retrieve before the cursor when paging backward |
before | String | Ending cursor when paging backward |
orderBy | TasksPerformanceSummarySort | Field by which to order the results. Defaults to LAST_RUN_START_TIME |
orderDirection | EtlPerformanceSortDirection | Sort 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
| Argument | Type | Description |
|---|---|---|
filters | JobsPerformanceFilterInput! | Current filters being applied to the job performance result set |
facet | JobsPerformanceFacetQueryInput! | Indicate the facet to search in and the search text |
optionsLimit | Int | Maximum number of options to return. Defaults to 100 |
Returns
Example
query SearchJobsPerformanceFacet($filters: JobsPerformanceFilterInput!, $facet: JobsPerformanceFacetQueryInput!) {
searchJobsPerformanceFacet(filters: $filters, facet: $facet) {
facet
displayName
}
}Types used only by searchJobsPerformanceFacet
searchJobsPerformanceFacetJobsPerformanceFacetQueryInput
JobsPerformanceFacetQueryInputInput object type.
| Field | Type | Description |
|---|---|---|
facet | JobPerformanceFacet! | The specific facet to get options/counts for |
search | String | Optional 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.
