Module z_stats

Server for matching the request path to correct site and dispatch rule.

Copyright 2013 Maas-Maarten Zeeman Date: 2013-02-17

Authors: Maas-Maarten Zeeman (mmzeema@xs4all.nl).

Description

Server for matching the request path to correct site and dispatch rule.

Function Index

init/0Initialize the statistics collection machinery.
init_site/1
log_access/1Collect log data from webzmachine.
new/2Create a new counters and histograms.
timed_update/3Execute the function, and store the measured execution time.
timed_update/4
timed_update/5
update/2Update a counter, histogram, whatever.

Function Details

init/0

init() -> any()

Initialize the statistics collection machinery.

init_site/1

init_site(Host) -> any()

log_access/1

log_access(Wm_log_data) -> any()

Collect log data from webzmachine.

new/2

new(Stat, From) -> any()

Create a new counters and histograms.

timed_update/3

timed_update(Name, Fun, StatsFrom) -> any()

Execute the function, and store the measured execution time.

timed_update/4

timed_update(Name, Fun, Args, StatsFrom) -> any()

timed_update/5

timed_update(Name, Mod, Fun, Args, StatsFrom) -> any()

update/2

update(What, StatsFrom) -> any()

Update a counter, histogram, whatever.


Generated by EDoc, Jul 22 2014, 01:04:26.