Queries the information about an exporter that is integrated into a Prometheus instance for Container Service or a Prometheus instance for ECS.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. | cn-hangzhou |
ClusterId | string | Yes | The ID of the Prometheus instance. Only a Prometheus instance for Container Service or a Prometheus instance for ECS is supported. | cc7a37ee31aea4ed1a059eff8034b**** |
IntegrationType | string | Yes | The type of the integration. | kafka, mysql, redis, snmp, emr, nubela, and tidb |
InstanceId | long | Yes | The exporter ID. | 2893 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9BEF2832-9D95-5E3E-9B10-74887CA17B94",
"Data": {
"ClusterId": "c589a1b8db05c4561aefbb898ca8fb1cf",
"InstanceId": 2893,
"ShowDescribe": true,
"NeedUpgrade": true,
"InstanceName": "lpd-skyeye",
"IntegrationType": "tidb",
"ExporterType": "tidb-exporter",
"Version": "1.0.0",
"Target": "127.0.0.1:3422",
"CanDelete": true,
"CanEditor": true,
"Status": "installed",
"Describe": "\"{}\"",
"ShowLog": "true",
"Namespace": "arms-prom",
"ContainerName": "kafka-exporter-1",
"Param": "{\n \"port\": \"5554\",\n \"name\": \"kafka-test12\",\n \"kafka_instance\": \"kafka-test\",\n \"__label_value\": \"kafka-test\",\n \"scrape_interval\": 33,\n \"metrics_path\": \"/metrics\",\n \"__label_key\": \"kafka-test\"\n}"
},
"Code": 200,
"Message": "message"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2023-04-10 | The Error code has changed | see changesets | ||||
| ||||||
2023-03-23 | The Error code has changed | see changesets | ||||
|