Integrates the dashboard of Prometheus Monitoring.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes AddGrafana

The operation that you want to perform. Set the value to AddGrafana.

ClusterId String Yes cc7a37ee31aea4ed1a059eff8034b****

The ID of a Container Service for Kubernetes cluster.

Integration String Yes asm

The software abbreviation that is supported by ARMS. Valid values (case-insensitive): ASM, IoT, and Flink.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
Data String success

Indicates whether the integration was successful.

RequestId String 1A9C645C-C83F-4C9D-8CCB-29BEC9E1****

The ID of the request.

Examples

Sample request

http(s)://[Endpoint]/? Action=AddGrafana
&ClusterId=cc7a37ee31aea4ed1a059eff8034b****
&Integration=asm
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<AddGrafanaResponse>
	  <RequestId>1A9C645C-C83F-4C9D-8CCB-29BEC9E1****</RequestId>
	  <Data>success</Data>
</AddGrafanaResponse>

JSON format

{
    "RequestId": "1A9C645C-C83F-4C9D-8CCB-29BEC9E1****",
    "Data": "success"
}