All Products
Search
Document Center

Simple Log Service:CreateAgentInstanceConfig

Last Updated:Jun 11, 2026

Membuat konfigurasi tingkat proses.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

POST /agentinstanceconfigs HTTP/1.1

Parameter permintaan

Parameter

Type

Required

Description

Example

body

object

No

Struktur permintaan.

configType

string

Yes

The type of the process-level configuration.

Valid values:

  • 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_trace

attributes

object

No

The process that the configuration applies to.

string

No

The process to which the configuration applies.

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

config

string

Yes

The default configurations.

{}

grayConfigs

array

No

The canary release environment.

AgentInstanceConfigGrayConfigs

No

The canary release environment.

Elemen respons

Element

Type

Description

Example

Tidak ada yang didefinisikan.

Contoh

Respons sukses

JSONformat

{}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.