amazonka-pi-2.0: Amazon Performance Insights SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Pi

Description

Derived from API version 2018-02-27 of the AWS service descriptions, licensed under Apache 2.0.

Amazon RDS Performance Insights

Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide provides detailed information about Performance Insights data types, parameters and errors.

When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the authoritative source for Amazon Web Services service-vended monitoring metrics. Performance Insights offers a domain-specific view of DB load.

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 <https:docs.aws.amazon.comAmazonRDSlatestAuroraUserGuideUSER_PerfInsights.html Amazon Aurora User Guide> .
  • To learn more about Performance Insights and Amazon RDS DB instances, go to the <https:docs.aws.amazon.comAmazonRDSlatestUserGuideUSER_PerfInsights.html Amazon RDS User Guide> .
  • To learn more about Performance Insights and Amazon DocumentDB clusters, go to the <https:docs.aws.amazon.comdocumentdblatestdeveloperguideperformance-insights.html Amazon DocumentDB Developer Guide> .
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-02-27 of the Amazon Performance Insights SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Pi.

InternalServiceError

_InternalServiceError :: AsError a => Fold a ServiceError Source #

The request failed due to an unknown error.

InvalidArgumentException

_InvalidArgumentException :: AsError a => Fold a ServiceError Source #

One of the arguments provided is invalid for this request.

NotAuthorizedException

_NotAuthorizedException :: AsError a => Fold a ServiceError Source #

The user is not authorized to perform this request.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeDimensionKeys

data DescribeDimensionKeys Source #

See: newDescribeDimensionKeys smart constructor.

Instances

Instances details
ToJSON DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

ToHeaders DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

ToPath DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

ToQuery DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

AWSRequest DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

Associated Types

type AWSResponse DescribeDimensionKeys #

Generic DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

Associated Types

type Rep DescribeDimensionKeys :: Type -> Type #

Read DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

Show DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

NFData DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

Methods

rnf :: DescribeDimensionKeys -> () #

Eq DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

Hashable DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

type AWSResponse DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

type Rep DescribeDimensionKeys Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

type Rep DescribeDimensionKeys = D1 ('MetaData "DescribeDimensionKeys" "Amazonka.Pi.DescribeDimensionKeys" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DescribeDimensionKeys'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "additionalMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "partitionBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DimensionGroup)) :*: S1 ('MetaSel ('Just "periodInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceType) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DimensionGroup))))))

newDescribeDimensionKeys Source #

Create a value of DescribeDimensionKeys with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeDimensionKeys, describeDimensionKeys_additionalMetrics - Additional metrics for the top N dimension keys. If the specified dimension group in the GroupBy parameter is db.sql_tokenized, you can specify per-SQL metrics to get the values for the top N SQL digests. The response syntax is as follows: "AdditionalMetrics" : { "string" : "string" }.

DescribeDimensionKeys, describeDimensionKeys_filter - One or more filters to apply in the request. Restrictions:

  • Any number of filters by the same dimension, as specified in the GroupBy or Partition parameters.
  • A single filter for any other dimension in this dimension group.

$sel:maxResults:DescribeDimensionKeys', describeDimensionKeys_maxResults - The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

DescribeDimensionKeys, describeDimensionKeys_nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

$sel:partitionBy:DescribeDimensionKeys', describeDimensionKeys_partitionBy - For each dimension specified in GroupBy, specify a secondary dimension to further subdivide the partition keys in the response.

$sel:periodInSeconds:DescribeDimensionKeys', describeDimensionKeys_periodInSeconds - The granularity, in seconds, of the data points returned from Performance Insights. A period can be as short as one second, or as long as one day (86400 seconds). Valid values are:

  • 1 (one second)
  • 60 (one minute)
  • 300 (five minutes)
  • 3600 (one hour)
  • 86400 (twenty-four hours)

If you don't specify PeriodInSeconds, then Performance Insights chooses a value for you, with a goal of returning roughly 100-200 data points in the response.

$sel:serviceType:DescribeDimensionKeys', describeDimensionKeys_serviceType - The Amazon Web Services service for which Performance Insights will return metrics. Valid values are as follows:

  • RDS
  • DOCDB

DescribeDimensionKeys, describeDimensionKeys_identifier - An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.

To use an Amazon RDS instance as a data source, you specify its DbiResourceId value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

$sel:startTime:DescribeDimensionKeys', describeDimensionKeys_startTime - The date and time specifying the beginning of the requested time series data. You must specify a StartTime within the past 7 days. The value specified is inclusive, which means that data points equal to or greater than StartTime are returned.

The value for StartTime must be earlier than the value for EndTime.

$sel:endTime:DescribeDimensionKeys', describeDimensionKeys_endTime - The date and time specifying the end of the requested time series data. The value specified is exclusive, which means that data points less than (but not equal to) EndTime are returned.

The value for EndTime must be later than the value for StartTime.

DescribeDimensionKeys, describeDimensionKeys_metric - The name of a Performance Insights metric to be measured.

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.

DescribeDimensionKeys, describeDimensionKeys_groupBy - A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights returns all dimensions within this group, unless you provide the names of specific dimensions within this group. You can also request that Performance Insights return a limited number of values for a dimension.

data DescribeDimensionKeysResponse Source #

See: newDescribeDimensionKeysResponse smart constructor.

Instances

Instances details
Generic DescribeDimensionKeysResponse Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

Associated Types

type Rep DescribeDimensionKeysResponse :: Type -> Type #

Read DescribeDimensionKeysResponse Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

Show DescribeDimensionKeysResponse Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

NFData DescribeDimensionKeysResponse Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

Eq DescribeDimensionKeysResponse Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

type Rep DescribeDimensionKeysResponse Source # 
Instance details

Defined in Amazonka.Pi.DescribeDimensionKeys

type Rep DescribeDimensionKeysResponse = D1 ('MetaData "DescribeDimensionKeysResponse" "Amazonka.Pi.DescribeDimensionKeys" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DescribeDimensionKeysResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alignedEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "alignedStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DimensionKeyDescription])))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "partitionKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResponsePartitionKey])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeDimensionKeysResponse Source #

Create a value of DescribeDimensionKeysResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:alignedEndTime:DescribeDimensionKeysResponse', describeDimensionKeysResponse_alignedEndTime - The end time for the returned dimension keys, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.

$sel:alignedStartTime:DescribeDimensionKeysResponse', describeDimensionKeysResponse_alignedStartTime - The start time for the returned dimension keys, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.

$sel:keys:DescribeDimensionKeysResponse', describeDimensionKeysResponse_keys - The dimension keys that were requested.

DescribeDimensionKeys, describeDimensionKeysResponse_nextToken - A pagination token that indicates the response didn’t return all available records because MaxRecords was specified in the previous request. To get the remaining records, specify NextToken in a separate request with this value.

$sel:partitionKeys:DescribeDimensionKeysResponse', describeDimensionKeysResponse_partitionKeys - If PartitionBy was present in the request, PartitionKeys contains the breakdown of dimension keys by the specified partitions.

$sel:httpStatus:DescribeDimensionKeysResponse', describeDimensionKeysResponse_httpStatus - The response's http status code.

GetDimensionKeyDetails

data GetDimensionKeyDetails Source #

See: newGetDimensionKeyDetails smart constructor.

Instances

Instances details
ToJSON GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

ToHeaders GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

ToPath GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

ToQuery GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

AWSRequest GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Associated Types

type AWSResponse GetDimensionKeyDetails #

Generic GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Associated Types

type Rep GetDimensionKeyDetails :: Type -> Type #

Read GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Show GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

NFData GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Methods

rnf :: GetDimensionKeyDetails -> () #

Eq GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Hashable GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

type AWSResponse GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

type Rep GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

type Rep GetDimensionKeyDetails = D1 ('MetaData "GetDimensionKeyDetails" "Amazonka.Pi.GetDimensionKeyDetails" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "GetDimensionKeyDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestedDimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceType)) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetDimensionKeyDetails Source #

Create a value of GetDimensionKeyDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:requestedDimensions:GetDimensionKeyDetails', getDimensionKeyDetails_requestedDimensions - A list of dimensions to retrieve the detail data for within the given dimension group. If you don't specify this parameter, Performance Insights returns all dimension data within the specified dimension group. Specify dimension names for the following dimension groups:

  • db.sql - Specify either the full dimension name db.sql.statement or the short dimension name statement (Aurora and RDS only).
  • db.query - Specify either the full dimension name db.query.statement or the short dimension name statement (DocumentDB only).

$sel:serviceType:GetDimensionKeyDetails', getDimensionKeyDetails_serviceType - The Amazon Web Services service for which Performance Insights returns data. The only valid value is RDS.

GetDimensionKeyDetails, getDimensionKeyDetails_identifier - The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

GetDimensionKeyDetails, getDimensionKeyDetails_group - The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. The following group name values are valid:

  • db.query (Amazon DocumentDB only)
  • db.sql (Amazon RDS and Aurora only)

$sel:groupIdentifier:GetDimensionKeyDetails', getDimensionKeyDetails_groupIdentifier - The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql, the group ID is db.sql.id. The following group ID values are valid:

  • db.sql.id for dimension group db.sql (Aurora and RDS only)
  • db.query.id for dimension group db.query (DocumentDB only)

data GetDimensionKeyDetailsResponse Source #

See: newGetDimensionKeyDetailsResponse smart constructor.

Instances

Instances details
Generic GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Associated Types

type Rep GetDimensionKeyDetailsResponse :: Type -> Type #

Read GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Show GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

NFData GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Eq GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

type Rep GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

type Rep GetDimensionKeyDetailsResponse = D1 ('MetaData "GetDimensionKeyDetailsResponse" "Amazonka.Pi.GetDimensionKeyDetails" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "GetDimensionKeyDetailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DimensionKeyDetail])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDimensionKeyDetailsResponse Source #

Create a value of GetDimensionKeyDetailsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetDimensionKeyDetailsResponse, getDimensionKeyDetailsResponse_dimensions - The details for the requested dimensions.

$sel:httpStatus:GetDimensionKeyDetailsResponse', getDimensionKeyDetailsResponse_httpStatus - The response's http status code.

GetResourceMetadata

data GetResourceMetadata Source #

See: newGetResourceMetadata smart constructor.

Instances

Instances details
ToJSON GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

ToHeaders GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

ToPath GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

ToQuery GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

AWSRequest GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

Associated Types

type AWSResponse GetResourceMetadata #

Generic GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

Associated Types

type Rep GetResourceMetadata :: Type -> Type #

Read GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

Show GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

NFData GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

Methods

rnf :: GetResourceMetadata -> () #

Eq GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

Hashable GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

type AWSResponse GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

type Rep GetResourceMetadata Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

type Rep GetResourceMetadata = D1 ('MetaData "GetResourceMetadata" "Amazonka.Pi.GetResourceMetadata" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "GetResourceMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceType) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetResourceMetadata Source #

Create a value of GetResourceMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:serviceType:GetResourceMetadata', getResourceMetadata_serviceType - The Amazon Web Services service for which Performance Insights returns metrics.

GetResourceMetadata, getResourceMetadata_identifier - An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

data GetResourceMetadataResponse Source #

See: newGetResourceMetadataResponse smart constructor.

Instances

Instances details
Generic GetResourceMetadataResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

Associated Types

type Rep GetResourceMetadataResponse :: Type -> Type #

Read GetResourceMetadataResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

Show GetResourceMetadataResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

NFData GetResourceMetadataResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

Eq GetResourceMetadataResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

type Rep GetResourceMetadataResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetadata

type Rep GetResourceMetadataResponse = D1 ('MetaData "GetResourceMetadataResponse" "Amazonka.Pi.GetResourceMetadata" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "GetResourceMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text FeatureMetadata))) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetResourceMetadataResponse Source #

Create a value of GetResourceMetadataResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:features:GetResourceMetadataResponse', getResourceMetadataResponse_features - The metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.

GetResourceMetadata, getResourceMetadataResponse_identifier - An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

$sel:httpStatus:GetResourceMetadataResponse', getResourceMetadataResponse_httpStatus - The response's http status code.

GetResourceMetrics

data GetResourceMetrics Source #

See: newGetResourceMetrics smart constructor.

Instances

Instances details
ToJSON GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

ToHeaders GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

ToPath GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

ToQuery GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

AWSRequest GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

Associated Types

type AWSResponse GetResourceMetrics #

Generic GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

Associated Types

type Rep GetResourceMetrics :: Type -> Type #

Read GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

Show GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

NFData GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

Methods

rnf :: GetResourceMetrics -> () #

Eq GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

Hashable GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

type AWSResponse GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

type Rep GetResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

newGetResourceMetrics Source #

Create a value of GetResourceMetrics with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:GetResourceMetrics', getResourceMetrics_maxResults - The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

GetResourceMetrics, getResourceMetrics_nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

$sel:periodInSeconds:GetResourceMetrics', getResourceMetrics_periodInSeconds - The granularity, in seconds, of the data points returned from Performance Insights. A period can be as short as one second, or as long as one day (86400 seconds). Valid values are:

  • 1 (one second)
  • 60 (one minute)
  • 300 (five minutes)
  • 3600 (one hour)
  • 86400 (twenty-four hours)

If you don't specify PeriodInSeconds, then Performance Insights will choose a value for you, with a goal of returning roughly 100-200 data points in the response.

$sel:serviceType:GetResourceMetrics', getResourceMetrics_serviceType - The Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:

  • RDS
  • DOCDB

GetResourceMetrics, getResourceMetrics_identifier - An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

$sel:metricQueries:GetResourceMetrics', getResourceMetrics_metricQueries - An array of one or more queries to perform. Each query must specify a Performance Insights metric, and can optionally specify aggregation and filtering criteria.

$sel:startTime:GetResourceMetrics', getResourceMetrics_startTime - The date and time specifying the beginning of the requested time series query range. You can't specify a StartTime that is earlier than 7 days ago. By default, Performance Insights has 7 days of retention, but you can extend this range up to 2 years. The value specified is inclusive. Thus, the command returns data points equal to or greater than StartTime.

The value for StartTime must be earlier than the value for EndTime.

$sel:endTime:GetResourceMetrics', getResourceMetrics_endTime - The date and time specifying the end of the requested time series query range. The value specified is exclusive. Thus, the command returns data points less than (but not equal to) EndTime.

The value for EndTime must be later than the value for StartTime.

data GetResourceMetricsResponse Source #

See: newGetResourceMetricsResponse smart constructor.

Instances

Instances details
Generic GetResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

Associated Types

type Rep GetResourceMetricsResponse :: Type -> Type #

Read GetResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

Show GetResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

NFData GetResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

Eq GetResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

type Rep GetResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetResourceMetrics

type Rep GetResourceMetricsResponse = D1 ('MetaData "GetResourceMetricsResponse" "Amazonka.Pi.GetResourceMetrics" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "GetResourceMetricsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alignedEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "alignedStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "metricList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricKeyDataPoints])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetResourceMetricsResponse Source #

Create a value of GetResourceMetricsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:alignedEndTime:GetResourceMetricsResponse', getResourceMetricsResponse_alignedEndTime - The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.

$sel:alignedStartTime:GetResourceMetricsResponse', getResourceMetricsResponse_alignedStartTime - The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.

GetResourceMetrics, getResourceMetricsResponse_identifier - An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

$sel:metricList:GetResourceMetricsResponse', getResourceMetricsResponse_metricList - An array of metric results, where each array element contains all of the data points for a particular dimension.

GetResourceMetrics, getResourceMetricsResponse_nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

$sel:httpStatus:GetResourceMetricsResponse', getResourceMetricsResponse_httpStatus - The response's http status code.

ListAvailableResourceDimensions

data ListAvailableResourceDimensions Source #

See: newListAvailableResourceDimensions smart constructor.

Instances

Instances details
ToJSON ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

ToHeaders ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

ToPath ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

ToQuery ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

AWSRequest ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Generic ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Associated Types

type Rep ListAvailableResourceDimensions :: Type -> Type #

Read ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Show ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

NFData ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Eq ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Hashable ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type AWSResponse ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type Rep ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type Rep ListAvailableResourceDimensions = D1 ('MetaData "ListAvailableResourceDimensions" "Amazonka.Pi.ListAvailableResourceDimensions" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ListAvailableResourceDimensions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceType) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))))

newListAvailableResourceDimensions Source #

Create a value of ListAvailableResourceDimensions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:ListAvailableResourceDimensions', listAvailableResourceDimensions_maxResults - The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

ListAvailableResourceDimensions, listAvailableResourceDimensions_nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

$sel:serviceType:ListAvailableResourceDimensions', listAvailableResourceDimensions_serviceType - The Amazon Web Services service for which Performance Insights returns metrics.

ListAvailableResourceDimensions, listAvailableResourceDimensions_identifier - An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

$sel:metrics:ListAvailableResourceDimensions', listAvailableResourceDimensions_metrics - The types of metrics for which to retrieve dimensions. Valid values include db.load.

data ListAvailableResourceDimensionsResponse Source #

Instances

Instances details
Generic ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Read ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Show ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

NFData ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Eq ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type Rep ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type Rep ListAvailableResourceDimensionsResponse = D1 ('MetaData "ListAvailableResourceDimensionsResponse" "Amazonka.Pi.ListAvailableResourceDimensions" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ListAvailableResourceDimensionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDimensionGroups])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAvailableResourceDimensionsResponse Source #

Create a value of ListAvailableResourceDimensionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:metricDimensions:ListAvailableResourceDimensionsResponse', listAvailableResourceDimensionsResponse_metricDimensions - The dimension information returned for requested metric types.

ListAvailableResourceDimensions, listAvailableResourceDimensionsResponse_nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

$sel:httpStatus:ListAvailableResourceDimensionsResponse', listAvailableResourceDimensionsResponse_httpStatus - The response's http status code.

ListAvailableResourceMetrics

data ListAvailableResourceMetrics Source #

See: newListAvailableResourceMetrics smart constructor.

Instances

Instances details
ToJSON ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

ToHeaders ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

ToPath ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

ToQuery ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

AWSRequest ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

Generic ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

Associated Types

type Rep ListAvailableResourceMetrics :: Type -> Type #

Read ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

Show ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

NFData ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

Eq ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

Hashable ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

type AWSResponse ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

type Rep ListAvailableResourceMetrics Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

type Rep ListAvailableResourceMetrics = D1 ('MetaData "ListAvailableResourceMetrics" "Amazonka.Pi.ListAvailableResourceMetrics" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ListAvailableResourceMetrics'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceType) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))

newListAvailableResourceMetrics Source #

Create a value of ListAvailableResourceMetrics with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:ListAvailableResourceMetrics', listAvailableResourceMetrics_maxResults - The maximum number of items to return. If the MaxRecords value is less than the number of existing items, the response includes a pagination token.

ListAvailableResourceMetrics, listAvailableResourceMetrics_nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

$sel:serviceType:ListAvailableResourceMetrics', listAvailableResourceMetrics_serviceType - The Amazon Web Services service for which Performance Insights returns metrics.

ListAvailableResourceMetrics, listAvailableResourceMetrics_identifier - An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

$sel:metricTypes:ListAvailableResourceMetrics', listAvailableResourceMetrics_metricTypes - The types of metrics to return in the response. Valid values in the array include the following:

  • os (OS counter metrics) - All engines
  • db (DB load metrics) - All engines except for Amazon DocumentDB
  • db.sql.stats (per-SQL metrics) - All engines except for Amazon DocumentDB
  • db.sql_tokenized.stats (per-SQL digest metrics) - All engines except for Amazon DocumentDB

data ListAvailableResourceMetricsResponse Source #

Instances

Instances details
Generic ListAvailableResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

Read ListAvailableResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

Show ListAvailableResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

NFData ListAvailableResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

Eq ListAvailableResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

type Rep ListAvailableResourceMetricsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceMetrics

type Rep ListAvailableResourceMetricsResponse = D1 ('MetaData "ListAvailableResourceMetricsResponse" "Amazonka.Pi.ListAvailableResourceMetrics" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ListAvailableResourceMetricsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResponseResourceMetric])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAvailableResourceMetricsResponse Source #

Create a value of ListAvailableResourceMetricsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:metrics:ListAvailableResourceMetricsResponse', listAvailableResourceMetricsResponse_metrics - An array of metrics available to query. Each array element contains the full name, description, and unit of the metric.

ListAvailableResourceMetrics, listAvailableResourceMetricsResponse_nextToken - A pagination token that indicates the response didn’t return all available records because MaxRecords was specified in the previous request. To get the remaining records, specify NextToken in a separate request with this value.

$sel:httpStatus:ListAvailableResourceMetricsResponse', listAvailableResourceMetricsResponse_httpStatus - The response's http status code.

Types

DetailStatus

newtype DetailStatus Source #

Constructors

DetailStatus' 

Instances

Instances details
FromJSON DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

FromJSONKey DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

ToJSON DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

ToJSONKey DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

ToByteString DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

ToHeader DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

ToLog DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

ToQuery DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

FromText DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

ToText DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

Methods

toText :: DetailStatus -> Text #

FromXML DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

ToXML DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

Methods

toXML :: DetailStatus -> XML #

Generic DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

Associated Types

type Rep DetailStatus :: Type -> Type #

Read DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

Show DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

NFData DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

Methods

rnf :: DetailStatus -> () #

Eq DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

Ord DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

Hashable DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

type Rep DetailStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.DetailStatus

type Rep DetailStatus = D1 ('MetaData "DetailStatus" "Amazonka.Pi.Types.DetailStatus" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'True) (C1 ('MetaCons "DetailStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDetailStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FeatureStatus

newtype FeatureStatus Source #

Constructors

FeatureStatus' 

Instances

Instances details
FromJSON FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

FromJSONKey FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

ToJSON FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

ToJSONKey FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

ToByteString FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

ToHeader FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

ToLog FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

ToQuery FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

FromText FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

ToText FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

Methods

toText :: FeatureStatus -> Text #

FromXML FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

ToXML FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

Methods

toXML :: FeatureStatus -> XML #

Generic FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

Associated Types

type Rep FeatureStatus :: Type -> Type #

Read FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

Show FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

NFData FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

Methods

rnf :: FeatureStatus -> () #

Eq FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

Ord FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

Hashable FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

type Rep FeatureStatus Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureStatus

type Rep FeatureStatus = D1 ('MetaData "FeatureStatus" "Amazonka.Pi.Types.FeatureStatus" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'True) (C1 ('MetaCons "FeatureStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFeatureStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ServiceType

newtype ServiceType Source #

Constructors

ServiceType' 

Bundled Patterns

pattern ServiceType_DOCDB :: ServiceType 
pattern ServiceType_RDS :: ServiceType 

Instances

Instances details
FromJSON ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

FromJSONKey ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

ToJSON ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

ToJSONKey ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

ToByteString ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

ToHeader ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

ToLog ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

ToQuery ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

FromText ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

ToText ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

Methods

toText :: ServiceType -> Text #

FromXML ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

ToXML ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

Methods

toXML :: ServiceType -> XML #

Generic ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

Associated Types

type Rep ServiceType :: Type -> Type #

Read ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

Show ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

NFData ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

Methods

rnf :: ServiceType -> () #

Eq ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

Ord ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

Hashable ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

type Rep ServiceType Source # 
Instance details

Defined in Amazonka.Pi.Types.ServiceType

type Rep ServiceType = D1 ('MetaData "ServiceType" "Amazonka.Pi.Types.ServiceType" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'True) (C1 ('MetaCons "ServiceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromServiceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DataPoint

data DataPoint Source #

A timestamp, and a single numerical value, which together represent a measurement at a particular point in time.

See: newDataPoint smart constructor.

Constructors

DataPoint' POSIX Double 

Instances

Instances details
FromJSON DataPoint Source # 
Instance details

Defined in Amazonka.Pi.Types.DataPoint

Generic DataPoint Source # 
Instance details

Defined in Amazonka.Pi.Types.DataPoint

Associated Types

type Rep DataPoint :: Type -> Type #

Read DataPoint Source # 
Instance details

Defined in Amazonka.Pi.Types.DataPoint

Show DataPoint Source # 
Instance details

Defined in Amazonka.Pi.Types.DataPoint

NFData DataPoint Source # 
Instance details

Defined in Amazonka.Pi.Types.DataPoint

Methods

rnf :: DataPoint -> () #

Eq DataPoint Source # 
Instance details

Defined in Amazonka.Pi.Types.DataPoint

Hashable DataPoint Source # 
Instance details

Defined in Amazonka.Pi.Types.DataPoint

type Rep DataPoint Source # 
Instance details

Defined in Amazonka.Pi.Types.DataPoint

type Rep DataPoint = D1 ('MetaData "DataPoint" "Amazonka.Pi.Types.DataPoint" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DataPoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

newDataPoint Source #

Create a value of DataPoint with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:timestamp:DataPoint', dataPoint_timestamp - The time, in epoch format, associated with a particular Value.

$sel:value:DataPoint', dataPoint_value - The actual value associated with a particular Timestamp.

DimensionDetail

data DimensionDetail Source #

The information about a dimension.

See: newDimensionDetail smart constructor.

Constructors

DimensionDetail' (Maybe Text) 

Instances

Instances details
FromJSON DimensionDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionDetail

Generic DimensionDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionDetail

Associated Types

type Rep DimensionDetail :: Type -> Type #

Read DimensionDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionDetail

Show DimensionDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionDetail

NFData DimensionDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionDetail

Methods

rnf :: DimensionDetail -> () #

Eq DimensionDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionDetail

Hashable DimensionDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionDetail

type Rep DimensionDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionDetail

type Rep DimensionDetail = D1 ('MetaData "DimensionDetail" "Amazonka.Pi.Types.DimensionDetail" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DimensionDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDimensionDetail :: DimensionDetail Source #

Create a value of DimensionDetail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:identifier:DimensionDetail', dimensionDetail_identifier - The identifier of a dimension.

DimensionGroup

data DimensionGroup Source #

A logical grouping of Performance Insights metrics for a related subject area. For example, the db.sql dimension group consists of the following dimensions:

  • db.sql.id - The hash of a running SQL statement, generated by Performance Insights.
  • db.sql.db_id - Either the SQL ID generated by the database engine, or a value generated by Performance Insights that begins with pi-.
  • db.sql.statement - The full text of the SQL statement that is running, for example, SELECT * FROM employees.
  • db.sql_tokenized.id - The hash of the SQL digest generated by Performance Insights.

Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.

See: newDimensionGroup smart constructor.

Instances

Instances details
ToJSON DimensionGroup Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroup

Generic DimensionGroup Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroup

Associated Types

type Rep DimensionGroup :: Type -> Type #

Read DimensionGroup Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroup

Show DimensionGroup Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroup

NFData DimensionGroup Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroup

Methods

rnf :: DimensionGroup -> () #

Eq DimensionGroup Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroup

Hashable DimensionGroup Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroup

type Rep DimensionGroup Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroup

type Rep DimensionGroup = D1 ('MetaData "DimensionGroup" "Amazonka.Pi.Types.DimensionGroup" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DimensionGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDimensionGroup Source #

Create a value of DimensionGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensions:DimensionGroup', dimensionGroup_dimensions - 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. Valid values are as follows:

    • Aurora PostgreSQL
    • Amazon RDS PostgreSQL
    • Amazon DocumentDB
  • 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. Valid values are as follows:

    • Aurora PostgreSQL
    • Amazon RDS PostgreSQL
    • Aurora MySQL
    • Amazon RDS MySQL
    • Amazon RDS MariaDB
    • Amazon DocumentDB
  • db.query.id - The query ID generated by Performance Insights (only Amazon DocumentDB).
  • db.query.db_id - The query ID generated by the database (only Amazon DocumentDB).
  • db.query.statement - The text of the query that is being run (only Amazon DocumentDB).
  • db.query.tokenized_id
  • db.query.tokenized.id - The query digest ID generated by Performance Insights (only Amazon DocumentDB).
  • db.query.tokenized.db_id - The query digest ID generated by Performance Insights (only Amazon DocumentDB).
  • db.query.tokenized.statement - The text of the query digest (only Amazon DocumentDB).
  • db.session_type.name - The type of the current session (only Amazon DocumentDB).
  • db.sql.id - The hash of the full, non-tokenized SQL statement generated by Performance Insights (all engines except Amazon DocumentDB).
  • db.sql.db_id - Either the SQL ID generated by the database engine, or a value generated by Performance Insights that begins with pi- (all engines except Amazon DocumentDB).
  • db.sql.statement - The full text of the SQL statement that is running, as in SELECT * FROM employees (all engines except Amazon DocumentDB)
  • db.sql.tokenized_id
  • db.sql_tokenized.id - The hash of the SQL digest generated by Performance Insights (all engines except Amazon DocumentDB). In the console, db.sql_tokenized.id is called the Support ID because Amazon Web Services Support can look at this data to help you troubleshoot database issues.
  • db.sql_tokenized.db_id - Either the native database ID used to refer to the SQL statement, or a synthetic ID such as pi-2372568224 that Performance Insights generates if the native database ID isn't available (all engines except Amazon DocumentDB).
  • db.sql_tokenized.statement - The text of the SQL digest, as in SELECT * FROM employees WHERE employee_id = ? (all engines except Amazon DocumentDB)
  • db.user.id - The ID of the user logged in to the database (all engines except Amazon DocumentDB).
  • db.user.name - The name of the user logged in to the database (all engines except Amazon DocumentDB).
  • db.wait_event.name - The event for which the backend is waiting (all engines except Amazon DocumentDB).
  • db.wait_event.type - The type of event for which the backend is waiting (all engines except Amazon DocumentDB).
  • db.wait_event_type.name - The name of the event type for which the backend is waiting (all engines except Amazon DocumentDB).
  • db.wait_state.name - The event for which the backend is waiting (only Amazon DocumentDB).

$sel:limit:DimensionGroup', dimensionGroup_limit - The maximum number of items to fetch for this dimension group.

$sel:group':DimensionGroup', dimensionGroup_group - The name of the dimension group. Valid values are as follows:

  • db - The name of the database to which the client is connected. The following values are permitted:

    • Aurora PostgreSQL
    • Amazon RDS PostgreSQL
    • Aurora MySQL
    • Amazon RDS MySQL
    • Amazon RDS MariaDB
    • Amazon DocumentDB
  • db.application - The name of the application that is connected to the database. The following values are permitted:

    • Aurora PostgreSQL
    • Amazon RDS PostgreSQL
    • Amazon DocumentDB
  • db.host - The host name of the connected client (all engines).
  • db.query - The query that is currently running (only Amazon DocumentDB).
  • db.query_tokenized - The digest query (only Amazon DocumentDB).
  • db.session_type - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL).
  • db.sql - The text of the SQL statement that is currently running (all engines except Amazon DocumentDB).
  • db.sql_tokenized - The SQL digest (all engines except Amazon DocumentDB).
  • db.user - The user logged in to the database (all engines except Amazon DocumentDB).
  • db.wait_event - The event for which the database backend is waiting (all engines except Amazon DocumentDB).
  • db.wait_event_type - The type of event for which the database backend is waiting (all engines except Amazon DocumentDB).
  • db.wait_state - The event for which the database backend is waiting (only Amazon DocumentDB).

DimensionGroupDetail

data DimensionGroupDetail Source #

Information about dimensions within a dimension group.

See: newDimensionGroupDetail smart constructor.

Instances

Instances details
FromJSON DimensionGroupDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroupDetail

Generic DimensionGroupDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroupDetail

Associated Types

type Rep DimensionGroupDetail :: Type -> Type #

Read DimensionGroupDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroupDetail

Show DimensionGroupDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroupDetail

NFData DimensionGroupDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroupDetail

Methods

rnf :: DimensionGroupDetail -> () #

Eq DimensionGroupDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroupDetail

Hashable DimensionGroupDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroupDetail

type Rep DimensionGroupDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionGroupDetail

type Rep DimensionGroupDetail = D1 ('MetaData "DimensionGroupDetail" "Amazonka.Pi.Types.DimensionGroupDetail" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DimensionGroupDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DimensionDetail])) :*: S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDimensionGroupDetail :: DimensionGroupDetail Source #

Create a value of DimensionGroupDetail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensions:DimensionGroupDetail', dimensionGroupDetail_dimensions - The dimensions within a dimension group.

$sel:group':DimensionGroupDetail', dimensionGroupDetail_group - The name of the dimension group.

DimensionKeyDescription

data DimensionKeyDescription Source #

An object that includes the requested dimension key values and aggregated metric values within a dimension group.

See: newDimensionKeyDescription smart constructor.

Instances

Instances details
FromJSON DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Generic DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Associated Types

type Rep DimensionKeyDescription :: Type -> Type #

Read DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Show DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

NFData DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Methods

rnf :: DimensionKeyDescription -> () #

Eq DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Hashable DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

type Rep DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

type Rep DimensionKeyDescription = D1 ('MetaData "DimensionKeyDescription" "Amazonka.Pi.Types.DimensionKeyDescription" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DimensionKeyDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "additionalMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Double))) :*: S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "partitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Double])) :*: S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newDimensionKeyDescription :: DimensionKeyDescription Source #

Create a value of DimensionKeyDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:additionalMetrics:DimensionKeyDescription', dimensionKeyDescription_additionalMetrics - A map that contains the value for each additional metric.

$sel:dimensions:DimensionKeyDescription', dimensionKeyDescription_dimensions - A map of name-value pairs for the dimensions in the group.

$sel:partitions:DimensionKeyDescription', dimensionKeyDescription_partitions - If PartitionBy was specified, PartitionKeys contains the dimensions that were.

$sel:total:DimensionKeyDescription', dimensionKeyDescription_total - The aggregated metric value for the dimensions, over the requested time range.

DimensionKeyDetail

data DimensionKeyDetail Source #

An object that describes the details for a specified dimension.

See: newDimensionKeyDetail smart constructor.

Instances

Instances details
FromJSON DimensionKeyDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDetail

Generic DimensionKeyDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDetail

Associated Types

type Rep DimensionKeyDetail :: Type -> Type #

Read DimensionKeyDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDetail

Show DimensionKeyDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDetail

NFData DimensionKeyDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDetail

Methods

rnf :: DimensionKeyDetail -> () #

Eq DimensionKeyDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDetail

Hashable DimensionKeyDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDetail

type Rep DimensionKeyDetail Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDetail

type Rep DimensionKeyDetail = D1 ('MetaData "DimensionKeyDetail" "Amazonka.Pi.Types.DimensionKeyDetail" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DimensionKeyDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetailStatus)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDimensionKeyDetail :: DimensionKeyDetail Source #

Create a value of DimensionKeyDetail with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimension:DimensionKeyDetail', dimensionKeyDetail_dimension - The full name of the dimension. The full name includes the group name and key name. The following values are valid:

  • db.query.statement (Amazon DocumentDB)
  • db.sql.statement (Amazon RDS and Aurora)

$sel:status:DimensionKeyDetail', dimensionKeyDetail_status - The status of the dimension detail data. Possible values include the following:

  • AVAILABLE - The dimension detail data is ready to be retrieved.
  • PROCESSING - The dimension detail data isn't ready to be retrieved because more processing time is required. If the requested detail data has the status PROCESSING, Performance Insights returns the truncated query.
  • UNAVAILABLE - The dimension detail data could not be collected successfully.

$sel:value:DimensionKeyDetail', dimensionKeyDetail_value - The value of the dimension detail data. Depending on the return status, this value is either the full or truncated SQL query for the following dimensions:

  • db.query.statement (Amazon DocumentDB)
  • db.sql.statement (Amazon RDS and Aurora)

FeatureMetadata

data FeatureMetadata Source #

The metadata for a feature. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.

See: newFeatureMetadata smart constructor.

Instances

Instances details
FromJSON FeatureMetadata Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureMetadata

Generic FeatureMetadata Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureMetadata

Associated Types

type Rep FeatureMetadata :: Type -> Type #

Read FeatureMetadata Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureMetadata

Show FeatureMetadata Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureMetadata

NFData FeatureMetadata Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureMetadata

Methods

rnf :: FeatureMetadata -> () #

Eq FeatureMetadata Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureMetadata

Hashable FeatureMetadata Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureMetadata

type Rep FeatureMetadata Source # 
Instance details

Defined in Amazonka.Pi.Types.FeatureMetadata

type Rep FeatureMetadata = D1 ('MetaData "FeatureMetadata" "Amazonka.Pi.Types.FeatureMetadata" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "FeatureMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FeatureStatus))))

newFeatureMetadata :: FeatureMetadata Source #

Create a value of FeatureMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:FeatureMetadata', featureMetadata_status - The status of the feature on the DB instance. Possible values include the following:

  • ENABLED - The feature is enabled on the instance.
  • DISABLED - The feature is disabled on the instance.
  • UNSUPPORTED - The feature isn't supported on the instance.
  • ENABLED_PENDING_REBOOT - The feature is enabled on the instance but requires a reboot to take effect.
  • DISABLED_PENDING_REBOOT - The feature is disabled on the instance but requires a reboot to take effect.
  • UNKNOWN - The feature status couldn't be determined.

MetricDimensionGroups

data MetricDimensionGroups Source #

The available dimension information for a metric type.

See: newMetricDimensionGroups smart constructor.

Instances

Instances details
FromJSON MetricDimensionGroups Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricDimensionGroups

Generic MetricDimensionGroups Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricDimensionGroups

Associated Types

type Rep MetricDimensionGroups :: Type -> Type #

Read MetricDimensionGroups Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricDimensionGroups

Show MetricDimensionGroups Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricDimensionGroups

NFData MetricDimensionGroups Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricDimensionGroups

Methods

rnf :: MetricDimensionGroups -> () #

Eq MetricDimensionGroups Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricDimensionGroups

Hashable MetricDimensionGroups Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricDimensionGroups

type Rep MetricDimensionGroups Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricDimensionGroups

type Rep MetricDimensionGroups = D1 ('MetaData "MetricDimensionGroups" "Amazonka.Pi.Types.MetricDimensionGroups" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "MetricDimensionGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DimensionGroupDetail])) :*: S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMetricDimensionGroups :: MetricDimensionGroups Source #

Create a value of MetricDimensionGroups with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:groups:MetricDimensionGroups', metricDimensionGroups_groups - The available dimension groups for a metric type.

$sel:metric:MetricDimensionGroups', metricDimensionGroups_metric - The metric type to which the dimension information belongs.

MetricKeyDataPoints

data MetricKeyDataPoints Source #

A time-ordered series of data points, corresponding to a dimension of a Performance Insights metric.

See: newMetricKeyDataPoints smart constructor.

Instances

Instances details
FromJSON MetricKeyDataPoints Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricKeyDataPoints

Generic MetricKeyDataPoints Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricKeyDataPoints

Associated Types

type Rep MetricKeyDataPoints :: Type -> Type #

Read MetricKeyDataPoints Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricKeyDataPoints

Show MetricKeyDataPoints Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricKeyDataPoints

NFData MetricKeyDataPoints Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricKeyDataPoints

Methods

rnf :: MetricKeyDataPoints -> () #

Eq MetricKeyDataPoints Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricKeyDataPoints

Hashable MetricKeyDataPoints Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricKeyDataPoints

type Rep MetricKeyDataPoints Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricKeyDataPoints

type Rep MetricKeyDataPoints = D1 ('MetaData "MetricKeyDataPoints" "Amazonka.Pi.Types.MetricKeyDataPoints" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "MetricKeyDataPoints'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataPoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataPoint])) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResponseResourceMetricKey))))

newMetricKeyDataPoints :: MetricKeyDataPoints Source #

Create a value of MetricKeyDataPoints with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataPoints:MetricKeyDataPoints', metricKeyDataPoints_dataPoints - An array of timestamp-value pairs, representing measurements over a period of time.

$sel:key:MetricKeyDataPoints', metricKeyDataPoints_key - The dimensions to which the data points apply.

MetricQuery

data MetricQuery Source #

A single query to be processed. You must provide the metric to query. If no other parameters are specified, Performance Insights returns all data points for the specified metric. Optionally, you can request that the data points be aggregated by dimension group (GroupBy), and return only those data points that match your criteria (Filter).

See: newMetricQuery smart constructor.

Instances

Instances details
ToJSON MetricQuery Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricQuery

Generic MetricQuery Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricQuery

Associated Types

type Rep MetricQuery :: Type -> Type #

Read MetricQuery Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricQuery

Show MetricQuery Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricQuery

NFData MetricQuery Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricQuery

Methods

rnf :: MetricQuery -> () #

Eq MetricQuery Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricQuery

Hashable MetricQuery Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricQuery

type Rep MetricQuery Source # 
Instance details

Defined in Amazonka.Pi.Types.MetricQuery

type Rep MetricQuery = D1 ('MetaData "MetricQuery" "Amazonka.Pi.Types.MetricQuery" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "MetricQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "groupBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DimensionGroup)) :*: S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newMetricQuery Source #

Create a value of MetricQuery with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:filter':MetricQuery', metricQuery_filter - One or more filters to apply in the request. 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.

$sel:groupBy:MetricQuery', metricQuery_groupBy - A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights will return 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.

$sel:metric:MetricQuery', metricQuery_metric - The name of a Performance Insights metric to be measured.

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.
  • The counter metrics listed in Performance Insights operating system counters in the Amazon Aurora User Guide.

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.

ResponsePartitionKey

data ResponsePartitionKey Source #

If PartitionBy was specified in a DescribeDimensionKeys request, the dimensions are returned in an array. Each element in the array specifies one dimension.

See: newResponsePartitionKey smart constructor.

Instances

Instances details
FromJSON ResponsePartitionKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponsePartitionKey

Generic ResponsePartitionKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponsePartitionKey

Associated Types

type Rep ResponsePartitionKey :: Type -> Type #

Read ResponsePartitionKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponsePartitionKey

Show ResponsePartitionKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponsePartitionKey

NFData ResponsePartitionKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponsePartitionKey

Methods

rnf :: ResponsePartitionKey -> () #

Eq ResponsePartitionKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponsePartitionKey

Hashable ResponsePartitionKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponsePartitionKey

type Rep ResponsePartitionKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponsePartitionKey

type Rep ResponsePartitionKey = D1 ('MetaData "ResponsePartitionKey" "Amazonka.Pi.Types.ResponsePartitionKey" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ResponsePartitionKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))

newResponsePartitionKey :: ResponsePartitionKey Source #

Create a value of ResponsePartitionKey with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensions:ResponsePartitionKey', responsePartitionKey_dimensions - A dimension map that contains the dimensions for this partition.

ResponseResourceMetric

data ResponseResourceMetric Source #

An object that contains the full name, description, and unit of a metric.

See: newResponseResourceMetric smart constructor.

Instances

Instances details
FromJSON ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Generic ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Associated Types

type Rep ResponseResourceMetric :: Type -> Type #

Read ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Show ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

NFData ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Methods

rnf :: ResponseResourceMetric -> () #

Eq ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Hashable ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

type Rep ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

type Rep ResponseResourceMetric = D1 ('MetaData "ResponseResourceMetric" "Amazonka.Pi.Types.ResponseResourceMetric" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ResponseResourceMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResponseResourceMetric :: ResponseResourceMetric Source #

Create a value of ResponseResourceMetric with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:description:ResponseResourceMetric', responseResourceMetric_description - The description of the metric.

$sel:metric:ResponseResourceMetric', responseResourceMetric_metric - The full name of the metric.

$sel:unit:ResponseResourceMetric', responseResourceMetric_unit - The unit of the metric.

ResponseResourceMetricKey

data ResponseResourceMetricKey Source #

An object describing a Performance Insights metric and one or more dimensions for that metric.

See: newResponseResourceMetricKey smart constructor.

Instances

Instances details
FromJSON ResponseResourceMetricKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetricKey

Generic ResponseResourceMetricKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetricKey

Associated Types

type Rep ResponseResourceMetricKey :: Type -> Type #

Read ResponseResourceMetricKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetricKey

Show ResponseResourceMetricKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetricKey

NFData ResponseResourceMetricKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetricKey

Eq ResponseResourceMetricKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetricKey

Hashable ResponseResourceMetricKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetricKey

type Rep ResponseResourceMetricKey Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetricKey

type Rep ResponseResourceMetricKey = D1 ('MetaData "ResponseResourceMetricKey" "Amazonka.Pi.Types.ResponseResourceMetricKey" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ResponseResourceMetricKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResponseResourceMetricKey Source #

Create a value of ResponseResourceMetricKey with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensions:ResponseResourceMetricKey', responseResourceMetricKey_dimensions - The valid dimensions for the metric.

$sel:metric:ResponseResourceMetricKey', responseResourceMetricKey_metric - The name of a Performance Insights metric to be measured.

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.
  • The counter metrics listed in Performance Insights operating system counters in the Amazon Aurora User Guide.

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.