Retrieves an application observability instance.
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 |
The Cloud Monitor 2.0 workspace. |
my-test-ws |
|
type |
string |
Yes |
The application observability type.
Valid values:
|
apm |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
|
requestId |
string |
The request ID. |
4852B9B5-345C-5CBC-A15F-786D83ECCBBA |
|
type |
string |
The type of application observability.
Valid values:
|
apm |
|
regionId |
string |
The region. |
cn-hangzhou |
|
workspace |
string |
The workspace name. |
default-cms-1654218***343050-cn-hangzhou |
|
status |
string |
The resource initialization status.
Valid values:
|
Running |
| entryPointInfo |
object |
The endpoint and authentication information. |
|
|
authToken |
string |
The authentication token for reporting data. |
gaddp****@de20f2***1ce*** |
|
publicDomain |
string |
The public endpoint. |
project-xtrace-xxxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com |
|
privateDomain |
string |
The internal endpoint. |
project-xtrace-xxxx-cn-hangzhou.cn-hangzhou-intranet.log.aliyuncs.com |
|
project |
string |
The Simple Log Service project. |
proj-xtrace-xxxxx |
|
feeType |
string |
The billing type. |
arms=serverless;xtrace=serverless |
| settings |
object |
The system configuration. |
|
|
string |
The configuration key-value pairs. |
{"trace_aggregate":"enable"} |
|
| quotas |
object |
The quota configuration. |
|
|
string |
The quota configuration key-value pairs. |
{"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.