ocean.util.app.ext.StatsExt

Application extension to parse configuration for the stats output.

This extension writes to a file the list of value and identifier in an easily parseable way. It also has the option to send metrics directly to a Collectd unix socket.

Should one want to use the Collectd socket, several additional configuration values need to be provided: - path to the unix socket (which enables the option); - application name: If not provided, default to the name passed to the application framework; - application instance: Optional, no default value - hostname: If not provided, the value of gethostname (2) will be used; - default type: A convention on the type of the 'application stats', which will be used when calling StatsLog.add. Defaults to application_name ~ "_stats".

Members

Classes

StatsExt
class StatsExt

Application extension to parse configuration files for the stats output.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).