get_metrics
Retrieves performance metrics in Prometheus format, including request counts, latencies, cache hit/miss rates, and connection pool statistics for monitoring Secil Canary Historian server health.
Instructions
Get performance metrics in Prometheus format.
Story 2.1: Returns collected metrics including request counts, latencies, cache hit/miss rates, and connection pool statistics.
Returns: str: Metrics formatted in Prometheus text exposition format
Example:
# HELP canary_requests_total Total number of requests by tool # TYPE canary_requests_total counter canary_requests_total{tool_name="search_tags",status_code="200"} 42 ...
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": "get_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |