|
|
@@ -273,17 +273,17 @@ initialize_collector_def(PStatClient *client, PStatCollectorDef *def) {
|
|
|
}
|
|
|
|
|
|
ConfigVariableBool pstats_active
|
|
|
- ("pstats-active-" + config_name, true, ConfigVariable::F_dynamic);
|
|
|
+ ("pstats-active-" + config_name, true, "", ConfigVariable::F_dynamic);
|
|
|
ConfigVariableInt pstats_sort
|
|
|
- ("pstats-sort-" + config_name, def->_sort, ConfigVariable::F_dynamic);
|
|
|
+ ("pstats-sort-" + config_name, def->_sort, "", ConfigVariable::F_dynamic);
|
|
|
ConfigVariableDouble pstats_scale
|
|
|
- ("pstats-scale-" + config_name, def->_suggested_scale, ConfigVariable::F_dynamic);
|
|
|
+ ("pstats-scale-" + config_name, def->_suggested_scale, "", ConfigVariable::F_dynamic);
|
|
|
ConfigVariableString pstats_units
|
|
|
- ("pstats-units-" + config_name, def->_level_units, ConfigVariable::F_dynamic);
|
|
|
+ ("pstats-units-" + config_name, def->_level_units, "", ConfigVariable::F_dynamic);
|
|
|
ConfigVariableDouble pstats_factor
|
|
|
- ("pstats-factor-" + config_name, 1.0, ConfigVariable::F_dynamic);
|
|
|
+ ("pstats-factor-" + config_name, 1.0, "", ConfigVariable::F_dynamic);
|
|
|
ConfigVariableDouble pstats_color
|
|
|
- ("pstats-color-" + config_name, 0.0, ConfigVariable::F_dynamic);
|
|
|
+ ("pstats-color-" + config_name, 0.0, "", ConfigVariable::F_dynamic);
|
|
|
|
|
|
if (pstats_active.has_value()) {
|
|
|
def->_is_active = pstats_active;
|