Skip to content

ApplicationMetrics

Source code in docs_src/capo_elastic_beanstalk/types/application_metrics.py
class ApplicationMetrics(TypedDict, closed=True):
    duration: NotRequired[
        "capo_elastic_beanstalk.types.nullable_integer.NullableInteger"
    ]
    """<p>The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (<code>request_count</code>) within the most recent time slice of 10 seconds (<code>duration</code>).</p>"""
    request_count: "capo_elastic_beanstalk.types.request_count.RequestCount"
    """<p>Average number of requests handled by the web server per second over the last 10 seconds.</p>"""
    status_codes: NotRequired["capo_elastic_beanstalk.types.status_codes.StatusCodes"]
    """<p>Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.</p>"""
    latency: NotRequired["capo_elastic_beanstalk.types.latency.Latency"]
    """<p>Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one millisecond resolution.</p>"""

duration instance-attribute

duration: NotRequired[NullableInteger]

The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (request_count) within the most recent time slice of 10 seconds (duration).

latency instance-attribute

latency: NotRequired[Latency]

Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one millisecond resolution.

request_count instance-attribute

request_count: RequestCount

Average number of requests handled by the web server per second over the last 10 seconds.

status_codes instance-attribute

status_codes: NotRequired[StatusCodes]

Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.