[ aws . devops-guru ]
Returns details about an anomaly that you specify using its ID.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
describe-anomaly
--id <value>
[--account-id <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--id
(string)
The ID of the anomaly.
--account-id
(string)
The ID of the member account.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
See ‘aws help’ for descriptions of global parameters.
ProactiveAnomaly -> (structure)
A
ProactiveAnomaly
object that represents the requested anomaly.Id -> (string)
The ID of a proactive anomaly.
Severity -> (string)
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 .
Status -> (string)
The status of a proactive anomaly.
UpdateTime -> (timestamp)
The time of the anomaly’s most recent update.
AnomalyTimeRange -> (structure)
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.StartTime -> (timestamp)
The time when the anomalous behavior started.
EndTime -> (timestamp)
The time when the anomalous behavior ended.
AnomalyReportedTimeRange -> (structure)
An
AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened and the time when it is closed.OpenTime -> (timestamp)
The time when an anomaly is opened.
CloseTime -> (timestamp)
The time when an anomaly is closed.
PredictionTimeRange -> (structure)
The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.
StartTime -> (timestamp)
The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.
EndTime -> (timestamp)
The time when the behavior in a proactive insight is expected to end.
SourceDetails -> (structure)
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
CloudWatchMetrics -> (list)
An array of
CloudWatchMetricsDetail
objects that contain information about analyzed CloudWatch metrics that show anomalous behavior.(structure)
Information about an Amazon CloudWatch metric.
MetricName -> (string)
The name of the CloudWatch metric.
Namespace -> (string)
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
Dimensions -> (list)
An array of CloudWatch dimensions associated with
(structure)
The dimension of an Amazon CloudWatch metric that is used when DevOps Guru analyzes the resources in your account for operational problems and anomalous behavior. A dimension is a name/value pair that is part of the identity of a metric. A metric can have up to 10 dimensions. For more information, see Dimensions in the Amazon CloudWatch User Guide .
Name -> (string)
The name of the CloudWatch dimension.
Value -> (string)
The value of the CloudWatch dimension.
Stat -> (string)
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide .
Unit -> (string)
The unit of measure used for the CloudWatch metric. For example,
Bytes
,Seconds
,Count
, andPercent
.Period -> (integer)
The length of time associated with the CloudWatch metric in number of seconds.
MetricDataSummary -> (structure)
This object returns anomaly metric data.
TimestampMetricValuePairList -> (list)
This is a list of Amazon CloudWatch metric values at given timestamp.
(structure)
A pair that contains metric values at the respective timestamp.
Timestamp -> (timestamp)
A
Timestamp
that specifies the time the event occurred.MetricValue -> (double)
Value of the anomalous metric data point at respective Timestamp.
StatusCode -> (string)
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.
PerformanceInsightsMetrics -> (list)
An array of
PerformanceInsightsMetricsDetail
objects that contain information about analyzed Performance Insights metrics that show anomalous behavior.(structure)
Details about Performance Insights metrics.
Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.
To learn more about Performance Insights and Amazon Aurora DB instances, go to the Amazon Aurora User Guide .
To learn more about Performance Insights and Amazon RDS DB instances, go to the Amazon RDS User Guide .
MetricDisplayName -> (string)
The name used for a specific Performance Insights metric.
Unit -> (string)
The unit of measure for a metric. For example, a session or a process.
MetricQuery -> (structure)
A single query to be processed for the metric. For more information, see `` PerformanceInsightsMetricQuery `` .
Metric -> (string)
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
anddb.sampledload.avg
are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, withdb.load.avg
showing the scaled values,db.sampledload.avg
showing the raw values, anddb.sampledload.avg
less thandb.load.avg
. For most use cases, you can querydb.load.avg
only.GroupBy -> (structure)
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.Group -> (string)
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)Dimensions -> (list)
A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested or are present in the response.
Valid values for elements in the
Dimensions
array are:
db.application.name
- The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL)
db.host.id
- The host ID of the connected client (all engines)
db.host.name
- The host name of the connected client (all engines)
db.name
- 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.session_type.name
- The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL)
db.sql.id
- The SQL ID generated by Performance Insights (all engines)
db.sql.db_id
- The SQL ID generated by the database (all engines)
db.sql.statement
- The SQL text that is being executed (all engines)
db.sql.tokenized_id
db.sql_tokenized.id
- The SQL digest ID generated by Performance Insights (all engines)
db.sql_tokenized.db_id
- SQL digest ID generated by the database (all engines)
db.sql_tokenized.statement
- The SQL digest text (all engines)
db.user.id
- The ID of the user logged in to the database (all engines)
db.user.name
- The name of the user logged in to the database (all engines)
db.wait_event.name
- The event for which the backend is waiting (all engines)
db.wait_event.type
- The type of event for which the backend is waiting (all engines)
db.wait_event_type.name
- The name of the event type for which the backend is waiting (all engines)(string)
Limit -> (integer)
The maximum number of items to fetch for this dimension group.
Filter -> (map)
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.
key -> (string)
value -> (string)
ReferenceData -> (list)
For more information, see `` PerformanceInsightsReferenceData `` .
(structure)
Reference data used to evaluate Performance Insights to determine if its performance is anomalous or not.
Name -> (string)
The name of the reference data.
ComparisonValues -> (structure)
The specific reference values used to evaluate the Performance Insights. For more information, see `` PerformanceInsightsReferenceComparisonValues `` .
ReferenceScalar -> (structure)
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.
Value -> (double)
The reference value.
ReferenceMetric -> (structure)
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.
MetricQuery -> (structure)
A query to be processed on the metric.
Metric -> (string)
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
anddb.sampledload.avg
are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, withdb.load.avg
showing the scaled values,db.sampledload.avg
showing the raw values, anddb.sampledload.avg
less thandb.load.avg
. For most use cases, you can querydb.load.avg
only.GroupBy -> (structure)
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.Group -> (string)
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)Dimensions -> (list)
A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested or are present in the response.
Valid values for elements in the
Dimensions
array are:
db.application.name
- The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL)
db.host.id
- The host ID of the connected client (all engines)
db.host.name
- The host name of the connected client (all engines)
db.name
- 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.session_type.name
- The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL)
db.sql.id
- The SQL ID generated by Performance Insights (all engines)
db.sql.db_id
- The SQL ID generated by the database (all engines)
db.sql.statement
- The SQL text that is being executed (all engines)
db.sql.tokenized_id
db.sql_tokenized.id
- The SQL digest ID generated by Performance Insights (all engines)
db.sql_tokenized.db_id
- SQL digest ID generated by the database (all engines)
db.sql_tokenized.statement
- The SQL digest text (all engines)
db.user.id
- The ID of the user logged in to the database (all engines)
db.user.name
- The name of the user logged in to the database (all engines)
db.wait_event.name
- The event for which the backend is waiting (all engines)
db.wait_event.type
- The type of event for which the backend is waiting (all engines)
db.wait_event_type.name
- The name of the event type for which the backend is waiting (all engines)(string)
Limit -> (integer)
The maximum number of items to fetch for this dimension group.
Filter -> (map)
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.
key -> (string)
value -> (string)
StatsAtAnomaly -> (list)
The metric statistics during the anomalous period detected by DevOps Guru;
(structure)
A statistic in a Performance Insights collection.
Type -> (string)
The statistic type.
Value -> (double)
The value of the statistic.
StatsAtBaseline -> (list)
Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them to
StatsAtBaseline
to help determine if they are anomalous.(structure)
A statistic in a Performance Insights collection.
Type -> (string)
The statistic type.
Value -> (double)
The value of the statistic.
AssociatedInsightId -> (string)
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
ResourceCollection -> (structure)
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.
CloudFormation -> (structure)
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.
StackNames -> (list)
An array of CloudFormation stack names.
(string)
Tags -> (list)
The Amazon Web Services tags that are used by resources in the resource collection.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive.An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys , tag values are case-sensitive.Together these are known as key -value pairs.
Warning
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 beDevops-guru-deployment-application
orDevops-guru-rds-application
. While keys are case-sensitive, the case of key characters don’t matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
. Possible key /value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.(structure)
A collection of Amazon Web Services stags.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive.An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys , tag values are case-sensitive.Together these are known as key -value pairs.
Warning
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 beDevops-guru-deployment-application
orDevops-guru-rds-application
. While keys are case-sensitive, the case of key characters don’t matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
. Possible key /value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.AppBoundaryKey -> (string)
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.
Warning
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 beDevops-guru-deployment-application
orDevops-guru-rds-application
. While keys are case-sensitive, the case of key characters don’t matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
. Possible key /value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.TagValues -> (list)
The values in an Amazon Web Services tag collection.
The tag’s value is an optional field used to associate a string with the tag key (for example,
111122223333
,Production
, or a team name). The key and value are the tag’s key pair. Omitting the tag value is the same as using an empty string. Like tag keys , tag values are case-sensitive. You can specify a maximum of 256 characters for a tag value.(string)
Limit -> (double)
A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.
SourceMetadata -> (structure)
The metadata for the anomaly.
Source -> (string)
The source of the anomaly.
SourceResourceName -> (string)
The name of the anomaly’s resource.
SourceResourceType -> (string)
The anomaly’s resource type.
AnomalyResources -> (list)
Information about a resource in which DevOps Guru detected anomalous behavior.
(structure)
The Amazon Web Services resources in which DevOps Guru detected unusual behavior that resulted in the generation of an anomaly. When DevOps Guru detects multiple related anomalies, it creates and insight with details about the anomalous behavior and suggestions about how to correct the problem.
Name -> (string)
The name of the Amazon Web Services resource.
Type -> (string)
The type of the Amazon Web Services resource.
ReactiveAnomaly -> (structure)
A
ReactiveAnomaly
object that represents the requested anomaly.Id -> (string)
The ID of the reactive anomaly.
Severity -> (string)
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 .
Status -> (string)
The status of the anomaly.
AnomalyTimeRange -> (structure)
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.StartTime -> (timestamp)
The time when the anomalous behavior started.
EndTime -> (timestamp)
The time when the anomalous behavior ended.
AnomalyReportedTimeRange -> (structure)
An
AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened and the time when it is closed.OpenTime -> (timestamp)
The time when an anomaly is opened.
CloseTime -> (timestamp)
The time when an anomaly is closed.
SourceDetails -> (structure)
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
CloudWatchMetrics -> (list)
An array of
CloudWatchMetricsDetail
objects that contain information about analyzed CloudWatch metrics that show anomalous behavior.(structure)
Information about an Amazon CloudWatch metric.
MetricName -> (string)
The name of the CloudWatch metric.
Namespace -> (string)
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
Dimensions -> (list)
An array of CloudWatch dimensions associated with
(structure)
The dimension of an Amazon CloudWatch metric that is used when DevOps Guru analyzes the resources in your account for operational problems and anomalous behavior. A dimension is a name/value pair that is part of the identity of a metric. A metric can have up to 10 dimensions. For more information, see Dimensions in the Amazon CloudWatch User Guide .
Name -> (string)
The name of the CloudWatch dimension.
Value -> (string)
The value of the CloudWatch dimension.
Stat -> (string)
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide .
Unit -> (string)
The unit of measure used for the CloudWatch metric. For example,
Bytes
,Seconds
,Count
, andPercent
.Period -> (integer)
The length of time associated with the CloudWatch metric in number of seconds.
MetricDataSummary -> (structure)
This object returns anomaly metric data.
TimestampMetricValuePairList -> (list)
This is a list of Amazon CloudWatch metric values at given timestamp.
(structure)
A pair that contains metric values at the respective timestamp.
Timestamp -> (timestamp)
A
Timestamp
that specifies the time the event occurred.MetricValue -> (double)
Value of the anomalous metric data point at respective Timestamp.
StatusCode -> (string)
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.
PerformanceInsightsMetrics -> (list)
An array of
PerformanceInsightsMetricsDetail
objects that contain information about analyzed Performance Insights metrics that show anomalous behavior.(structure)
Details about Performance Insights metrics.
Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.
To learn more about Performance Insights and Amazon Aurora DB instances, go to the Amazon Aurora User Guide .
To learn more about Performance Insights and Amazon RDS DB instances, go to the Amazon RDS User Guide .
MetricDisplayName -> (string)
The name used for a specific Performance Insights metric.
Unit -> (string)
The unit of measure for a metric. For example, a session or a process.
MetricQuery -> (structure)
A single query to be processed for the metric. For more information, see `` PerformanceInsightsMetricQuery `` .
Metric -> (string)
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
anddb.sampledload.avg
are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, withdb.load.avg
showing the scaled values,db.sampledload.avg
showing the raw values, anddb.sampledload.avg
less thandb.load.avg
. For most use cases, you can querydb.load.avg
only.GroupBy -> (structure)
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.Group -> (string)
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)Dimensions -> (list)
A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested or are present in the response.
Valid values for elements in the
Dimensions
array are:
db.application.name
- The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL)
db.host.id
- The host ID of the connected client (all engines)
db.host.name
- The host name of the connected client (all engines)
db.name
- 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.session_type.name
- The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL)
db.sql.id
- The SQL ID generated by Performance Insights (all engines)
db.sql.db_id
- The SQL ID generated by the database (all engines)
db.sql.statement
- The SQL text that is being executed (all engines)
db.sql.tokenized_id
db.sql_tokenized.id
- The SQL digest ID generated by Performance Insights (all engines)
db.sql_tokenized.db_id
- SQL digest ID generated by the database (all engines)
db.sql_tokenized.statement
- The SQL digest text (all engines)
db.user.id
- The ID of the user logged in to the database (all engines)
db.user.name
- The name of the user logged in to the database (all engines)
db.wait_event.name
- The event for which the backend is waiting (all engines)
db.wait_event.type
- The type of event for which the backend is waiting (all engines)
db.wait_event_type.name
- The name of the event type for which the backend is waiting (all engines)(string)
Limit -> (integer)
The maximum number of items to fetch for this dimension group.
Filter -> (map)
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.
key -> (string)
value -> (string)
ReferenceData -> (list)
For more information, see `` PerformanceInsightsReferenceData `` .
(structure)
Reference data used to evaluate Performance Insights to determine if its performance is anomalous or not.
Name -> (string)
The name of the reference data.
ComparisonValues -> (structure)
The specific reference values used to evaluate the Performance Insights. For more information, see `` PerformanceInsightsReferenceComparisonValues `` .
ReferenceScalar -> (structure)
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.
Value -> (double)
The reference value.
ReferenceMetric -> (structure)
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.
MetricQuery -> (structure)
A query to be processed on the metric.
Metric -> (string)
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
anddb.sampledload.avg
are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, withdb.load.avg
showing the scaled values,db.sampledload.avg
showing the raw values, anddb.sampledload.avg
less thandb.load.avg
. For most use cases, you can querydb.load.avg
only.GroupBy -> (structure)
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.Group -> (string)
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)Dimensions -> (list)
A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested or are present in the response.
Valid values for elements in the
Dimensions
array are:
db.application.name
- The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL)
db.host.id
- The host ID of the connected client (all engines)
db.host.name
- The host name of the connected client (all engines)
db.name
- 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.session_type.name
- The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL)
db.sql.id
- The SQL ID generated by Performance Insights (all engines)
db.sql.db_id
- The SQL ID generated by the database (all engines)
db.sql.statement
- The SQL text that is being executed (all engines)
db.sql.tokenized_id
db.sql_tokenized.id
- The SQL digest ID generated by Performance Insights (all engines)
db.sql_tokenized.db_id
- SQL digest ID generated by the database (all engines)
db.sql_tokenized.statement
- The SQL digest text (all engines)
db.user.id
- The ID of the user logged in to the database (all engines)
db.user.name
- The name of the user logged in to the database (all engines)
db.wait_event.name
- The event for which the backend is waiting (all engines)
db.wait_event.type
- The type of event for which the backend is waiting (all engines)
db.wait_event_type.name
- The name of the event type for which the backend is waiting (all engines)(string)
Limit -> (integer)
The maximum number of items to fetch for this dimension group.
Filter -> (map)
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.
key -> (string)
value -> (string)
StatsAtAnomaly -> (list)
The metric statistics during the anomalous period detected by DevOps Guru;
(structure)
A statistic in a Performance Insights collection.
Type -> (string)
The statistic type.
Value -> (double)
The value of the statistic.
StatsAtBaseline -> (list)
Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them to
StatsAtBaseline
to help determine if they are anomalous.(structure)
A statistic in a Performance Insights collection.
Type -> (string)
The statistic type.
Value -> (double)
The value of the statistic.
AssociatedInsightId -> (string)
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
ResourceCollection -> (structure)
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.
CloudFormation -> (structure)
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.
StackNames -> (list)
An array of CloudFormation stack names.
(string)
Tags -> (list)
The Amazon Web Services tags that are used by resources in the resource collection.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive.An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys , tag values are case-sensitive.Together these are known as key -value pairs.
Warning
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 beDevops-guru-deployment-application
orDevops-guru-rds-application
. While keys are case-sensitive, the case of key characters don’t matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
. Possible key /value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.(structure)
A collection of Amazon Web Services stags.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive.An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys , tag values are case-sensitive.Together these are known as key -value pairs.
Warning
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 beDevops-guru-deployment-application
orDevops-guru-rds-application
. While keys are case-sensitive, the case of key characters don’t matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
. Possible key /value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.AppBoundaryKey -> (string)
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.
Warning
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 beDevops-guru-deployment-application
orDevops-guru-rds-application
. While keys are case-sensitive, the case of key characters don’t matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
. Possible key /value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.TagValues -> (list)
The values in an Amazon Web Services tag collection.
The tag’s value is an optional field used to associate a string with the tag key (for example,
111122223333
,Production
, or a team name). The key and value are the tag’s key pair. Omitting the tag value is the same as using an empty string. Like tag keys , tag values are case-sensitive. You can specify a maximum of 256 characters for a tag value.(string)
Type -> (string)
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.Name -> (string)
The name of the reactive anomaly.
Description -> (string)
A description of the reactive anomaly.
CausalAnomalyId -> (string)
The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a CAUSAL anomaly is always NULL.
AnomalyResources -> (list)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
(structure)
The Amazon Web Services resources in which DevOps Guru detected unusual behavior that resulted in the generation of an anomaly. When DevOps Guru detects multiple related anomalies, it creates and insight with details about the anomalous behavior and suggestions about how to correct the problem.
Name -> (string)
The name of the Amazon Web Services resource.
Type -> (string)
The type of the Amazon Web Services resource.