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
| Argument | Type | Description |
|---|---|---|
groupBy | AlertGroupBy! | The value to group the alerts by |
domainUuid | UUID | The domain id to filter by |
lookbackWeeks | Int | The 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
getAlertDataWeeklyAlertGroupBy
AlertGroupByEnum type.
| Value | Description |
|---|---|
STATUS | |
TYPE |
AlertTimePeriodAggregateData
AlertTimePeriodAggregateDataObject type.
| Field | Type | Description |
|---|---|---|
startDate | Date! | The start date for the aggregated data |
endDate | Date! | The end date for the aggregated data |
values | [LabelCount] | The aggregate label and count for the time time period |
AlertWeeklyDataDashboard
AlertWeeklyDataDashboardObject type.
| Field | Type | Description |
|---|---|---|
weeklyData | [AlertTimePeriodAggregateData] | The weekly alert data |
Related types
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
| Argument | Type | Description |
|---|---|---|
domainUuid | UUID | The domain id to filter by |
Returns
DataAssetDashboard
Example
query GetDataAssetsDashboard {
getDataAssetsDashboard {
dataSourcesCount
projectCount
schemaCount
tableCount
viewCount
externalTableCount
wildcardTableCount
}
}Types used only by getDataAssetsDashboard
getDataAssetsDashboardDataAssetDashboard
DataAssetDashboardObject type.
| Field | Type | Description |
|---|---|---|
dataSourcesCount | Int! | The number of data sources monitored |
projectCount | Int! | The number of projects monitored |
schemaCount | Int! | The number of schemas monitored |
tableCount | Int! | The number of tables monitored |
viewCount | Int! | The number of views monitored |
externalTableCount | Int! | The number of external tables monitored |
wildcardTableCount | Int! | The number of wildcard tables monitored |
Related types
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
| Argument | Type | Description |
|---|---|---|
domainUuid | UUID | The domain id to filter by |
lookbackWeeks | Int | The number of weeks to aggregate data over |
Returns
IncidentDashboardData
Example
query GetIncidentDashboardData {
getIncidentDashboardData {
totalIncidentCount
noStatusCount
investigatingCount
fixedCount
expectedAndNoActionCount
}
}Types used only by getIncidentDashboardData
getIncidentDashboardDataIncidentDashboardData
IncidentDashboardDataObject type.
| Field | Type | Description |
|---|---|---|
totalIncidentCount | Int! | The total count of incidents over the specified weeks |
noStatusCount | Int! | The total count of incidents with no status over the specified weeks |
investigatingCount | Int! | The total count of incidents with status of investigating over the specified weeks |
fixedCount | Int! | The total count of incidents with fixed status over the specified weeks |
expectedAndNoActionCount | Int! | The total count of incidents with status expected or no action over the specified weeks |
Related types
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
| Argument | Type | Description |
|---|---|---|
groupBy | IncidentGroupBy! | The value to group the incidents by |
domainUuid | UUID | The domain id to filter by |
lookbackWeeks | Int | The 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
getIncidentDataWeeklyIncidentGroupBy
IncidentGroupByEnum type.
| Value | Description |
|---|---|
STATUS | |
TYPE |
IncidentTimePeriodAggregateData
IncidentTimePeriodAggregateDataObject type.
| Field | Type | Description |
|---|---|---|
startDate | Date! | The start date for the aggregated data |
endDate | Date! | The end date for the aggregated data |
values | [LabelCount] | The aggregate label and count for the time time period |
IncidentWeeklyDataDashboard
IncidentWeeklyDataDashboardObject type.
| Field | Type | Description |
|---|---|---|
weeklyData | [IncidentTimePeriodAggregateData] | The weekly incident data |
Related types
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
| Argument | Type | Description |
|---|---|---|
domainUuid | UUID | The 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
getMonitorDashboardDataMonitorDashboardData
MonitorDashboardDataObject type.
| Field | Type | Description |
|---|---|---|
totalMonitorCount | Int! | Total count of monitors actively in MC account |
pausedCount | Int! | Total number of paused monitors |
snoozedCount | Int! | Total number of snoozed monitors |
activeCount | Int! | Total count of monitors with active status |
trainingCount | Int! | Total count of monitors with training status |
misconfiguredCount | Int! | Total count of monitors with misconfigured status |
errorCount | Int! | Total count of monitors with error status |
inProgressCount | Int! | Total number of monitors currently running |
noStatusCount | Int! | Total number of monitors with state no status |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
