Belirtilen bir Prometheus örneği hakkındaki bilgileri getirir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:GetPrometheusInstance |
get |
*Prometheus
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Bölge kimliği. |
cn-hangzhou |
| ClusterId |
string |
Yes |
Prometheus örneği kimliği. |
c77f6f2397ea74672872acf5e31374a27 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
İstek kimliği. |
52C422FD-6B43-524D-B8A1-A4693294318C |
| Message |
string |
Sonuç için döndürülen mesaj. |
message |
| Code |
integer |
Durum kodu. 200 değeri başarıyı gösterir. Diğer değerler hataları gösterir. |
200 |
| Data |
object |
Döndürülen bilgiler. |
|
| ClusterId |
string |
Prometheus örneği kimliği. |
c589a1b8db05c4561aefbb898ca8fb1cf |
| RegionId |
string |
Bölge kimliği. |
cn-beijing |
| UserId |
string |
Kullanıcı kimliği. |
167275301789**** |
| ClusterName |
string |
Küme adı. |
prom1 |
| ClusterType |
string |
|
remote-write |
| VpcId |
string |
Kümeyle ilişkili VPC. Bu parametre yalnızca ECS için Prometheus örnekleri için döndürülür. |
vpc-8vb02uk57qbcktqcvqqqj |
| VSwitchId |
string |
vSwitch kimliği. Bu parametre yalnızca ECS için Prometheus örnekleri için döndürülür. |
vsw-f8z73vcja1tqnw90aav5a |
| SecurityGroupId |
string |
Güvenlik grubu kimliği. Bu parametre yalnızca ECS için Prometheus örnekleri için döndürülür. |
sg-8vbdgmf4nraiqa9bx0jo |
| SubClustersJson |
string |
GlobalView örneği için alt örneklerin JSON dizesi. |
[{"headers":{},"regionId":"cn-hangzhou","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c39a1048921e04fceb039db2fbb73***","sourceName":"arms-luyao-test","dataSource":"","userId":"167275301789***"},{"headers":{},"regionId":"cn-beijing","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c6b6485496d5b400abde22cb47b5****","sourceName":"agent-321-测试","dataSource":"","userId":"1672753017899***"},{"headers":{},"regionId":"cn-zhangjiakou","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c261a4f3200c446659133f1ade789b15e","sourceName":"zaifeng-cardinality-01","dataSource":"","userId":"167275301789***"}] |
| RemoteReadIntraUrl |
string |
Uzaktan okuma için dahili uç nokta. |
http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read |
| RemoteReadInterUrl |
string |
Uzaktan okuma için genel uç nokta. |
http://cn-beijing.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read |
| RemoteWriteIntraUrl |
string |
Uzaktan yazma için dahili uç nokta. |
http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v3/write |
| RemoteWriteInterUrl |
string |
Uzaktan yazma için genel uç nokta. |
https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v3/write |
| PushGatewayIntraUrl |
string |
Push gateway için dahili uç nokta. |
http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v2 |
| PushGatewayInterUrl |
string |
Push gateway için genel uç nokta. |
https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v2 |
| OpenTelemetryInterUrl |
string |
||
| HttpApiIntraUrl |
string |
HTTP API için dahili uç nokta. |
http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx |
| HttpApiInterUrl |
string |
HTTP API için genel uç nokta. |
https://cn-beijing.arms.aliyuncs.com:9443/api/v1/prometheus/xxx |
| AuthToken |
string |
Yetkilendirme belirteci dizesi. |
GciOiJIUzI1NiJ9*** |
| AccessType |
string |
İzin türü. Geçerli değerler: readWrite, readOnly, httpReadOnly. |
readWrite |
| PaymentType |
string |
Faturalandırma yöntemi. Geçerli değerler:
|
PREPAY |
| StorageDuration |
integer |
Gün cinsinden depolama süresi. |
90 |
| ArchiveDuration |
integer |
Depolama süresi dolduktan sonra verilerin otomatik olarak arşivlendiği gün sayısı. Geçerli değerler: 60, 90, 180 ve 365. 0 değeri verilerin arşivlenmediğini gösterir. |
60 |
| GrafanaInstanceId |
string |
Grafana çalışma alanı kimliği. |
grafana-rnggfvhlcdl6m71*** |
| ResourceGroupId |
string |
Örneğin ait olduğu kaynak grubunun kimliği. |
rg-aek2vezare**** |
| ResourceType |
string |
Sabit değer: PROMETHEUS. |
PROMETHEUS |
| EnableAuthToken |
string |
Erişim belirteci kimlik doğrulamasının etkinleştirilip etkinleştirilmediğini gösterir. |
true |
| SupportAuthTypes |
array |
Desteklenen kimlik doğrulama türleri. |
|
|
string |
Desteklenen kimlik doğrulama türleri. Valid values:
|
AuthFree |
|
| EnableAuthFreeRead |
boolean |
Kimlik doğrulamasız okumanın etkinleştirilip etkinleştirilmediğini gösterir. |
|
| AuthFreeReadPolicy |
string |
Kimlik doğrulamasız okuma adresleri için beyaz liste ilkesi. |
0.0.0.0/0 |
| EnableAuthFreeWrite |
boolean |
Kimlik doğrulamasız yazmanın etkinleştirilip etkinleştirilmediğini gösterir. |
|
| AuthFreeWritePolicy |
string |
Kimlik doğrulamasız yazma adresleri için beyaz liste ilkesi. |
0.0.0.0/0 |
| Product |
string |
Prometheus örneğinin ait olduğu ürün (arms veya cms). |
arms |
| DbInstanceStatus |
string |
Arka uç veri depolama durumu. |
RUNNING |
| Version |
string |
Sürüm. |
V1 |
| PaymentTypeUpdateTime |
string |
Örneğin faturalandırma yönteminin en son değiştirildiği zaman. |
2025-02-26T06:05:01Z |
| ExtraInfo |
object |
Genişletilmiş bilgiler. Bu parametre yalnızca konsol istekleri için döndürülür. |
|
|
string |
Genişletilmiş bilgiler. |
extraKey |
|
| Tags |
array<object> |
Örneğe bağlı etiketler. |
|
|
object |
Etiket. |
||
| TagKey |
string |
Etiket anahtarı. |
tag1 |
| TagValue |
string |
Etiket değeri. |
tagValue1 |
| OpenTelemetryIntraUrl |
string |
Examples
Success response
JSON format
{
"RequestId": "52C422FD-6B43-524D-B8A1-A4693294318C",
"Message": "message",
"Code": 200,
"Data": {
"ClusterId": "c589a1b8db05c4561aefbb898ca8fb1cf",
"RegionId": "cn-beijing",
"UserId": "167275301789****",
"ClusterName": "prom1",
"ClusterType": "remote-write",
"VpcId": "vpc-8vb02uk57qbcktqcvqqqj",
"VSwitchId": "vsw-f8z73vcja1tqnw90aav5a",
"SecurityGroupId": "sg-8vbdgmf4nraiqa9bx0jo",
"SubClustersJson": "[{\"headers\":{},\"regionId\":\"cn-hangzhou\",\"sourceType\":\"AlibabaPrometheus\",\"extras\":{},\"clusterId\":\"c39a1048921e04fceb039db2fbb73***\",\"sourceName\":\"arms-luyao-test\",\"dataSource\":\"\",\"userId\":\"167275301789***\"},{\"headers\":{},\"regionId\":\"cn-beijing\",\"sourceType\":\"AlibabaPrometheus\",\"extras\":{},\"clusterId\":\"c6b6485496d5b400abde22cb47b5****\",\"sourceName\":\"agent-321-测试\",\"dataSource\":\"\",\"userId\":\"1672753017899***\"},{\"headers\":{},\"regionId\":\"cn-zhangjiakou\",\"sourceType\":\"AlibabaPrometheus\",\"extras\":{},\"clusterId\":\"c261a4f3200c446659133f1ade789b15e\",\"sourceName\":\"zaifeng-cardinality-01\",\"dataSource\":\"\",\"userId\":\"167275301789***\"}]",
"RemoteReadIntraUrl": "http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read",
"RemoteReadInterUrl": "http://cn-beijing.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read",
"RemoteWriteIntraUrl": "http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v3/write",
"RemoteWriteInterUrl": "https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v3/write",
"PushGatewayIntraUrl": "http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v2",
"PushGatewayInterUrl": "https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v2",
"OpenTelemetryInterUrl": "",
"HttpApiIntraUrl": "http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx",
"HttpApiInterUrl": "https://cn-beijing.arms.aliyuncs.com:9443/api/v1/prometheus/xxx",
"AuthToken": "GciOiJIUzI1NiJ9***",
"AccessType": "readWrite",
"PaymentType": "PREPAY",
"StorageDuration": 90,
"ArchiveDuration": 60,
"GrafanaInstanceId": "grafana-rnggfvhlcdl6m71***",
"ResourceGroupId": "rg-aek2vezare****",
"ResourceType": "PROMETHEUS",
"EnableAuthToken": "true",
"SupportAuthTypes": [
"AuthFree"
],
"EnableAuthFreeRead": false,
"AuthFreeReadPolicy": "0.0.0.0/0",
"EnableAuthFreeWrite": false,
"AuthFreeWritePolicy": "0.0.0.0/0",
"Product": "arms",
"DbInstanceStatus": "RUNNING",
"Version": "V1",
"PaymentTypeUpdateTime": "2025-02-26T06:05:01Z",
"ExtraInfo": {
"key": "extraKey"
},
"Tags": [
{
"TagKey": "tag1",
"TagValue": "tagValue1"
}
],
"OpenTelemetryIntraUrl": ""
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.