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(string file_name, string socket_path, string hostname, string app_name, string app_instance, string default_type, ulong interval)

Constructor

Members

Variables

app_instance
string app_instance;

Collectd 'plugin instance' name to used

app_name
string app_name;

Collectd 'plugin' name to used

default_type
string default_type;

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

file_name
string file_name;
Undocumented in source.
hostname
string hostname;

'hostname' to use when logging using 'add'

interval
ulong interval;

Frequency at which stats are collected

socket_path
string socket_path;

Path to the collectd socket

Meta