EMQX Metrics History
emqx_metrics_historyRetrieve time-series metrics over a recent window to detect spikes, connection drops, and correlate incidents with broker load.
Instructions
Time-series metrics over a recent window.
Use this to answer "was there a spike", "when did connections drop", or to correlate an incident with broker load.
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": "emqx_metrics_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latest_seconds | No | Length of the window to return, in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||