2021/12/21 - Amazon Lookout for Metrics - 1 new api methods
Changes This release adds support for Causal Relationships. Added new ListAnomalyGroupRelatedMetrics API operation and InterMetricImpactDetails API data type
Returns a list of measures that are potential causes or effects of an anomaly group.
See also: AWS API Documentation
Request Syntax
client.list_anomaly_group_related_metrics( AnomalyDetectorArn='string', AnomalyGroupId='string', RelationshipTypeFilter='CAUSE_OF_INPUT_ANOMALY_GROUP'|'EFFECT_OF_INPUT_ANOMALY_GROUP', MaxResults=123, NextToken='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the anomaly detector.
string
[REQUIRED]
The ID of the anomaly group.
string
Filter for potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP ) or downstream effects (EFFECT_OF_INPUT_ANOMALY_GROUP ) of the anomaly group.
integer
The maximum number of results to return.
string
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
dict
Response Syntax
{ 'InterMetricImpactList': [ { 'MetricName': 'string', 'AnomalyGroupId': 'string', 'RelationshipType': 'CAUSE_OF_INPUT_ANOMALY_GROUP'|'EFFECT_OF_INPUT_ANOMALY_GROUP', 'ContributionPercentage': 123.0 }, ], 'NextToken': 'string' }
Response Structure
(dict) --
InterMetricImpactList (list) --
Aggregated details about the measures contributing to the anomaly group, and the measures potentially impacted by the anomaly group.
(dict) --
Aggregated details about the measures contributing to the anomaly group, and the measures potentially impacted by the anomaly group.
MetricName (string) --
The name of the measure.
AnomalyGroupId (string) --
The ID of the anomaly group.
RelationshipType (string) --
Whether a measure is a potential cause of the anomaly group (CAUSE_OF_INPUT_ANOMALY_GROUP ), or whether the measure is impacted by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP ).
ContributionPercentage (float) --
For potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP ), the percentage contribution the measure has in causing the anomalies.
NextToken (string) --
The pagination token that's included if more results are available.