Skip to content

ECS  >  Structures  >  MetricConfiguration

MetricConfiguration

Structure Class

MetricConfiguration dataclass

Bases: _SerdeShape

The configuration for a specific set of metrics to collect for a service.

Attributes

metric_names instance-attribute
metric_names: list[str]

The list of metric names to configure. The supported metric names are CPUUtilization and MemoryUtilization.

resolution_seconds instance-attribute
resolution_seconds: int

The resolution, in seconds, at which to collect the metrics. The valid values are 20 and 60.