metrics_levels
Counts debug, info, warn, error, and fatal log entries with percentages, helping you assess severity profiles and spot elevated error rates.
Instructions
Distribution of log levels: count and percentage of debug, info, warn, error, and fatal entries. Use this to understand the severity profile of logs and if error rates are elevated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "metrics_levels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source name from list_sources, e.g. 'app'. Omit to use all sources. | |
| minutes | No | Window size in minutes (default 60). Measured back from the newest entry in the loaded files. |