Alert and incident dashboards (GraphQL)

Related queries and mutations in Catalog and lineage. Each has its own section.

Queries

getAlertDataWeekly (query)

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

Dashboard counts for alerts occurring over specified weeks

Arguments

ArgumentTypeDescription
groupByAlertGroupBy!The value to group the alerts by
domainUuidUUIDThe domain id to filter by
lookbackWeeksIntThe number of weeks to aggregate data over

Returns

AlertWeeklyDataDashboard

Example

query GetAlertDataWeekly($groupBy: AlertGroupBy!) {
  getAlertDataWeekly(groupBy: $groupBy) {
    weeklyData {
      startDate
      endDate
    }
  }
}

Types used only by getAlertDataWeekly

AlertGroupBy

Enum type.

ValueDescription
STATUS
TYPE
AlertTimePeriodAggregateData

Object type.

FieldTypeDescription
startDateDate!The start date for the aggregated data
endDateDate!The end date for the aggregated data
values[LabelCount]The aggregate label and count for the time time period
AlertWeeklyDataDashboard

Object type.

FieldTypeDescription
weeklyData[AlertTimePeriodAggregateData]The weekly alert data

Related types

Date, LabelCount, UUID

getDataAssetsDashboard (query)

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

Dashboard counts for monitored data assets

Arguments

ArgumentTypeDescription
domainUuidUUIDThe domain id to filter by

Returns

DataAssetDashboard

Example

query GetDataAssetsDashboard {
  getDataAssetsDashboard {
    dataSourcesCount
    projectCount
    schemaCount
    tableCount
    viewCount
    externalTableCount
    wildcardTableCount
  }
}

Types used only by getDataAssetsDashboard

DataAssetDashboard

Object type.

FieldTypeDescription
dataSourcesCountInt!The number of data sources monitored
projectCountInt!The number of projects monitored
schemaCountInt!The number of schemas monitored
tableCountInt!The number of tables monitored
viewCountInt!The number of views monitored
externalTableCountInt!The number of external tables monitored
wildcardTableCountInt!The number of wildcard tables monitored

Related types

UUID

getIncidentDashboardData (query)

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

Dashboard counts for incidents occurring over specified weeks

Arguments

ArgumentTypeDescription
domainUuidUUIDThe domain id to filter by
lookbackWeeksIntThe number of weeks to aggregate data over

Returns

IncidentDashboardData

Example

query GetIncidentDashboardData {
  getIncidentDashboardData {
    totalIncidentCount
    noStatusCount
    investigatingCount
    fixedCount
    expectedAndNoActionCount
  }
}

Types used only by getIncidentDashboardData

IncidentDashboardData

Object type.

FieldTypeDescription
totalIncidentCountInt!The total count of incidents over the specified weeks
noStatusCountInt!The total count of incidents with no status over the specified weeks
investigatingCountInt!The total count of incidents with status of investigating over the specified weeks
fixedCountInt!The total count of incidents with fixed status over the specified weeks
expectedAndNoActionCountInt!The total count of incidents with status expected or no action over the specified weeks

Related types

UUID

getIncidentDataWeekly (query)

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

Dashboard counts for incidents occurring over specified weeks

Arguments

ArgumentTypeDescription
groupByIncidentGroupBy!The value to group the incidents by
domainUuidUUIDThe domain id to filter by
lookbackWeeksIntThe number of weeks to aggregate data over

Returns

IncidentWeeklyDataDashboard

Example

query GetIncidentDataWeekly($groupBy: IncidentGroupBy!) {
  getIncidentDataWeekly(groupBy: $groupBy) {
    weeklyData {
      startDate
      endDate
    }
  }
}

Types used only by getIncidentDataWeekly

IncidentGroupBy

Enum type.

ValueDescription
STATUS
TYPE
IncidentTimePeriodAggregateData

Object type.

FieldTypeDescription
startDateDate!The start date for the aggregated data
endDateDate!The end date for the aggregated data
values[LabelCount]The aggregate label and count for the time time period
IncidentWeeklyDataDashboard

Object type.

FieldTypeDescription
weeklyData[IncidentTimePeriodAggregateData]The weekly incident data

Related types

Date, LabelCount, UUID

getMonitorDashboardData (query)

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

Status: Deprecated: Monitor dashboard counts are no longer maintained — this operation always returns a zero-filled MonitorDashboardData. Use getMonitors { consolidatedMonitorStatus } and aggregate client-side instead.

Dashboard counts for monitors. Always returns zeros — see deprecation_reason.

Arguments

ArgumentTypeDescription
domainUuidUUIDThe domain id to filter by

Returns

MonitorDashboardData

Example

query GetMonitorDashboardData {
  getMonitorDashboardData {
    totalMonitorCount
    pausedCount
    snoozedCount
    activeCount
    trainingCount
    misconfiguredCount
    errorCount
    inProgressCount
    noStatusCount
  }
}

Types used only by getMonitorDashboardData

MonitorDashboardData

Object type.

FieldTypeDescription
totalMonitorCountInt!Total count of monitors actively in MC account
pausedCountInt!Total number of paused monitors
snoozedCountInt!Total number of snoozed monitors
activeCountInt!Total count of monitors with active status
trainingCountInt!Total count of monitors with training status
misconfiguredCountInt!Total count of monitors with misconfigured status
errorCountInt!Total count of monitors with error status
inProgressCountInt!Total number of monitors currently running
noStatusCountInt!Total number of monitors with state no status

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.