get_loki_stats
Retrieve ingestion and query performance statistics from a Loki datasource to monitor log processing efficiency and identify performance bottlenecks.
Instructions
Get statistics about ingestion and query performance from a Loki datasource
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": {
"datasourceUid": "<datasourceUid>"
},
"name": "get_loki_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasourceUid | Yes | The Loki datasource UID |