Queries the public endpoint of the Prometheus service that is used to monitor a cluster in an Alibaba Cloud Service Mesh (ASM) instance.

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
ServiceMeshId String No cb8963379255149cb98c8686f274x****

The ID of the ASM instance.

K8sClusterId String No ce3c25e247da24f3aab9b7edfae83****

The ID of the cluster on the data plane.

K8sClusterRegionId String No cn-hangzhou

The ID of the region where the cluster on the data plane resides.

Response parameters

Parameter Type Example Description
Prometheus String p.com

The public endpoint of the Prometheus service that is used to monitor a cluster in the ASM instance.

RequestId String BD65C0AD-D3C6-48D3-8D93-38D2015C****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeClusterPrometheus
&<Common request parameters>

Sample success responses

XML format

<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>
<Prometheus>p.com</Prometheus>

JSON format

{
    "RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
    "Prometheus": "p.com"
}

Error codes

For a list of error codes, visit the API Error Center.