Skip to content

aws.devops_guru.describe_anomaly

Example SQL Queries

SELECT * FROM
aws.devops_guru.describe_anomaly
WHERE
"id" = 'VALUE';

Description

Returns details about an anomaly that you specify using its ID.

Table Definition

Column NameColumn Data Type
id Required Input Column

The ID of the anomaly.

VARCHAR
account_id Input Column

The ID of the member account.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
proactive_anomaly

A ProactiveAnomaly object that represents the requested anomaly.

STRUCT(
"id" VARCHAR,
"severity" VARCHAR,
"status" VARCHAR,
"update_time" TIMESTAMP_S,
"anomaly_time_range" STRUCT(
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S
),
"anomaly_reported_time_range" STRUCT(
"open_time" TIMESTAMP_S,
"close_time" TIMESTAMP_S
),
"prediction_time_range" STRUCT(
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S
),
"source_details" STRUCT(
"cloud_watch_metrics" STRUCT(
"metric_name" VARCHAR,
"namespace" VARCHAR,
"dimensions" STRUCT(
"name" VARCHAR,
"value" VARCHAR
)[],
"stat" VARCHAR,
"unit" VARCHAR,
"period" BIGINT,
"metric_data_summary" STRUCT(
"timestamp_metric_value_pair_list" STRUCT(
"timestamp" TIMESTAMP_S,
"metric_value" DOUBLE
)[],
"status_code" VARCHAR
)
)[],
"performance_insights_metrics" STRUCT(
"metric_display_name" VARCHAR,
"unit" VARCHAR,
"metric_query" STRUCT(
"metric" VARCHAR,
"group_by" STRUCT(
"group" VARCHAR,
"dimensions" VARCHAR[],
"limit" BIGINT
),
"filter" MAP(VARCHAR, VARCHAR)
),
"reference_data" STRUCT(
"name" VARCHAR,
"comparison_values" STRUCT(
"reference_scalar" STRUCT(
"value" DOUBLE
),
"reference_metric" STRUCT(
"metric_query" STRUCT(
"metric" VARCHAR,
"group_by" STRUCT(
"group" VARCHAR,
"dimensions" VARCHAR[],
"limit" BIGINT
),
"filter" MAP(VARCHAR, VARCHAR)
)
)
)
)[],
"stats_at_anomaly" STRUCT(
"type" VARCHAR,
"value" DOUBLE
)[],
"stats_at_baseline" STRUCT(
"type" VARCHAR,
"value" DOUBLE
)[]
)[]
),
"associated_insight_id" VARCHAR,
"resource_collection" STRUCT(
"cloud_formation" STRUCT(
"stack_names" VARCHAR[]
),
"tags" STRUCT(
"app_boundary_key" VARCHAR,
"tag_values" VARCHAR[]
)[]
),
"limit" DOUBLE,
"source_metadata" STRUCT(
"source" VARCHAR,
"source_resource_name" VARCHAR,
"source_resource_type" VARCHAR
),
"anomaly_resources" STRUCT(
"name" VARCHAR,
"type" VARCHAR
)[],
"description" VARCHAR
)
Show child fields
proactive_anomaly.anomaly_reported_time_range

An AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened and the time when it is closed.

Show child fields
proactive_anomaly.anomaly_reported_time_range.close_time

The time when an anomaly is closed.

proactive_anomaly.anomaly_reported_time_range.open_time

The time when an anomaly is opened.

proactive_anomaly.anomaly_resources[]
Show child fields
proactive_anomaly.anomaly_resources[].name

The name of the Amazon Web Services resource.

proactive_anomaly.anomaly_resources[].type

The type of the Amazon Web Services resource.

proactive_anomaly.anomaly_time_range

A time range that specifies when the observed unusual behavior in an anomaly started and ended. This is different from AnomalyReportedTimeRange, which specifies the time range when DevOps Guru opens and then closes an anomaly.

Show child fields
proactive_anomaly.anomaly_time_range.end_time

The time when the anomalous behavior ended.

proactive_anomaly.anomaly_time_range.start_time

The time when the anomalous behavior started.

proactive_anomaly.associated_insight_id

The ID of the insight that contains this anomaly. An insight is composed of related anomalies.

proactive_anomaly.description

A description of the proactive anomaly.

proactive_anomaly.id

The ID of a proactive anomaly.

proactive_anomaly.limit

A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.

proactive_anomaly.prediction_time_range

The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.

Show child fields
proactive_anomaly.prediction_time_range.end_time

The time when the behavior in a proactive insight is expected to end.

proactive_anomaly.prediction_time_range.start_time

The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.

proactive_anomaly.resource_collection

A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Show child fields
proactive_anomaly.resource_collection.cloud_formation

An array of the names of Amazon Web Services CloudFormation stacks. The stacks define Amazon Web Services resources that DevOps Guru analyzes. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Show child fields
proactive_anomaly.resource_collection.cloud_formation.stack_names[]
proactive_anomaly.resource_collection.tags[]
Show child fields
proactive_anomaly.resource_collection.tags[].app_boundary_key

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that DevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary.

The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-. The tag key might be DevOps-Guru-deployment-application or devops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers.

proactive_anomaly.resource_collection.tags[].tag_values[]
proactive_anomaly.severity

The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.

proactive_anomaly.source_details

Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.

Show child fields
proactive_anomaly.source_details.cloud_watch_metrics[]
Show child fields
proactive_anomaly.source_details.cloud_watch_metrics[].dimensions[]
Show child fields
proactive_anomaly.source_details.cloud_watch_metrics[].dimensions[].name

The name of the CloudWatch dimension.

proactive_anomaly.source_details.cloud_watch_metrics[].dimensions[].value

The value of the CloudWatch dimension.

proactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary

This object returns anomaly metric data.

Show child fields
proactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary.status_code

This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.

proactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary.timestamp_metric_value_pair_list[]
Show child fields
proactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary.timestamp_metric_value_pair_list[].metric_value

Value of the anomalous metric data point at respective Timestamp.

proactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary.timestamp_metric_value_pair_list[].timestamp

A Timestamp that specifies the time the event occurred.

proactive_anomaly.source_details.cloud_watch_metrics[].metric_name

The name of the CloudWatch metric.

proactive_anomaly.source_details.cloud_watch_metrics[].namespace

The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.

proactive_anomaly.source_details.cloud_watch_metrics[].period

The length of time associated with the CloudWatch metric in number of seconds.

proactive_anomaly.source_details.cloud_watch_metrics[].stat

The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.

proactive_anomaly.source_details.cloud_watch_metrics[].unit

The unit of measure used for the CloudWatch metric. For example, Bytes, Seconds, Count, and Percent.

proactive_anomaly.source_details.performance_insights_metrics[]
Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].metric_display_name

The name used for a specific Performance Insights metric.

proactive_anomaly.source_details.performance_insights_metrics[].metric_query

A single query to be processed for the metric. For more information, see PerformanceInsightsMetricQuery .

Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].metric_query.filter

One or more filters to apply to a Performance Insights GetResourceMetrics API query. Restrictions:

  • Any number of filters by the same dimension, as specified in the GroupBy parameter.

  • A single filter for any other dimension in this dimension group.

proactive_anomaly.source_details.performance_insights_metrics[].metric_query.group_by

The specification for how to aggregate the data points from a Performance Insights GetResourceMetrics API query. The Performance Insights query returns all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.

Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].metric_query.group_by.dimensions[]
proactive_anomaly.source_details.performance_insights_metrics[].metric_query.group_by.group

The name of the dimension group. Its valid values are:

  • db - The name of the database to which the client is connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL, Amazon RDS MySQL, and MariaDB)

  • db.application - The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL)

  • db.host - The host name of the connected client (all engines)

  • db.session_type - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL)

  • db.sql - The SQL that is currently executing (all engines)

  • db.sql_tokenized - The SQL digest (all engines)

  • db.wait_event - The event for which the database backend is waiting (all engines)

  • db.wait_event_type - The type of event for which the database backend is waiting (all engines)

  • db.user - The user logged in to the database (all engines)

proactive_anomaly.source_details.performance_insights_metrics[].metric_query.group_by.limit

The maximum number of items to fetch for this dimension group.

proactive_anomaly.source_details.performance_insights_metrics[].metric_query.metric

The name of the meteric used used when querying an Performance Insights GetResourceMetrics API for anomaly metrics.

Valid values for Metric are:

  • db.load.avg - a scaled representation of the number of active sessions for the database engine.

  • db.sampledload.avg - the raw number of active sessions for the database engine.

If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

proactive_anomaly.source_details.performance_insights_metrics[].reference_data[]
Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values

The specific reference values used to evaluate the Performance Insights. For more information, see PerformanceInsightsReferenceComparisonValues .

Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric

A metric that DevOps Guru compares to actual metric values. This reference metric is used to determine if an actual metric should be considered anomalous.

Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query

A query to be processed on the metric.

Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.filter

One or more filters to apply to a Performance Insights GetResourceMetrics API query. Restrictions:

  • Any number of filters by the same dimension, as specified in the GroupBy parameter.

  • A single filter for any other dimension in this dimension group.

proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.group_by

The specification for how to aggregate the data points from a Performance Insights GetResourceMetrics API query. The Performance Insights query returns all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.

Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.group_by.dimensions[]
proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.group_by.group

The name of the dimension group. Its valid values are:

  • db - The name of the database to which the client is connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL, Amazon RDS MySQL, and MariaDB)

  • db.application - The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL)

  • db.host - The host name of the connected client (all engines)

  • db.session_type - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL)

  • db.sql - The SQL that is currently executing (all engines)

  • db.sql_tokenized - The SQL digest (all engines)

  • db.wait_event - The event for which the database backend is waiting (all engines)

  • db.wait_event_type - The type of event for which the database backend is waiting (all engines)

  • db.user - The user logged in to the database (all engines)

proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.group_by.limit

The maximum number of items to fetch for this dimension group.

proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.metric

The name of the meteric used used when querying an Performance Insights GetResourceMetrics API for anomaly metrics.

Valid values for Metric are:

  • db.load.avg - a scaled representation of the number of active sessions for the database engine.

  • db.sampledload.avg - the raw number of active sessions for the database engine.

If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_scalar

A scalar value DevOps Guru for a metric that DevOps Guru compares to actual metric values. This reference value is used to determine if an actual metric value should be considered anomalous.

Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_scalar.value

The reference value.

proactive_anomaly.source_details.performance_insights_metrics[].reference_data[].name

The name of the reference data.

proactive_anomaly.source_details.performance_insights_metrics[].stats_at_anomaly[]
Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].stats_at_anomaly[].type

The statistic type.

proactive_anomaly.source_details.performance_insights_metrics[].stats_at_anomaly[].value

The value of the statistic.

proactive_anomaly.source_details.performance_insights_metrics[].stats_at_baseline[]
Show child fields
proactive_anomaly.source_details.performance_insights_metrics[].stats_at_baseline[].type

The statistic type.

proactive_anomaly.source_details.performance_insights_metrics[].stats_at_baseline[].value

The value of the statistic.

proactive_anomaly.source_details.performance_insights_metrics[].unit

The unit of measure for a metric. For example, a session or a process.

proactive_anomaly.source_metadata

The metadata for the anomaly.

Show child fields
proactive_anomaly.source_metadata.source

The source of the anomaly.

proactive_anomaly.source_metadata.source_resource_name

The name of the anomaly's resource.

proactive_anomaly.source_metadata.source_resource_type

The anomaly's resource type.

proactive_anomaly.status

The status of a proactive anomaly.

proactive_anomaly.update_time

The time of the anomaly's most recent update.

reactive_anomaly

A ReactiveAnomaly object that represents the requested anomaly.

STRUCT(
"id" VARCHAR,
"severity" VARCHAR,
"status" VARCHAR,
"anomaly_time_range" STRUCT(
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S
),
"anomaly_reported_time_range" STRUCT(
"open_time" TIMESTAMP_S,
"close_time" TIMESTAMP_S
),
"source_details" STRUCT(
"cloud_watch_metrics" STRUCT(
"metric_name" VARCHAR,
"namespace" VARCHAR,
"dimensions" STRUCT(
"name" VARCHAR,
"value" VARCHAR
)[],
"stat" VARCHAR,
"unit" VARCHAR,
"period" BIGINT,
"metric_data_summary" STRUCT(
"timestamp_metric_value_pair_list" STRUCT(
"timestamp" TIMESTAMP_S,
"metric_value" DOUBLE
)[],
"status_code" VARCHAR
)
)[],
"performance_insights_metrics" STRUCT(
"metric_display_name" VARCHAR,
"unit" VARCHAR,
"metric_query" STRUCT(
"metric" VARCHAR,
"group_by" STRUCT(
"group" VARCHAR,
"dimensions" VARCHAR[],
"limit" BIGINT
),
"filter" MAP(VARCHAR, VARCHAR)
),
"reference_data" STRUCT(
"name" VARCHAR,
"comparison_values" STRUCT(
"reference_scalar" STRUCT(
"value" DOUBLE
),
"reference_metric" STRUCT(
"metric_query" STRUCT(
"metric" VARCHAR,
"group_by" STRUCT(
"group" VARCHAR,
"dimensions" VARCHAR[],
"limit" BIGINT
),
"filter" MAP(VARCHAR, VARCHAR)
)
)
)
)[],
"stats_at_anomaly" STRUCT(
"type" VARCHAR,
"value" DOUBLE
)[],
"stats_at_baseline" STRUCT(
"type" VARCHAR,
"value" DOUBLE
)[]
)[]
),
"associated_insight_id" VARCHAR,
"resource_collection" STRUCT(
"cloud_formation" STRUCT(
"stack_names" VARCHAR[]
),
"tags" STRUCT(
"app_boundary_key" VARCHAR,
"tag_values" VARCHAR[]
)[]
),
"type" VARCHAR,
"name" VARCHAR,
"description" VARCHAR,
"causal_anomaly_id" VARCHAR,
"anomaly_resources" STRUCT(
"name" VARCHAR,
"type" VARCHAR
)[]
)
Show child fields
reactive_anomaly.anomaly_reported_time_range

An AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened and the time when it is closed.

Show child fields
reactive_anomaly.anomaly_reported_time_range.close_time

The time when an anomaly is closed.

reactive_anomaly.anomaly_reported_time_range.open_time

The time when an anomaly is opened.

reactive_anomaly.anomaly_resources[]
Show child fields
reactive_anomaly.anomaly_resources[].name

The name of the Amazon Web Services resource.

reactive_anomaly.anomaly_resources[].type

The type of the Amazon Web Services resource.

reactive_anomaly.anomaly_time_range

A time range that specifies when the observed unusual behavior in an anomaly started and ended. This is different from AnomalyReportedTimeRange, which specifies the time range when DevOps Guru opens and then closes an anomaly.

Show child fields
reactive_anomaly.anomaly_time_range.end_time

The time when the anomalous behavior ended.

reactive_anomaly.anomaly_time_range.start_time

The time when the anomalous behavior started.

reactive_anomaly.associated_insight_id

The ID of the insight that contains this anomaly. An insight is composed of related anomalies.

reactive_anomaly.causal_anomaly_id

The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.

reactive_anomaly.description

A description of the reactive anomaly.

reactive_anomaly.id

The ID of the reactive anomaly.

reactive_anomaly.name

The name of the reactive anomaly.

reactive_anomaly.resource_collection

A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Show child fields
reactive_anomaly.resource_collection.cloud_formation

An array of the names of Amazon Web Services CloudFormation stacks. The stacks define Amazon Web Services resources that DevOps Guru analyzes. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Show child fields
reactive_anomaly.resource_collection.cloud_formation.stack_names[]
reactive_anomaly.resource_collection.tags[]
Show child fields
reactive_anomaly.resource_collection.tags[].app_boundary_key

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that DevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary.

The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-. The tag key might be DevOps-Guru-deployment-application or devops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers.

reactive_anomaly.resource_collection.tags[].tag_values[]
reactive_anomaly.severity

The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.

reactive_anomaly.source_details

Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.

Show child fields
reactive_anomaly.source_details.cloud_watch_metrics[]
Show child fields
reactive_anomaly.source_details.cloud_watch_metrics[].dimensions[]
Show child fields
reactive_anomaly.source_details.cloud_watch_metrics[].dimensions[].name

The name of the CloudWatch dimension.

reactive_anomaly.source_details.cloud_watch_metrics[].dimensions[].value

The value of the CloudWatch dimension.

reactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary

This object returns anomaly metric data.

Show child fields
reactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary.status_code

This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.

reactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary.timestamp_metric_value_pair_list[]
Show child fields
reactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary.timestamp_metric_value_pair_list[].metric_value

Value of the anomalous metric data point at respective Timestamp.

reactive_anomaly.source_details.cloud_watch_metrics[].metric_data_summary.timestamp_metric_value_pair_list[].timestamp

A Timestamp that specifies the time the event occurred.

reactive_anomaly.source_details.cloud_watch_metrics[].metric_name

The name of the CloudWatch metric.

reactive_anomaly.source_details.cloud_watch_metrics[].namespace

The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.

reactive_anomaly.source_details.cloud_watch_metrics[].period

The length of time associated with the CloudWatch metric in number of seconds.

reactive_anomaly.source_details.cloud_watch_metrics[].stat

The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.

reactive_anomaly.source_details.cloud_watch_metrics[].unit

The unit of measure used for the CloudWatch metric. For example, Bytes, Seconds, Count, and Percent.

reactive_anomaly.source_details.performance_insights_metrics[]
Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].metric_display_name

The name used for a specific Performance Insights metric.

reactive_anomaly.source_details.performance_insights_metrics[].metric_query

A single query to be processed for the metric. For more information, see PerformanceInsightsMetricQuery .

Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].metric_query.filter

One or more filters to apply to a Performance Insights GetResourceMetrics API query. Restrictions:

  • Any number of filters by the same dimension, as specified in the GroupBy parameter.

  • A single filter for any other dimension in this dimension group.

reactive_anomaly.source_details.performance_insights_metrics[].metric_query.group_by

The specification for how to aggregate the data points from a Performance Insights GetResourceMetrics API query. The Performance Insights query returns all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.

Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].metric_query.group_by.dimensions[]
reactive_anomaly.source_details.performance_insights_metrics[].metric_query.group_by.group

The name of the dimension group. Its valid values are:

  • db - The name of the database to which the client is connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL, Amazon RDS MySQL, and MariaDB)

  • db.application - The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL)

  • db.host - The host name of the connected client (all engines)

  • db.session_type - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL)

  • db.sql - The SQL that is currently executing (all engines)

  • db.sql_tokenized - The SQL digest (all engines)

  • db.wait_event - The event for which the database backend is waiting (all engines)

  • db.wait_event_type - The type of event for which the database backend is waiting (all engines)

  • db.user - The user logged in to the database (all engines)

reactive_anomaly.source_details.performance_insights_metrics[].metric_query.group_by.limit

The maximum number of items to fetch for this dimension group.

reactive_anomaly.source_details.performance_insights_metrics[].metric_query.metric

The name of the meteric used used when querying an Performance Insights GetResourceMetrics API for anomaly metrics.

Valid values for Metric are:

  • db.load.avg - a scaled representation of the number of active sessions for the database engine.

  • db.sampledload.avg - the raw number of active sessions for the database engine.

If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

reactive_anomaly.source_details.performance_insights_metrics[].reference_data[]
Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values

The specific reference values used to evaluate the Performance Insights. For more information, see PerformanceInsightsReferenceComparisonValues .

Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric

A metric that DevOps Guru compares to actual metric values. This reference metric is used to determine if an actual metric should be considered anomalous.

Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query

A query to be processed on the metric.

Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.filter

One or more filters to apply to a Performance Insights GetResourceMetrics API query. Restrictions:

  • Any number of filters by the same dimension, as specified in the GroupBy parameter.

  • A single filter for any other dimension in this dimension group.

reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.group_by

The specification for how to aggregate the data points from a Performance Insights GetResourceMetrics API query. The Performance Insights query returns all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.

Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.group_by.dimensions[]
reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.group_by.group

The name of the dimension group. Its valid values are:

  • db - The name of the database to which the client is connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL, Amazon RDS MySQL, and MariaDB)

  • db.application - The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL)

  • db.host - The host name of the connected client (all engines)

  • db.session_type - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL)

  • db.sql - The SQL that is currently executing (all engines)

  • db.sql_tokenized - The SQL digest (all engines)

  • db.wait_event - The event for which the database backend is waiting (all engines)

  • db.wait_event_type - The type of event for which the database backend is waiting (all engines)

  • db.user - The user logged in to the database (all engines)

reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.group_by.limit

The maximum number of items to fetch for this dimension group.

reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_metric.metric_query.metric

The name of the meteric used used when querying an Performance Insights GetResourceMetrics API for anomaly metrics.

Valid values for Metric are:

  • db.load.avg - a scaled representation of the number of active sessions for the database engine.

  • db.sampledload.avg - the raw number of active sessions for the database engine.

If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_scalar

A scalar value DevOps Guru for a metric that DevOps Guru compares to actual metric values. This reference value is used to determine if an actual metric value should be considered anomalous.

Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].comparison_values.reference_scalar.value

The reference value.

reactive_anomaly.source_details.performance_insights_metrics[].reference_data[].name

The name of the reference data.

reactive_anomaly.source_details.performance_insights_metrics[].stats_at_anomaly[]
Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].stats_at_anomaly[].type

The statistic type.

reactive_anomaly.source_details.performance_insights_metrics[].stats_at_anomaly[].value

The value of the statistic.

reactive_anomaly.source_details.performance_insights_metrics[].stats_at_baseline[]
Show child fields
reactive_anomaly.source_details.performance_insights_metrics[].stats_at_baseline[].type

The statistic type.

reactive_anomaly.source_details.performance_insights_metrics[].stats_at_baseline[].value

The value of the statistic.

reactive_anomaly.source_details.performance_insights_metrics[].unit

The unit of measure for a metric. For example, a session or a process.

reactive_anomaly.status

The status of the anomaly.

reactive_anomaly.type

The type of the reactive anomaly. It can be one of the following types.

  • CAUSAL - the anomaly can cause a new insight.

  • CONTEXTUAL - the anomaly contains additional information about an insight or its causal anomaly.