StatsLog.Config

Stats log config class

The field hostname, app_name, app_instance and default_type are values used by the Collectd integration of StatsLog.

Collectd identify resources using an identifier, that has the following form: 'hostname/plugin-pinstance/type-tinstance'. Every resource written by a process MUST have the same 'hostname', 'plugin' and 'pinstance' values. hostname value is not limited or checked in any way. Other identifier shall only include alphanum ([a-z] [A-Z] [0-9]), underscores ('_') and dots ('.'). Instance parts can also include dashes ('-').

Constructors

this
this(istring file_name, istring socket_path, istring hostname, istring app_name, istring app_instance, istring default_type, ulong interval)

Constructor

Members

Variables

app_instance
istring app_instance;

Collectd 'plugin instance' name to used

app_name
istring app_name;

Collectd 'plugin' name to used

default_type
istring default_type;

Default 'type' to use when logging using 'add'

file_name
istring file_name;
Undocumented in source.
hostname
istring hostname;

'hostname' to use when logging using 'add'

interval
ulong interval;

Frequency at which stats are collected

socket_path
istring socket_path;

Path to the collectd socket

Meta