全部產品
Search
文件中心

Simple Log Service:GetAgentInstanceConfig - 擷取進程級配置

更新時間:Jan 27, 2026

擷取進程級配置

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

GET /agentinstanceconfigs/{configType} HTTP/1.1

路徑參數

名稱

類型

必填

描述

樣本值

configType

string

進程級配置類型

枚舉值:

  • apm_biz_trace :

    apm_biz_trace

  • apm_self_protect :

    apm_self_protect

  • apm_convergence :

    apm_convergence

  • apm_custom_extract :

    apm_custom_extract

  • apm_pilot :

    apm_pilot

  • apm_trace :

    apm_trace

  • rum_app_config :

    rum_app_config

  • security_rasp :

    security_rasp

  • rum_web_config :

    rum_web_config

  • apm_biz_trace_global :

    apm_biz_trace_global

  • apm_intacheap :

    apm_intacheap

  • apm_user_method :

    apm_user_method

  • apm_global :

    apm_global

  • apm_forward_process :

    apm_forward_process

apm_biz_trace

請求參數

名稱

類型

必填

描述

樣本值

attributes

object

進程級配置歸屬

string

進程級配置歸屬

"workspace": "test-workspace" "service": "test-service"

返回參數

名稱

類型

描述

樣本值

object

configType

string

進程級配置類型

apm_biz_trace

attributes

object

進程級配置歸屬

string

進程級配置歸屬

"workspace": "test-workspace" "service": "test-service"

config

string

預設配置

{}

grayConfigs

array

灰階配置

AgentInstanceConfigGrayConfigs

灰階配置

createTime

integer

建立時間

1749543828

lastModifyTime

integer

修改時間

1749543828

樣本

正常返回樣本

JSON格式

{
  "configType": "apm_biz_trace",
  "attributes": {
    "key": "\"workspace\": \"test-workspace\"\n\"service\": \"test-service\""
  },
  "config": "{}",
  "grayConfigs": [
    {
      "condition": "",
      "content": ""
    }
  ],
  "createTime": 1749543828,
  "lastModifyTime": 1749543828
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情