Thresholds and sensitivity (GraphQL)

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

Queries

getSensitivity (query)

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

Arguments

ArgumentTypeDescription
mconString
eventTypeString
monitorUuidUUID

Returns

SensitivityThreshold

Example

query GetSensitivity {
  getSensitivity {
    level
  }
}

Types used only by getSensitivity

SensitivityThreshold

Object type.

FieldTypeDescription
levelSensitivityLevelsLow, medium or high sensitivity

Related types

SensitivityLevels, UUID

getThresholds (query)

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

Section describing various anomaly thresholds for the table

Returns

ThresholdsData

Example

query GetThresholds {
  getThresholds {
    freshness {
      status
      expected
      breach
      reason
      lastUpdate
      detectorThreshold
      thresholdLow
      thresholdMedium
      thresholdHigh
    }
  }
}

Related types

ThresholdsData

thresholds (query)

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

Section describing various anomaly thresholds for the table

Returns

ThresholdsData

Example

query Thresholds {
  thresholds {
    freshness {
      status
      expected
      breach
      reason
      lastUpdate
      detectorThreshold
      thresholdLow
      thresholdMedium
      thresholdHigh
    }
  }
}

Related types

ThresholdsData

Mutations

setSensitivity (mutation)

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

Arguments

ArgumentTypeDescription
eventTypeStringevent type for which to get/set sensitivity
mconStringMCON of the object (e.g. table) for which to get/set sensitivity
monitorUuidUUIDUUID of an associated monitor
thresholdSensitivityInputCustom threshold definition

Returns

SetSensitivity

Example

mutation SetSensitivity {
  setSensitivity {
    success
  }
}

Types used only by setSensitivity

SensitivityInput

Input object type.

FieldTypeDescription
levelSensitivityLevelsLow, medium or high sensitivity
SetSensitivity

Object type.

FieldTypeDescription
successBoolean

Related types

SensitivityLevels, UUID

Source: The GraphQL API reference

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