adhocracy_core.stats.subscriber module¶
Send counter runtime statistics to statsd server.
-
incr_event_metric(name: str, rate: float, event: object)[source]¶ Increment statsd metric name.
Parameters: - name (
str) – the metric name send to the stats server - rate (
float) – sample rate (>=0 and <= 1) to reduce the number of values - event (
object) – object with optional registry attribute to retrieve the pyramid registry.
- name (