Executive and data operations dashboards (GraphQL)

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

ArgumentTypeDescription
dataOperationsDashboardUuidUUID!UUID of the data operations Dashboard.

Returns

DataOperationsDashboardOutput

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

ArgumentTypeDescription
metrics[ExecDashboardMetrics]!
startTimeDateTimeStart time to get time-bound values for.
endTimeDateTimeEnd time to get time-bound values for.
periodCountIntNumber of periods to get time-bound values for.
periodUnitPeriodGroupingTime unit to use with the period_count, if not defined use period_grouping.
periodGroupingPeriodGroupingTime buckets to group time-bound metrics by.
periodTotalBooleanIndicates if must return a single value with the total.
periodIncludeCurrentBooleanIndicates if must include until current days (otherwise will include only full weeks/months).
resourceIdUUIDResource id to filter.
domainIdUUIDDomain id to filter. Deprecated, please use domain_ids
keyAssetsOnlyBooleanOnly 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

ExecDashboardDataPoint

Object type. A single measure/data point for a metric.

FieldTypeDescription
valueFloatValue of data point.
periodStartDateTimeStart of period for data point, for time series.
dimensionStringDimension of data point, for category series.
children[ExecDashboardDataPoint]
ExecDashboardMetric

Object type. A set of data points (or single data point) that is a named measure.

FieldTypeDescription
metricExecDashboardMetrics!Metric identifier.
dataPoints[ExecDashboardDataPoint]Data points. May only be one for single-value metrics.
hasErrorBooleanIf true, indicates an error occurred trying to get metric data.
ExecDashboardMetrics

Enum type. Available executive dashboard metrics.

For series, we use the plural. Ex: INCIDENTS_COUNTS, vs. singular for single. Ex: TABLES_COUNT

ValueDescription
DAILY_TABLES_COUNTS
DAILY_MUTED_TABLES_COUNTSDeprecated: Muted tables are no longer tracked. This metric returns no data points..
DAILY_NON_MUTED_TABLES_COUNTSDeprecated: 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

ArgumentTypeDescription
tables[ExecDashboardTables]!
startTimeDateTimeStart time to get time-bound values for.
endTimeDateTimeEnd time to get time-bound values for.
periodCountIntNumber of periods to get time-bound values for.
periodUnitPeriodGroupingTime unit to use with the period_count, if not defined use period_grouping.
periodGroupingPeriodGroupingTime buckets to group time-bound metrics by.
periodTotalBooleanIndicates if must return a single value with the total.
periodIncludeCurrentBooleanIndicates if must include until current days (otherwise will include only full weeks/months).
resourceIdUUIDResource id to filter.
domainIdUUIDDomain id to filter. Please use domain_ids.
keyAssetsOnlyBooleanOnly 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

DataColumnTypes

Enum type. Available types for column values.

ValueDescription
TEXT
NUMERIC
DATE_TIME
HOURS
CHART
PERCENTAGE
ExecDashboardDataColumn

Object type. A column for a table.

FieldTypeDescription
nameString!Name associated with the column, can be used to identify it.
typeDataColumnTypes!Data type of the values included in the column.
ExecDashboardDataRow

Object type. A row with values for each column.

FieldTypeDescription
values[String]Values for each column in the row.
ExecDashboardTable

Object type. A table with measured values.

FieldTypeDescription
tableExecDashboardTables!Table identifier.
dataColumns[ExecDashboardDataColumn]Column definitions.
dataRows[ExecDashboardDataRow]Row values.
isVisibleBooleanIf true, indicates that the table must be shown, otherwise it should be hidden.
hasErrorBooleanIf true, indicates an error occurred trying to get metric data.
ExecDashboardTables

Enum type. Available executive dashboard tables.

ValueDescription
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

ArgumentTypeDescription
pageSizeIntPage size for each call. If not set, by default it's 50.
cursorStringcursor for next page of data operations dashboards.

Returns

ListDataOperationsDashboardsOutput

Example

query ListDataOperationsDashboards {
  listDataOperationsDashboards {
    totalCount
  }
}

Types used only by listDataOperationsDashboards

ListDataOperationsDashboardsOutput

Object type.

FieldTypeDescription
totalCountInttotal count of the operations dashboards.
dataOperationsDashboards[DataOperationsDashboardOutput]result data operations list.
nextPageInfoNextPageInfopagination 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

ArgumentTypeDescription
criteriaDODCriteriaInputCriteria for the dashboard.
descriptionStringDescription of the Data Operations Dashboard
nameStringData Operations Dashboard name
uuidUUIDUUID of data operations dashboard to update

Returns

CreateOrUpdateDataOperationsDashboardMutation

Example

mutation CreateOrUpdateDataOperationsDashboard {
  createOrUpdateDataOperationsDashboard {
    dataOperationsDashboard {
      uuid
      name
      description
      createdTime
      updatedTime
    }
  }
}

Types used only by createOrUpdateDataOperationsDashboard

CreateOrUpdateDataOperationsDashboardMutation

Object type.

FieldTypeDescription
dataOperationsDashboardDataOperationsDashboardOutputCreated or updated data operations dashboard
DODCriteriaInput

Input object type.

FieldTypeDescription
timeRangeTimeRangeInputTime 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

Input object type.

FieldTypeDescription
metricGroupPeriodUnitTimeRangeUnit!Metric group unit. Will be used as the granularity for metrics on the Dashboard.
lookBackLengthIntLook 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.
lookBackUnitTimeRangeUnitLook 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.
startTimeDateTimeStart 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.
endTimeDateTimeEnd 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

ArgumentTypeDescription
dataOperationsDashboardUuidUUIDUUID of the data operations dashboard to delete.

Returns

DeleteDataOperationsDashboardMutation

Example

mutation DeleteDataOperationsDashboard {
  deleteDataOperationsDashboard {
    success
  }
}

Types used only by deleteDataOperationsDashboard

DeleteDataOperationsDashboardMutation

Object type.

FieldTypeDescription
successBooleanIndicates whether the delete happened successfully or not.

Related types

UUID

Source: The GraphQL API reference

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