update_db_instrumentation
Update the database instrumentation configuration to control how Coroot monitors a specific database, setting the type and parameters for MySQL, PostgreSQL, Redis, MongoDB, or Memcached.
Instructions
Update database instrumentation configuration.
Configures how Coroot instruments and monitors a specific database.
Args: project_id: Project ID app_id: Application ID (format: namespace/kind/name) db_type: Database type (mysql, postgres, redis, mongodb, memcached) config: Instrumentation configuration
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"app_id": "<app_id>",
"db_type": "<db_type>",
"config": "<config>"
},
"name": "update_db_instrumentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| app_id | Yes | ||
| db_type | Yes | ||
| config | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||