correlate_logs_and_metrics
Correlate log entries with metrics via LogQL and PromQL to enable unified incident analysis and root cause identification.
Instructions
Correlate log entries with metrics for comprehensive incident analysis.
This tool combines Loki log querying with Prometheus metrics to provide unified observability insights and root cause analysis.
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": {
"log_query": "<log_query>",
"metric_query": "<metric_query>"
},
"name": "correlate_logs_and_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_query | Yes | LogQL query for log correlation | |
| time_window | No | Time window for correlation analysis | 1h |
| metric_query | Yes | PromQL query for metric correlation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||