Tüm Ürünler
Search
Belge Merkezi

:GetServiceObservability

Son Güncelleme:Oct 01, 2026

Bir uygulama gözlemlenebilirliği örneğini getirir.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cms:GetServiceObservability

get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service-observability/{#type}

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:

  • rum :

    Gerçek Kullanıcı İzleme (RUM)

  • apm :

    Uygulama Performansı İzleme (APM)

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:

  • rum :

    RUM.

  • apm :

    APM.

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 :

    Normal.

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.