Mengambil konfigurasi tingkat proses.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /agentinstanceconfigs/{configType} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| configType |
string |
Yes |
Jenis konfigurasi tingkat proses. Valid values:
|
apm_biz_trace |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| attributes |
object |
No |
Pemilik konfigurasi tingkat proses. |
|
|
string |
No |
Process configuration owner |
"workspace": "test-workspace" "service": "test-service" |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| configType |
string |
The type of the process-level configuration. |
apm_biz_trace |
| attributes |
object |
The owner of the configuration for the process. |
|
|
string |
The source of the process configuration. |
"workspace": "test-workspace" "service": "test-service" |
|
| config |
string |
The default configuration. |
{} |
| grayConfigs |
array |
The canary release configurations. |
|
| AgentInstanceConfigGrayConfigs |
A canary release configuration. |
||
| createTime |
integer |
The time when the configuration was created. |
1749543828 |
| lastModifyTime |
integer |
The time when the configuration was last modified. |
1749543828 |
Contoh
Respons sukses
JSONformat
{
"configType": "apm_biz_trace",
"attributes": {
"key": "\"workspace\": \"test-workspace\"\n\"service\": \"test-service\""
},
"config": "{}",
"grayConfigs": [
{
"condition": "",
"content": ""
}
],
"createTime": 1749543828,
"lastModifyTime": 1749543828
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.