--- WARNING: THIS IS AN AUTO-GENERATED FILE, DO NOT EDIT. PLEASE MODIFY THE ORIGINAL SOURCE IN THE 'https://github.com/osswangxining/alicloud-istio-grpcadapter' REPO source_repo: https://github.com/osswangxining/alicloud-istio-grpcadapter title: CloudMonitor description: Adapter for cloudmonitor metrics. location: https://istio.io/docs/reference/config/policy-and-telemetry/adapters/cloudmonitor.html layout: partner-component generator: protoc-gen-docs aliases: - /docs/reference/config/adapters/cloudmonitor.html number_of_entries: 2 ---

The CloudMonitor adapter enables Istio to deliver metrics to AliCloud CloudMonitor.

To push metrics to CloudMonitor using this adapter you must provide AliCloud credentials the AliCloud SDK. (see AliCloud official SDK).

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 CloudMonitor.

This adapter supports the metric template.

## Params

Configuration for the `cloudmonitor` adapter.

Field | Type | Description
--- | --- | ---
`regiondId` | `string` | The Id of one region where the AliCloud Cloud Monitor service instance is located
`accessKeyId` | `string` | The access key Id of AliCloud access account
`accessKeySecret` | `string` | The access key secret of AliCloud access account
`groupId` | `int64` | The Id of application group within AliCloud Cloud Monitor service instance
`metricInfo` | `map<string, Params.MetricList>` | A map of Istio metric name to CloudMonitor metric info.

## Params.MetricList

CloudMonitor metric format. CloudMonitor Custom Metric Request