Bir uygulama gözlemlenebilirliği örneğini getirir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:GetServiceObservability |
get |
*Workspace
|
None | None |
Request syntax
GET /workspace/{workspace}/service-observability/{type} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
Cloud Monitor 2.0 çalışma alanı. |
my-test-ws |
| type |
string |
Yes |
Uygulama gözlemlenebilirliği türü. Valid values:
|
apm |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| requestId |
string |
İstek kimliği. |
4852B9B5-345C-5CBC-A15F-786D83ECCBBA |
| type |
string |
Uygulama gözlemlenebilirliği türü. Valid values:
|
apm |
| regionId |
string |
Bölge. |
cn-hangzhou |
| workspace |
string |
Çalışma alanı adı. |
default-cms-1654218***343050-cn-hangzhou |
| status |
string |
Kaynak başlatma durumu. Valid values:
|
Running |
| entryPointInfo |
object |
Uç nokta ve kimlik doğrulama bilgileri. |
|
| authToken |
string |
Veri bildirmek için kullanılan kimlik doğrulama belirteci. |
gaddp****@de20f2***1ce*** |
| publicDomain |
string |
Genel uç nokta. |
project-xtrace-xxxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com |
| privateDomain |
string |
Dahili uç nokta. |
project-xtrace-xxxx-cn-hangzhou.cn-hangzhou-intranet.log.aliyuncs.com |
| project |
string |
Simple Log Service projesi. |
proj-xtrace-xxxxx |
| feeType |
string |
Faturalandırma türü. |
arms=serverless;xtrace=serverless |
| settings |
object |
Sistem yapılandırması. |
|
|
string |
Yapılandırma anahtar-değer çiftleri. |
{"trace_aggregate":"enable"} |
|
| quotas |
object |
Kota yapılandırması. |
|
|
string |
Kota yapılandırması anahtar-değer çiftleri. |
{"arms_agent_hour": "48"} |
Examples
Success response
JSON format
{
"requestId": "4852B9B5-345C-5CBC-A15F-786D83ECCBBA",
"type": "apm",
"regionId": "cn-hangzhou",
"workspace": "default-cms-1654218***343050-cn-hangzhou",
"status": "Running",
"entryPointInfo": {
"authToken": "gaddp****@de20f2***1ce***",
"publicDomain": "project-xtrace-xxxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com",
"privateDomain": "project-xtrace-xxxx-cn-hangzhou.cn-hangzhou-intranet.log.aliyuncs.com",
"project": "proj-xtrace-xxxxx"
},
"feeType": "arms=serverless;xtrace=serverless",
"settings": {
"key": "{\"trace_aggregate\":\"enable\"}"
},
"quotas": {
"key": "{\"arms_agent_hour\": \"48\"}"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.