Related queries and mutations in Dashboards and reports. Each has its own section.
Queries
getDataOperationsDashboard (query)
getDataOperationsDashboard is a query in the Monte Carlo GraphQL API, in Dashboards and reports. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get data operations dashboard by uuid.
Arguments
| Argument | Type | Description |
|---|---|---|
dataOperationsDashboardUuid | UUID! | UUID of the data operations Dashboard. |
Returns
Example
query GetDataOperationsDashboard($dataOperationsDashboardUuid: UUID!) {
getDataOperationsDashboard(dataOperationsDashboardUuid: $dataOperationsDashboardUuid) {
uuid
name
description
createdTime
updatedTime
}
}Related types
DataOperationsDashboardOutput, UUID
getExecDashboardMetrics (query)
getExecDashboardMetrics is a query in the Monte Carlo GraphQL API, in Dashboards and reports. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Get one or more exec dashboard metrics.
Arguments
| Argument | Type | Description |
|---|---|---|
metrics | [ExecDashboardMetrics]! | |
startTime | DateTime | Start time to get time-bound values for. |
endTime | DateTime | End time to get time-bound values for. |
periodCount | Int | Number of periods to get time-bound values for. |
periodUnit | PeriodGrouping | Time unit to use with the period_count, if not defined use period_grouping. |
periodGrouping | PeriodGrouping | Time buckets to group time-bound metrics by. |
periodTotal | Boolean | Indicates if must return a single value with the total. |
periodIncludeCurrent | Boolean | Indicates if must include until current days (otherwise will include only full weeks/months). |
resourceId | UUID | Resource id to filter. |
domainId | UUID | Domain id to filter. Deprecated, please use domain_ids |
keyAssetsOnly | Boolean | Only include key assets. |
tags | [TagKeyValuePairInput] | Tags to filter. |
monitorTags | [TagKeyValuePairInput] | Monitor tags to filter. |
incidentTypes | [String] | Filter by type of incident (e.g. anomalies) |
includeFeedback | [String] | Filter by user feedback |
excludeFeedback | [String] | Exclude by user feedback |
domainIds | [UUID] | Domain ids to filter. |
dataProductIds | [UUID] | Data Product UUIDs. |
audienceIds | [UUID] | Audience UUIDs. |
Returns
[ExecDashboardMetric]
Example
query GetExecDashboardMetrics($metrics: [ExecDashboardMetrics]!) {
getExecDashboardMetrics(metrics: $metrics) {
metric
hasError
}
}Types used only by getExecDashboardMetrics
getExecDashboardMetricsExecDashboardDataPoint
ExecDashboardDataPointObject type. A single measure/data point for a metric.
| Field | Type | Description |
|---|---|---|
value | Float | Value of data point. |
periodStart | DateTime | Start of period for data point, for time series. |
dimension | String | Dimension of data point, for category series. |
children | [ExecDashboardDataPoint] |
ExecDashboardMetric
ExecDashboardMetricObject type. A set of data points (or single data point) that is a named measure.
| Field | Type | Description |
|---|---|---|
metric | ExecDashboardMetrics! | Metric identifier. |
dataPoints | [ExecDashboardDataPoint] | Data points. May only be one for single-value metrics. |
hasError | Boolean | If true, indicates an error occurred trying to get metric data. |
ExecDashboardMetrics
ExecDashboardMetricsEnum type. Available executive dashboard metrics.
For series, we use the plural. Ex: INCIDENTS_COUNTS, vs. singular for single. Ex: TABLES_COUNT
| Value | Description |
|---|---|
DAILY_TABLES_COUNTS | |
DAILY_MUTED_TABLES_COUNTS | Deprecated: Muted tables are no longer tracked. This metric returns no data points.. |
DAILY_NON_MUTED_TABLES_COUNTS | Deprecated: Muted tables are no longer tracked. This metric returns no data points.. |
DAILY_UNMONITORED_TABLES_COUNTS | |
INCIDENTS_COUNTS | |
INCIDENTS_STATUS_UPDATE_RATE | |
INCIDENTS_MEDIAN_TIME_TO_FIRST_RESPONSE | |
INCIDENTS_MEDIAN_TIME_TO_RESOLUTION | |
STACK_SUMMARY | |
SQL_RULES_UPTIME_PCT | |
FRESHNESS_UPTIME_PCT | |
VOLUME_UPTIME_PCT | |
OOTB_FRESHNESS_UPTIME_PCT | |
OOTB_VOLUME_UPTIME_PCT | |
FIELD_MONITOR_UPTIME_PCT | |
MONITORS_INCIDENTS_COUNTS | |
MONITORS_CREATED_COUNT | |
USER_VISITS_COUNTS | |
USER_APP_VIEWS_COUNTS | |
USER_PAGE_VIEWS_COUNTS | |
DECLARED_INCIDENTS_COUNTS | |
DECLARED_INCIDENTS_BY_SEVERITY_COUNTS | |
DECLARED_INCIDENTS_BY_SEVERITY_AND_TYPE_COUNTS | |
DECLARED_INCIDENTS_BY_DOMAIN_COUNT | |
DECLARED_INCIDENTS_TIME_TO_RESOLVED | |
INCIDENTS_BY_DATA_PRODUCT | |
MONITORS_BY_TYPE_AND_DOMAIN_COUNT | |
ALERTS_BY_ACKNOWLEDGEMENT_AND_DOMAIN_COUNT |
Related types
DateTime, PeriodGrouping, TagKeyValuePairInput, UUID
getExecDashboardTables (query)
getExecDashboardTables is a query in the Monte Carlo GraphQL API, in Dashboards and reports. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Get one or more exec dashboard metrics.
Arguments
| Argument | Type | Description |
|---|---|---|
tables | [ExecDashboardTables]! | |
startTime | DateTime | Start time to get time-bound values for. |
endTime | DateTime | End time to get time-bound values for. |
periodCount | Int | Number of periods to get time-bound values for. |
periodUnit | PeriodGrouping | Time unit to use with the period_count, if not defined use period_grouping. |
periodGrouping | PeriodGrouping | Time buckets to group time-bound metrics by. |
periodTotal | Boolean | Indicates if must return a single value with the total. |
periodIncludeCurrent | Boolean | Indicates if must include until current days (otherwise will include only full weeks/months). |
resourceId | UUID | Resource id to filter. |
domainId | UUID | Domain id to filter. Please use domain_ids. |
keyAssetsOnly | Boolean | Only include key assets. |
tags | [TagKeyValuePairInput] | Tags to filter. |
incidentTypes | [String] | Filter by type of incident (e.g. anomalies) |
includeFeedback | [String] | Filter by user feedback |
excludeFeedback | [String] | Exclude by user feedback |
domainIds | [UUID] | Domain ids to filter. |
dataProductIds | [UUID] | Data Product UUIDs. |
audienceIds | [UUID] | Audience UUIDs. |
Returns
[ExecDashboardTable]
Example
query GetExecDashboardTables($tables: [ExecDashboardTables]!) {
getExecDashboardTables(tables: $tables) {
table
isVisible
hasError
}
}Types used only by getExecDashboardTables
getExecDashboardTablesDataColumnTypes
DataColumnTypesEnum type. Available types for column values.
| Value | Description |
|---|---|
TEXT | |
NUMERIC | |
DATE_TIME | |
HOURS | |
CHART | |
PERCENTAGE |
ExecDashboardDataColumn
ExecDashboardDataColumnObject type. A column for a table.
| Field | Type | Description |
|---|---|---|
name | String! | Name associated with the column, can be used to identify it. |
type | DataColumnTypes! | Data type of the values included in the column. |
ExecDashboardDataRow
ExecDashboardDataRowObject type. A row with values for each column.
| Field | Type | Description |
|---|---|---|
values | [String] | Values for each column in the row. |
ExecDashboardTable
ExecDashboardTableObject type. A table with measured values.
| Field | Type | Description |
|---|---|---|
table | ExecDashboardTables! | Table identifier. |
dataColumns | [ExecDashboardDataColumn] | Column definitions. |
dataRows | [ExecDashboardDataRow] | Row values. |
isVisible | Boolean | If true, indicates that the table must be shown, otherwise it should be hidden. |
hasError | Boolean | If true, indicates an error occurred trying to get metric data. |
ExecDashboardTables
ExecDashboardTablesEnum type. Available executive dashboard tables.
| Value | Description |
|---|---|
MONITORS_TABLE | |
USERS_TABLE | |
DOMAINS_TABLE |
Related types
DateTime, PeriodGrouping, TagKeyValuePairInput, UUID
listDataOperationsDashboards (query)
listDataOperationsDashboards is a query in the Monte Carlo GraphQL API, in Dashboards and reports. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List data operations dashboards.
Arguments
| Argument | Type | Description |
|---|---|---|
pageSize | Int | Page size for each call. If not set, by default it's 50. |
cursor | String | cursor for next page of data operations dashboards. |
Returns
ListDataOperationsDashboardsOutput
Example
query ListDataOperationsDashboards {
listDataOperationsDashboards {
totalCount
}
}Types used only by listDataOperationsDashboards
listDataOperationsDashboardsListDataOperationsDashboardsOutput
ListDataOperationsDashboardsOutputObject type.
| Field | Type | Description |
|---|---|---|
totalCount | Int | total count of the operations dashboards. |
dataOperationsDashboards | [DataOperationsDashboardOutput] | result data operations list. |
nextPageInfo | NextPageInfo | pagination information. |
Related types
DataOperationsDashboardOutput, NextPageInfo
Mutations
createOrUpdateDataOperationsDashboard (mutation)
createOrUpdateDataOperationsDashboard is a mutation in the Monte Carlo GraphQL API, in Dashboards and reports. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Create or update data operations dashboard.
Arguments
| Argument | Type | Description |
|---|---|---|
criteria | DODCriteriaInput | Criteria for the dashboard. |
description | String | Description of the Data Operations Dashboard |
name | String | Data Operations Dashboard name |
uuid | UUID | UUID of data operations dashboard to update |
Returns
CreateOrUpdateDataOperationsDashboardMutation
Example
mutation CreateOrUpdateDataOperationsDashboard {
createOrUpdateDataOperationsDashboard {
dataOperationsDashboard {
uuid
name
description
createdTime
updatedTime
}
}
}Types used only by createOrUpdateDataOperationsDashboard
createOrUpdateDataOperationsDashboardCreateOrUpdateDataOperationsDashboardMutation
CreateOrUpdateDataOperationsDashboardMutationObject type.
| Field | Type | Description |
|---|---|---|
dataOperationsDashboard | DataOperationsDashboardOutput | Created or updated data operations dashboard |
DODCriteriaInput
DODCriteriaInputInput object type.
| Field | Type | Description |
|---|---|---|
timeRange | TimeRangeInput | Time range criteria. |
dataProductUuids | [UUID] | Data product uuid filters. |
audienceUuids | [UUID] | Audience uuid filters. |
domainUuids | [UUID] | Domain uuid filters. |
tags | [TagKeyValuePairInput] | Tags filters. |
monitorTags | [TagKeyValuePairInput] | Monitor tags filters. |
TimeRangeInput
TimeRangeInputInput object type.
| Field | Type | Description |
|---|---|---|
metricGroupPeriodUnit | TimeRangeUnit! | Metric group unit. Will be used as the granularity for metrics on the Dashboard. |
lookBackLength | Int | Look back length in integer. Together with look_back_unit, they defined how many days/weeks/months to look back by default. When this is set, look_back_unit should be set as well, start_time/end_time will be ignored. |
lookBackUnit | TimeRangeUnit | Look back time unit. Together with look_back_length, they define how many days/weeks/months to look back by default.When this is set, look_back_length is required, start_time/end_time will be ignored. |
startTime | DateTime | Start time for metrics on this dashboard. If this is set, the end_time is required. If look_back_length and/or look_back_unit is set, this field is ignored. |
endTime | DateTime | End time for metrics on this dashboard. If this is set, the start_time is required. If look_back_length and/or look_back_unit is set, this field is ignored. |
Related types
DataOperationsDashboardOutput, DateTime, TagKeyValuePairInput, TimeRangeUnit, UUID
deleteDataOperationsDashboard (mutation)
deleteDataOperationsDashboard is a mutation in the Monte Carlo GraphQL API, in Dashboards and reports. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Delete a data operations dashboard.
Arguments
| Argument | Type | Description |
|---|---|---|
dataOperationsDashboardUuid | UUID | UUID of the data operations dashboard to delete. |
Returns
DeleteDataOperationsDashboardMutation
Example
mutation DeleteDataOperationsDashboard {
deleteDataOperationsDashboard {
success
}
}Types used only by deleteDataOperationsDashboard
deleteDataOperationsDashboardDeleteDataOperationsDashboardMutation
DeleteDataOperationsDashboardMutationObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean | Indicates whether the delete happened successfully or not. |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
