This API is deprecated. Use the Settings API instead. Look for the Metric events (builtin:anomaly-detection.metric-events
) schema.
Some JSON models of the Metric events anomaly detection API vary, depending on the filterType of some objects. Here you can find JSON models for each variation.
MetricEventAlertingScope
objectThe MetricEventAlertingScope
object is the base for alerting scopes of metric events. The actual set of fields depends on the filterType of the scope.
CustomDeviceGroupNameAlertingScope
objectA scope filter for the related custom device group name.
A filter for a string value based on the given operator.
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
The operator to match on.
CONTAINS_CASE_INSENSITIVE
CONTAINS_CASE_SENSITIVE
EQUALS
The value to match on.
{"filterType": "CUSTOM_DEVICE_GROUP_NAME","nameFilter": {"value": "entity name","operator": "CONTAINS_CASE_INSENSITIVE"}}
EntityIdAlertingScope
objectA scope filter for a monitored entity identifier.
The monitored entities id to match on.
{"filterType": "ENTITY_ID","entityId": "HOST-B7A6F9EE9F366CB5"}
HostNameAlertingScope
objectA scope filter for the related host name.
A filter for a string value based on the given operator.
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
The operator to match on.
CONTAINS_CASE_INSENSITIVE
CONTAINS_CASE_SENSITIVE
EQUALS
The value to match on.
{"filterType": "HOST_NAME","nameFilter": {"value": "entity name","operator": "CONTAINS_CASE_INSENSITIVE"}}
HostGroupNameAlertingScope
objectA scope filter for the related host group name.
A filter for a string value based on the given operator.
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
The operator to match on.
CONTAINS_CASE_INSENSITIVE
CONTAINS_CASE_SENSITIVE
EQUALS
The value to match on.
{"filterType": "HOST_GROUP_NAME","nameFilter": {"value": "entity name","operator": "CONTAINS_CASE_INSENSITIVE"}}
ManagementZoneAlertingScope
objectA scope filter for a management zone identifier.
The management zone id to match on.
{"filterType": "MANAGEMENT_ZONE","mzId": "6958644387494623526"}
NameAlertingScope
objectA scope filter for a monitored entity name.
A filter for a string value based on the given operator.
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
The operator to match on.
CONTAINS_CASE_INSENSITIVE
CONTAINS_CASE_SENSITIVE
EQUALS
The value to match on.
{"filterType": "NAME","nameFilter": {"value": "entity name","operator": "CONTAINS_CASE_INSENSITIVE"}}
ProcessGroupIdAlertingScope
objectA scope filter for a process group identifier.
The process groups id to match on.
{"filterType": "PROCESS_GROUP_ID","processGroupId": "PROCESS_GROUP-B34081EFF9E5F516"}
ProcessGroupNameAlertingScope
objectA scope filter for the related process group name.
A filter for a string value based on the given operator.
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
The operator to match on.
CONTAINS_CASE_INSENSITIVE
CONTAINS_CASE_SENSITIVE
EQUALS
The value to match on.
{"filterType": "PROCESS_GROUP_NAME","nameFilter": {"value": "entity name","operator": "CONTAINS_CASE_INSENSITIVE"}}
TagFilterAlertingScope
objectA scope filter for tags on entities.
TagFilter
objectA tag-based filter of monitored entities.
The origin of the tag, such as AWS or Cloud Foundry.
Custom tags use the CONTEXTLESS
value.
AWS
AWS_GENERIC
AZURE
CLOUD_FOUNDRY
CONTEXTLESS
ENVIRONMENT
GOOGLE_CLOUD
KUBERNETES
The key of the tag.
Custom tags have the tag value here.
The value of the tag.
Not applicable to custom tags.
{"filterType": "TAG","tagFilter": {"context": "CONTEXTLESS","key": "Infrastructure","value": "Linux"}}
MetricEventDimensions
objectThe MetricEventDimensions
object is the base for metric dimensions. The actual set of fields depends on the filterType of the dimension.
MetricEventEntityDimensions
objectA filter for the metrics entity dimensions.
A filter for a string value based on the given operator.
MetricEventTextFilterMetricEventDimensionsFilterOperatorDto
objectA filter for a string value based on the given operator.
The operator to match on.
EQUALS
The value to match on.
{"filterType": "ENTITY","name": "dimension","index": 1,"nameFilter": {"value": "entity name","operator": "EQUALS"}}
MetricEventStringDimensions
objectA filter for the metrics string dimensions.
A filter for a string value based on the given operator.
MetricEventTextFilterMetricEventDimensionsFilterOperatorDto
objectA filter for a string value based on the given operator.
The operator to match on.
EQUALS
The value to match on.
{"filterType": "STRING","name": "dimension","index": 1,"textFilter": {"value": "entity name","operator": "EQUALS"}}
MetricEventMonitoringStrategy
objectThe MetricEventMonitoringStrategy
object is the base for monitoring strategy of a metric event. The actual set of fields depends on the type of the strategy.
MetricEventAutoAdaptiveBaselineMonitoringStrategy
objectAn auto-adaptive baseline strategy to detect anomalies within metrics that show a regular change over time, as the baseline is also updated automatically. An example is to detect an anomaly in the number of received network packets or within the number of user actions over time.
The condition for the threshold value check: above or below.
ABOVE
BELOW
If true, also one-minute samples without data are counted as violating samples.
The number of one-minute samples within the evaluation window that must go back to normal to close the event.
Defines the factor of how many signal fluctuations are valid. Values above the baseline plus the signal fluctuation times the number of tolerated signal fluctuations are alerted.
The number of one-minute samples that form the sliding evaluation window.
The number of one-minute samples within the evaluation window that must violate the threshold to trigger an event.
{"type": "AUTO_ADAPTIVE_BASELINE","samples": 5,"violatingSamples": 3,"dealertingSamples": 5,"alertCondition": "ABOVE","alertingOnMissingData": false,"numberOfSignalFluctuations": 1.0}
MetricEventStaticThresholdMonitoringStrategy
objectA static threshold monitoring strategy to alert on hard limits within a given metric. An example is the violation of a critical memory limit.
The condition for the threshold value check: above or below.
ABOVE
BELOW
If true, also one-minute samples without data are counted as violating samples.
The number of one-minute samples within the evaluation window that must go back to normal to close the event.
The number of one-minute samples that form the sliding evaluation window.
The value of the static threshold based on the specified unit.
The unit of the threshold, matching the metric definition.
AMPERE
BILLION
BIT
BIT_PER_HOUR
BIT_PER_MINUTE
BIT_PER_SECOND
BYTE
BYTE_PER_HOUR
BYTE_PER_MINUTE
BYTE_PER_SECOND
CORES
COUNT
DAY
DECIBEL_MILLI_WATT
GIBI_BYTE
GIBI_BYTE_PER_HOUR
GIBI_BYTE_PER_MINUTE
GIBI_BYTE_PER_SECOND
GIGA
GIGA_BYTE
GIGA_BYTE_PER_HOUR
GIGA_BYTE_PER_MINUTE
GIGA_BYTE_PER_SECOND
HERTZ
HOUR
KIBI_BYTE
KIBI_BYTE_PER_HOUR
KIBI_BYTE_PER_MINUTE
KIBI_BYTE_PER_SECOND
KILO
KILO_BYTE
KILO_BYTE_PER_HOUR
KILO_BYTE_PER_MINUTE
KILO_BYTE_PER_SECOND
KILO_METRE_PER_HOUR
MEBI_BYTE
MEBI_BYTE_PER_HOUR
MEBI_BYTE_PER_MINUTE
MEBI_BYTE_PER_SECOND
MEGA
MEGA_BYTE
MEGA_BYTE_PER_HOUR
MEGA_BYTE_PER_MINUTE
MEGA_BYTE_PER_SECOND
METRE_PER_HOUR
METRE_PER_SECOND
MICRO_SECOND
MILLION
MILLI_CORES
MILLI_SECOND
MILLI_SECOND_PER_MINUTE
MINUTE
MONTH
MSU
NANO_SECOND
NANO_SECOND_PER_MINUTE
NOT_APPLICABLE
PERCENT
PER_HOUR
PER_MINUTE
PER_SECOND
PIXEL
PROMILLE
RATIO
SECOND
STATE
TRILLION
UNSPECIFIED
VOLT
WATT
WEEK
YEAR
The number of one-minute samples within the evaluation window that must violate the threshold to trigger an event.
{"type": "STATIC_THRESHOLD","samples": 3,"violatingSamples": 1,"dealertingSamples": 3,"alertCondition": "BELOW","alertingOnMissingData": false,"threshold": 99,"unit": "COUNT"}