Skip to content

MetricStreamStatisticsConfiguration

Source code in docs_src/capo_cloudwatch/types/metric_stream_statistics_configuration.py
class MetricStreamStatisticsConfiguration(TypedDict, closed=True):
    include_metrics: NotRequired[
        "capo_cloudwatch.types.metric_stream_statistics_include_metrics.MetricStreamStatisticsIncludeMetrics"
    ]
    """<p>An array of metric name and namespace pairs that stream the additional statistics listed in the value of the <code>AdditionalStatistics</code> parameter. There can be as many as 100 pairs in the array.</p> <p>All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.</p>"""
    additional_statistics: NotRequired[
        "capo_cloudwatch.types.metric_stream_statistics_additional_statistics.MetricStreamStatisticsAdditionalStatistics"
    ]
    """<p>The list of additional statistics that are to be streamed for the metrics listed in the <code>IncludeMetrics</code> array in this structure. This list can include as many as 20 statistics.</p> <p>If the <code>OutputFormat</code> for the stream is <code>opentelemetry1.0</code> or <code>opentelemetry0.7</code>, the only valid values are <code>p<i>??</i> </code> percentile statistics such as <code>p90</code>, <code>p99</code> and so on.</p> <p>If the <code>OutputFormat</code> for the stream is <code>json</code>, the valid values include the abbreviations for all of the statistics listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html"> CloudWatch statistics definitions</a>. For example, this includes <code>tm98, </code> <code>wm90</code>, <code>PR(:300)</code>, and so on.</p>"""

additional_statistics instance-attribute

additional_statistics: NotRequired[MetricStreamStatisticsAdditionalStatistics]

The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

include_metrics instance-attribute

include_metrics: NotRequired[MetricStreamStatisticsIncludeMetrics]

An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.