RequestRocketRequestRocketDocs
Control

Meters

Count requests or a value from the response.

A meter counts matching calls. Attach it to a proxy or a direct MCP server. Path, header, query, body, and token matches are on Predicates.

TypeWhat it addsExample
request_count1 for each applicable requestCount calls to /v1/search.
response_valueA number extracted from a response body or headerAdd usage.total_tokens from each JSON response.

Limits turn selected UTC calendar windows into enforcement. A meter without limits tracks only the values needed by configured thresholds.

Add a meter

Open Proxies, open a saved proxy, and open the Control tab. Expand Usage Meters / Limits and add a meter. Set the type and Active. Mode all counts every call. Mode conditional uses a predicate.

For request volume, choose request_count. For response usage, choose response_value, set the extraction location to Body, and use usage.total_tokens as the path.

Saved proxy, Control tab, Usage Meters / Limits section expanded, Add Meter form open with meter type visible

Result

After calls run, reopen the meter or use the Meter limits usage view to see the current configured windows. A response_value extraction that cannot produce a number fails open and is reported as a meter warning.

Troubleshooting

  • response_value requires an extraction with body plus a dot path, or header plus a header name.
  • A proxy-backed MCP server cannot own a meter; configure it on the backing proxy.
  • A conditional meter with include counts matches. With exclude, it counts non-matches.

Next

On this page