EMQX Rule Metrics
emqx_get_rule_metricsCheck rule traffic by retrieving match, pass, and failure counters. If matched=0, the rule's topic filter isn't receiving published messages.
Instructions
Match, pass and failure counters for one rule.
A rule with matched=0 is not seeing traffic — usually its FROM topic filter does not match what devices actually publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | Rule id as listed by emqx_list_rules. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||