ECSServiceUtilizationMetric

Describes the utilization metric of an Amazon ECS service.

To determine the performance difference between your current Amazon ECS service and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.

Cost OptimizationFinOpsMachine LearningResource Recommendations

Properties

Name Type Description
name object
statistic object
value object
View JSON Schema on GitHub

JSON Schema

compute-optimizer-ecs-service-utilization-metric-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-compute-optimizer/refs/heads/main/json-schema/compute-optimizer-ecs-service-utilization-metric-schema.json",
  "title": "ECSServiceUtilizationMetric",
  "description": "<p> Describes the utilization metric of an Amazon ECS service. </p> <p>To determine the performance difference between your current Amazon ECS service and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.</p>",
  "type": "object",
  "properties": {
    "name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ECSServiceMetricName"
        },
        {
          "description": "<p> The name of the utilization metric. </p> <p>The following utilization metrics are available:</p> <ul> <li> <p> <code>Cpu</code> \u2014 The amount of CPU capacity that's used in the service.</p> </li> <li> <p> <code>Memory</code> \u2014 The amount of memory that's used in the service.</p> </li> </ul>"
        }
      ]
    },
    "statistic": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ECSServiceMetricStatistic"
        },
        {
          "description": "<p>The statistic of the utilization metric.</p> <p>The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the <code>Maximum</code> statistic, which is the highest value observed during the specified period.</p> <p>The Compute Optimizer console displays graphs for some utilization metrics using the <code>Average</code> statistic, which is the value of <code>Sum</code> / <code>SampleCount</code> during the specified period. For more information, see <a href=\"https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html\">Viewing resource recommendations</a> in the <i>Compute Optimizer User Guide</i>. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html\">Amazon CloudWatch User Guide</a>.</p>"
        }
      ]
    },
    "value": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MetricValue"
        },
        {
          "description": " The value of the utilization metric. "
        }
      ]
    }
  }
}