Related queries and mutations in Monitors. Each has its own section.
Mutations
tuneTableMonitorAssetRuleThreshold (mutation)
tuneTableMonitorAssetRuleThreshold is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Tune only the sensitivity or manual threshold of a table monitor's per-asset OOTB replacement rule (create-or-update)
Arguments
| Argument | Type | Description |
|---|---|---|
freshnessThresholdMinutes | Int | Manual freshness threshold in minutes (FRESHNESS only) |
ruleType | TableMonitorAssetRuleType! | Which OOTB detector to tune |
sensitivity | SensitivityLevels | Auto-threshold sensitivity (mutually exclusive with a manual threshold) |
table | String! | Full table id of the asset |
unchangedSizeThresholdMinutes | Int | Manual unchanged-size threshold in minutes (UNCHANGED_SIZE only) |
volumeLookbackMinutes | Int | Lookback window for the volume-change band (VOLUME_CHANGE only) |
volumeLowerThreshold | Float | Manual lower bound of the volume-change band (VOLUME_CHANGE only) |
volumeUpperThreshold | Float | Manual upper bound of the volume-change band (VOLUME_CHANGE only) |
warehouse | String! | Warehouse name or UUID |
Returns
TuneTableMonitorAssetRuleThreshold
Example
mutation TuneTableMonitorAssetRuleThreshold($ruleType: TableMonitorAssetRuleType!, $table: String!, $warehouse: String!) {
tuneTableMonitorAssetRuleThreshold(ruleType: $ruleType, table: $table, warehouse: $warehouse) {
success
uuid
ruleType
}
}Types used only by tuneTableMonitorAssetRuleThreshold
tuneTableMonitorAssetRuleThresholdTableMonitorAssetRuleType
TableMonitorAssetRuleTypeEnum type. The OOTB detector this rule configures. Volume-change and unchanged-size are both
backed by VolumeSLO but use different volume metrics. Schema-change is a per-table
on/off flag rather than a CustomRuleModel, so it has no YAML/SLO.
| Value | Description |
|---|---|
FRESHNESS | |
VOLUME_CHANGE | |
UNCHANGED_SIZE | |
SCHEMA |
TuneTableMonitorAssetRuleThreshold
TuneTableMonitorAssetRuleThresholdObject type. Tune ONLY the breach boundary of a table monitor's per-asset OOTB replacement rule.
Changes a single asset/metric detector's auto sensitivity OR its manual threshold — for
freshness, volume change, or unchanged size — creating the replacement rule on first use and
updating it thereafter, without touching schedule, notifications, severity, or any other part
of the rule. Available to a tune-capable role without broad table-edit access; the caller must
still be able to see the table.
Supply exactly one knob. Sensitivity and the manual threshold are mutually exclusive modes; the
manual threshold's shape depends on ruleType:
FRESHNESS:freshnessThresholdMinutes(alert when not updated for longer than this).UNCHANGED_SIZE:unchangedSizeThresholdMinutes(alert when unchanged for longer than this).VOLUME_CHANGE: an out-of-range bandvolumeUpperThreshold/volumeLowerThreshold
(optionally withvolumeLookbackMinutes).
| Field | Type | Description |
|---|---|---|
success | Boolean! | |
uuid | UUID! | UUID of the created or updated OOTB replacement rule |
ruleType | TableMonitorAssetRuleType! |
Related types
updateMonitorDescription (mutation)
updateMonitorDescription is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: General availability
Set the monitor description
Arguments
| Argument | Type | Description |
|---|---|---|
description | String! | The new monitor name (the description field) |
monitorType | String | DEPRECATED: field is ignored |
monitorUuid | UUID! | UUID of the metric monitor or custom rule |
Returns
UpdateMonitorDescription
Example
mutation UpdateMonitorDescription($description: String!, $monitorUuid: UUID!) {
updateMonitorDescription(description: $description, monitorUuid: $monitorUuid) {
success
}
}Types used only by updateMonitorDescription
updateMonitorDescriptionUpdateMonitorDescription
UpdateMonitorDescriptionObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
updateMonitorLabels (mutation)
updateMonitorLabels is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: General availability
Set the monitor labels
Arguments
| Argument | Type | Description |
|---|---|---|
labels | [String]! | Labels to insert on the monitor |
monitorType | String | DEPRECATED: field is ignored |
monitorUuid | UUID! | UUID of the metric monitor or custom rule |
Returns
UpdateMonitorLabels
Example
mutation UpdateMonitorLabels($labels: [String]!, $monitorUuid: UUID!) {
updateMonitorLabels(labels: $labels, monitorUuid: $monitorUuid) {
success
}
}Types used only by updateMonitorLabels
updateMonitorLabelsUpdateMonitorLabels
UpdateMonitorLabelsObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
updateMonitorName (mutation)
updateMonitorName is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use updateMonitorDescription instead
DEPRECATED. Set the monitor description
Arguments
| Argument | Type | Description |
|---|---|---|
monitorType | String | DEPRECATED: field is ignored |
monitorUuid | UUID! | UUID of the metric monitor or custom rule |
name | String! | The new monitor name (the description field) |
Returns
UpdateMonitorName
Example
mutation UpdateMonitorName($monitorUuid: UUID!, $name: String!) {
updateMonitorName(monitorUuid: $monitorUuid, name: $name) {
success
}
}Types used only by updateMonitorName
updateMonitorNameUpdateMonitorName
UpdateMonitorNameObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
updateMonitorNotes (mutation)
updateMonitorNotes is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: General availability
Set the monitor notes
Arguments
| Argument | Type | Description |
|---|---|---|
monitorType | String | DEPRECATED: field is ignored |
monitorUuid | UUID! | UUID of the metric monitor or custom rule |
notes | String! | The notes for the monitor |
Returns
UpdateMonitorNotes
Example
mutation UpdateMonitorNotes($monitorUuid: UUID!, $notes: String!) {
updateMonitorNotes(monitorUuid: $monitorUuid, notes: $notes) {
success
}
}Types used only by updateMonitorNotes
updateMonitorNotesUpdateMonitorNotes
UpdateMonitorNotesObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
updateMonitorsPriorities (mutation)
updateMonitorsPriorities is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set the priorities of monitors
Arguments
| Argument | Type | Description |
|---|---|---|
monitorUuids | [UUID!]! | UUIDs of the metric monitors or custom rules |
priority | String | The new priority for the monitors |
Returns
UpdateMonitorsPriorities
Example
mutation UpdateMonitorsPriorities($monitorUuids: [UUID!]!) {
updateMonitorsPriorities(monitorUuids: $monitorUuids) {
success
}
}Types used only by updateMonitorsPriorities
updateMonitorsPrioritiesUpdateMonitorsPriorities
UpdateMonitorsPrioritiesObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
updateMonitorsSchedules (mutation)
updateMonitorsSchedules is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set the schedules of monitors
Arguments
| Argument | Type | Description |
|---|---|---|
monitorUuids | [UUID!]! | UUIDs of the metric monitors or custom rules |
scheduleConfig | ScheduleConfigInput! | Schedule |
Returns
UpdateMonitorsSchedules
Example
mutation UpdateMonitorsSchedules($monitorUuids: [UUID!]!, $scheduleConfig: ScheduleConfigInput!) {
updateMonitorsSchedules(monitorUuids: $monitorUuids, scheduleConfig: $scheduleConfig) {
success
}
}Types used only by updateMonitorsSchedules
updateMonitorsSchedulesUpdateMonitorsSchedules
UpdateMonitorsSchedulesObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
updateMonitorsSensitivity (mutation)
updateMonitorsSensitivity is a mutation in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Bulk update sensitivity for monitors
Arguments
| Argument | Type | Description |
|---|---|---|
monitorUuids | [UUID!]! | UUIDs of the monitors to update |
sensitivity | SensitivityLevels! | Target sensitivity level |
Returns
UpdateMonitorsSensitivityResponse
Example
mutation UpdateMonitorsSensitivity($monitorUuids: [UUID!]!, $sensitivity: SensitivityLevels!) {
updateMonitorsSensitivity(monitorUuids: $monitorUuids, sensitivity: $sensitivity) {
updated
skipped
}
}Types used only by updateMonitorsSensitivity
updateMonitorsSensitivityUpdateMonitorsSensitivityResponse
UpdateMonitorsSensitivityResponseObject type.
| Field | Type | Description |
|---|---|---|
updated | Int! | Number of monitors whose sensitivity was updated |
skipped | Int! | Number of monitors skipped (manual thresholds or unsupported type) |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
