update_db_instrumentation
Configure and update database instrumentation settings for Coroot monitoring. Specify project, application, database type, and configuration to optimize performance tracking for MySQL, Postgres, 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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
app_id | Yes | ||
config | Yes | ||
db_type | Yes | ||
project_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"app_id": {
"title": "App Id",
"type": "string"
},
"config": {
"additionalProperties": true,
"title": "Config",
"type": "object"
},
"db_type": {
"title": "Db Type",
"type": "string"
},
"project_id": {
"title": "Project Id",
"type": "string"
}
},
"required": [
"project_id",
"app_id",
"db_type",
"config"
],
"type": "object"
}