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.
Element | Type | Description |
---|---|---|
nameFilter | Metric | A filter for a string value based on the given operator. |
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
Element | Type | Description |
---|---|---|
operator | string | The operator to match on.
|
value | string | The value to match on. |
EntityIdAlertingScope
objectA scope filter for a monitored entity identifier.
Element | Type | Description |
---|---|---|
entityId | string | The monitored entities id to match on. |
HostNameAlertingScope
objectA scope filter for the related host name.
Element | Type | Description |
---|---|---|
nameFilter | Metric | A filter for a string value based on the given operator. |
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
Element | Type | Description |
---|---|---|
operator | string | The operator to match on.
|
value | string | The value to match on. |
HostGroupNameAlertingScope
objectA scope filter for the related host group name.
Element | Type | Description |
---|---|---|
nameFilter | Metric | A filter for a string value based on the given operator. |
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
Element | Type | Description |
---|---|---|
operator | string | The operator to match on.
|
value | string | The value to match on. |
ManagementZoneAlertingScope
objectA scope filter for a management zone identifier.
Element | Type | Description |
---|---|---|
mzId | string | The management zone id to match on. |
NameAlertingScope
objectA scope filter for a monitored entity name.
Element | Type | Description |
---|---|---|
nameFilter | Metric | A filter for a string value based on the given operator. |
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
Element | Type | Description |
---|---|---|
operator | string | The operator to match on.
|
value | string | The value to match on. |
ProcessGroupIdAlertingScope
objectA scope filter for a process group identifier.
Element | Type | Description |
---|---|---|
processGroupId | string | The process groups id to match on. |
ProcessGroupNameAlertingScope
objectA scope filter for the related process group name.
Element | Type | Description |
---|---|---|
nameFilter | Metric | A filter for a string value based on the given operator. |
MetricEventTextFilterMetricEventTextFilterOperatorDto
objectA filter for a string value based on the given operator.
Element | Type | Description |
---|---|---|
operator | string | The operator to match on.
|
value | string | The value to match on. |
TagFilterAlertingScope
objectA scope filter for tags on entities.
Element | Type | Description |
---|---|---|
tagFilter | Tag | A tag-based filter of monitored entities. |
TagFilter
objectA tag-based filter of monitored entities.
Element | Type | Description |
---|---|---|
context | string | The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the
|
key | string | The key of the tag. Custom tags have the tag value here. |
value | string | The value of the tag. Not applicable to custom tags. |
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.
Element | Type | Description |
---|---|---|
nameFilter | Metric | A filter for a string value based on the given operator. |
MetricEventTextFilterMetricEventDimensionsFilterOperatorDto
objectA filter for a string value based on the given operator.
Element | Type | Description |
---|---|---|
operator | string | The operator to match on.
|
value | string | The value to match on. |
MetricEventStringDimensions
objectA filter for the metrics string dimensions.
Element | Type | Description |
---|---|---|
textFilter | Metric | A filter for a string value based on the given operator. |
MetricEventTextFilterMetricEventDimensionsFilterOperatorDto
objectA filter for a string value based on the given operator.
Element | Type | Description |
---|---|---|
operator | string | The operator to match on.
|
value | string | The value to match on. |
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.
Element | Type | Description |
---|---|---|
alertCondition | string | The condition for the threshold value check: above or below.
|
alertingOnMissingData | boolean | If true, also one-minute samples without data are counted as violating samples. |
dealertingSamples | integer | The number of one-minute samples within the evaluation window that must go back to normal to close the event. |
numberOfSignalFluctuations | number | 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. |
samples | integer | The number of one-minute samples that form the sliding evaluation window. |
violatingSamples | integer | The number of one-minute samples within the evaluation window that must violate the threshold to trigger an event. |
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.
Element | Type | Description |
---|---|---|
alertCondition | string | The condition for the threshold value check: above or below.
|
alertingOnMissingData | boolean | If true, also one-minute samples without data are counted as violating samples. |
dealertingSamples | integer | The number of one-minute samples within the evaluation window that must go back to normal to close the event. |
samples | integer | The number of one-minute samples that form the sliding evaluation window. |
threshold | number | The value of the static threshold based on the specified unit. |
unit | string | The unit of the threshold, matching the metric definition.
|
violatingSamples | integer | The number of one-minute samples within the evaluation window that must violate the threshold to trigger an event. |