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
| Argument | Type | Description |
|---|---|---|
mcon | String | |
eventType | String | |
monitorUuid | UUID |
Returns
SensitivityThreshold
Example
query GetSensitivity {
getSensitivity {
level
}
}Types used only by getSensitivity
getSensitivitySensitivityThreshold
SensitivityThresholdObject type.
| Field | Type | Description |
|---|---|---|
level | SensitivityLevels | Low, medium or high sensitivity |
Related types
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
Example
query GetThresholds {
getThresholds {
freshness {
status
expected
breach
reason
lastUpdate
detectorThreshold
thresholdLow
thresholdMedium
thresholdHigh
}
}
}Related types
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
Example
query Thresholds {
thresholds {
freshness {
status
expected
breach
reason
lastUpdate
detectorThreshold
thresholdLow
thresholdMedium
thresholdHigh
}
}
}Related types
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
| Argument | Type | Description |
|---|---|---|
eventType | String | event type for which to get/set sensitivity |
mcon | String | MCON of the object (e.g. table) for which to get/set sensitivity |
monitorUuid | UUID | UUID of an associated monitor |
threshold | SensitivityInput | Custom threshold definition |
Returns
SetSensitivity
Example
mutation SetSensitivity {
setSensitivity {
success
}
}Types used only by setSensitivity
setSensitivitySensitivityInput
SensitivityInputInput object type.
| Field | Type | Description |
|---|---|---|
level | SensitivityLevels | Low, medium or high sensitivity |
SetSensitivity
SetSensitivityObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
