<<

NAME

pf::StatsD - PacketFence StatsD support

DESCRIPTION

pf::StatsD contains the code necessary to create a Global StatsD object.

CONFIGURATION AND ENVIRONMENT

Read the following configuration files: pf.conf.defaults

METHODS

end(STAT, START_TIME, SAMPLE_RATE)

Convenience method to log timing information. This one wraps timing() by taking a start time and automatically calculating the elapsed time since.

timing(STAT, TIME, SAMPLE_RATE)

Log timing information

increment(STATS, SAMPLE_RATE)

Increment one of more stats counters.

decrement(STATS, SAMPLE_RATE)

Decrement one of more stats counters.

update(STATS, DELTA, SAMPLE_RATE)

Update one of more stats counters by arbitrary amounts.

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<