Table monitors, part 2 of 2 (GraphQL)

Related queries and mutations in Monitors. Each has its own section.

Mutations

pauseTableMonitor (mutation)

pauseTableMonitor 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

Enable a Table monitor

Arguments

ArgumentTypeDescription
monitorUuidUUID!UUID of the table monitor to pause/unpause
pauseBoolean!Pause state of the monitor
reasonStringJustification for the change, recorded as a monitor comment.

Returns

PauseTableMonitor

Example

mutation PauseTableMonitor($monitorUuid: UUID!, $pause: Boolean!) {
  pauseTableMonitor(monitorUuid: $monitorUuid, pause: $pause) {
    tableMonitor {
      createdTime
      updatedTime
      uuid
      accountUuid
      isDeleted
      deletedAt
      description
      notes
      isTemplateManaged
      namespace
      priority
      isPaused
      isDraft
      warehouseUuid
      monitorName
      domainRestrictions
      enableRowCountCollectionLimit
      id
      sensitivity
      autoTuning
    }
  }
}

Types used only by pauseTableMonitor

PauseTableMonitor

Object type. Pause/unpause a table monitor to enable or suppress notifications

FieldTypeDescription
tableMonitorTableMonitor

Related types

TableMonitor, UUID

runTableMonitorValidation (mutation)

runTableMonitorValidation 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.

Start a monitor validation process for a table

Arguments

ArgumentTypeDescription
mconStringMC resource unique identifier

Returns

RunTableMonitorValidation

Example

mutation RunTableMonitorValidation {
  runTableMonitorValidation {
    success
  }
}

Types used only by runTableMonitorValidation

RunTableMonitorValidation

Object type.

FieldTypeDescription
successBooleanTrue if initialized successfully

Source: The GraphQL API reference

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