--- title: CloudWatch description: Adapter for cloudwatch metrics. location: https://istio.io/docs/reference/config/policy-and-telemetry/adapters/cloudwatch.html layout: protoc-gen-docs generator: protoc-gen-docs aliases: - /docs/reference/config/adapters/cloudwatch.html number_of_entries: 3 ---

The CloudWatch adapter enables Istio to deliver metrics to Amazon CloudWatch.

To push metrics to CloudWatch using this adapter you must provide AWS credentials the AWS SDK. (see AWS docs).

The handler configuration must contain the same metrics as the instance configuration. The metrics specified in both instance and handler configurations will be sent to CloudWatch.

This adapter supports the metric template.

## Params

Configuration for the `cloudwatch` adapter.

Field | Type | Description
--- | --- | ---
`namespace` | `string` | CloudWatch metric namespace.
`metricInfo` | `map<string, Params.MetricDatum>` | A map of Istio metric name to CloudWatch metric info.

## Params.MetricDatum

CloudWatch metric format.

Field | Type | Description
--- | --- | ---
`unit` | `Params.MetricDatum.Unit` | The unit of the metric. Must be valid cloudwatch unit value. CloudWatch docs

## Params.MetricDatum.Unit

Name | Description
--- | ---
`None` |
`Seconds` |
`Microseconds` |
`Milliseconds` |
`Count` |
`Bytes` |
`Kilobytes` |
`Megabytes` |
`Gigabytes` |
`Terabytes` |
`Bits` |
`Kilobits` |
`Megabits` |
`Gigabits` |
`Terabits` |
`Percent` |
`Bytes_Second` |
`Kilobytes_Second` |
`Megabytes_Second` |
`Gigabytes_Second` |
`Terabytes_Second` |
`Bits_Second` |
`Kilobits_Second` |
`Megabits_Second` |
`Gigabits_Second` |
`Terabits_Second` |
`Count_Second` |