Skip to content

ContainerMetricsConfig

Source code in docs_src/capo_sagemaker/types/container_metrics_config.py
class ContainerMetricsConfig(TypedDict, closed=True):
    metrics_endpoints: NotRequired[
        "capo_sagemaker.types.metrics_endpoint_list.MetricsEndpointList"
    ]
    """<p>A list of metrics endpoints to scrape from the container. Each endpoint specifies the path where the container exposes Prometheus-formatted metrics and the frequency at which to publish them. You can specify a maximum of 1 endpoint.</p>"""

metrics_endpoints instance-attribute

metrics_endpoints: NotRequired[MetricsEndpointList]

A list of metrics endpoints to scrape from the container. Each endpoint specifies the path where the container exposes Prometheus-formatted metrics and the frequency at which to publish them. You can specify a maximum of 1 endpoint.