Metric events anomaly detection API - JSON models

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.

Variations of the MetricEventAlertingScope object

The MetricEventAlertingScope object is the base for alerting scopes of metric events. The actual set of fields depends on the filterType of the scope.

CUSTOM_DEVICE_GROUP_NAME

The CustomDeviceGroupNameAlertingScope object

A scope filter for the related custom device group name.

ElementTypeDescription
nameFilterMetricEventTextFilterMetricEventTextFilterOperatorDto

A filter for a string value based on the given operator.

The MetricEventTextFilterMetricEventTextFilterOperatorDto object

A filter for a string value based on the given operator.

ElementTypeDescription
operatorstring

The operator to match on.

  • CONTAINS_CASE_INSENSITIVE
  • CONTAINS_CASE_SENSITIVE
  • EQUALS
valuestring

The value to match on.

ENTITY_ID

The EntityIdAlertingScope object

A scope filter for a monitored entity identifier.

ElementTypeDescription
entityIdstring

The monitored entities id to match on.

HOST_NAME

The HostNameAlertingScope object

A scope filter for the related host name.

ElementTypeDescription
nameFilterMetricEventTextFilterMetricEventTextFilterOperatorDto

A filter for a string value based on the given operator.

The MetricEventTextFilterMetricEventTextFilterOperatorDto object

A filter for a string value based on the given operator.

ElementTypeDescription
operatorstring

The operator to match on.

  • CONTAINS_CASE_INSENSITIVE
  • CONTAINS_CASE_SENSITIVE
  • EQUALS
valuestring

The value to match on.

HOST_GROUP_NAME

The HostGroupNameAlertingScope object

A scope filter for the related host group name.

ElementTypeDescription
nameFilterMetricEventTextFilterMetricEventTextFilterOperatorDto

A filter for a string value based on the given operator.

The MetricEventTextFilterMetricEventTextFilterOperatorDto object

A filter for a string value based on the given operator.

ElementTypeDescription
operatorstring

The operator to match on.

  • CONTAINS_CASE_INSENSITIVE
  • CONTAINS_CASE_SENSITIVE
  • EQUALS
valuestring

The value to match on.

MANAGEMENT_ZONE

The ManagementZoneAlertingScope object

A scope filter for a management zone identifier.

ElementTypeDescription
mzIdstring

The management zone id to match on.

NAME

The NameAlertingScope object

A scope filter for a monitored entity name.

ElementTypeDescription
nameFilterMetricEventTextFilterMetricEventTextFilterOperatorDto

A filter for a string value based on the given operator.

The MetricEventTextFilterMetricEventTextFilterOperatorDto object

A filter for a string value based on the given operator.

ElementTypeDescription
operatorstring

The operator to match on.

  • CONTAINS_CASE_INSENSITIVE
  • CONTAINS_CASE_SENSITIVE
  • EQUALS
valuestring

The value to match on.

PROCESS_GROUP_ID

The ProcessGroupIdAlertingScope object

A scope filter for a process group identifier.

ElementTypeDescription
processGroupIdstring

The process groups id to match on.

PROCESS_GROUP_NAME

The ProcessGroupNameAlertingScope object

A scope filter for the related process group name.

ElementTypeDescription
nameFilterMetricEventTextFilterMetricEventTextFilterOperatorDto

A filter for a string value based on the given operator.

The MetricEventTextFilterMetricEventTextFilterOperatorDto object

A filter for a string value based on the given operator.

ElementTypeDescription
operatorstring

The operator to match on.

  • CONTAINS_CASE_INSENSITIVE
  • CONTAINS_CASE_SENSITIVE
  • EQUALS
valuestring

The value to match on.

TAG

The TagFilterAlertingScope object

A scope filter for tags on entities.

ElementTypeDescription
tagFilterTagFilter

A tag-based filter of monitored entities.

The TagFilter object

A tag-based filter of monitored entities.

ElementTypeDescription
contextstring

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
keystring

The key of the tag.

Custom tags have the tag value here.

valuestring

The value of the tag.

Not applicable to custom tags.

Variations of the MetricEventDimensions object

The MetricEventDimensions object is the base for metric dimensions. The actual set of fields depends on the filterType of the dimension.

ENTITY

The MetricEventEntityDimensions object

A filter for the metrics entity dimensions.

ElementTypeDescription
nameFilterMetricEventTextFilterMetricEventDimensionsFilterOperatorDto

A filter for a string value based on the given operator.

The MetricEventTextFilterMetricEventDimensionsFilterOperatorDto object

A filter for a string value based on the given operator.

ElementTypeDescription
operatorstring

The operator to match on.

  • EQUALS
valuestring

The value to match on.

STRING

The MetricEventStringDimensions object

A filter for the metrics string dimensions.

ElementTypeDescription
textFilterMetricEventTextFilterMetricEventDimensionsFilterOperatorDto

A filter for a string value based on the given operator.

The MetricEventTextFilterMetricEventDimensionsFilterOperatorDto object

A filter for a string value based on the given operator.

ElementTypeDescription
operatorstring

The operator to match on.

  • EQUALS
valuestring

The value to match on.

Variations of the MetricEventMonitoringStrategy object

The MetricEventMonitoringStrategy object is the base for monitoring strategy of a metric event. The actual set of fields depends on the type of the strategy.

AUTO_ADAPTIVE_BASELINE

The MetricEventAutoAdaptiveBaselineMonitoringStrategy object

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

ElementTypeDescription
alertConditionstring

The condition for the threshold value check: above or below.

  • ABOVE
  • BELOW
alertingOnMissingDataboolean

If true, also one-minute samples without data are counted as violating samples.

dealertingSamplesinteger

The number of one-minute samples within the evaluation window that must go back to normal to close the event.

numberOfSignalFluctuationsnumber

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.

samplesinteger

The number of one-minute samples that form the sliding evaluation window.

violatingSamplesinteger

The number of one-minute samples within the evaluation window that must violate the threshold to trigger an event.

STATIC_THRESHOLD

The MetricEventStaticThresholdMonitoringStrategy object

A static threshold monitoring strategy to alert on hard limits within a given metric. An example is the violation of a critical memory limit.

ElementTypeDescription
alertConditionstring

The condition for the threshold value check: above or below.

  • ABOVE
  • BELOW
alertingOnMissingDataboolean

If true, also one-minute samples without data are counted as violating samples.

dealertingSamplesinteger

The number of one-minute samples within the evaluation window that must go back to normal to close the event.

samplesinteger

The number of one-minute samples that form the sliding evaluation window.

thresholdnumber

The value of the static threshold based on the specified unit.

unitstring

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
violatingSamplesinteger

The number of one-minute samples within the evaluation window that must violate the threshold to trigger an event.