Glia.StatsPlug (stats_plug v1.0.1) View Source
This Plug emits metrics after every processed HTTP request.
The metric emitted is called "web.request" (configurable) and contains the following tags:
action- Controller and action name, underscored (e.g. "queue_controller.show")http_method- HTTP method in lower casehttp_status- Response status code (200, 404 etc)http_status_class- Response status class (2xx, 4xx etc)
Emitted value is processing time in milliseconds.
Configuration
Initialize the plug like this: plug Glia.StatsPlug, backend: ExStatsD