ServerConfig::Diagnostics

class kanzi::connect::ServerConfig::Diagnostics : public ServerConfig::AttributeProviderBase

Diagnostics configuration.

Public Functions

explicit Diagnostics()

ctor

virtual  ~Diagnostics () KZ_OVERRIDE=default

dtor

Public Static Attributes

static const string AMOUNT_LOG_LINES_TO_KEEP

Amount of log lines to keep.

static constexpr int DEFAULT_LATENCY_MEAS_INTERVAL_ms = 1000 * 2

Latency measurement interval default value.

static constexpr int DEFAULT_LOG_LINES_TO_KEEP = 50

Amount of log lines to keep.

static constexpr int DEFAULT_REMOTE_DIAGNOSTICS_COLLECTION_FACTOR = 2

How often to connection remote diagnostics information.

static const string ENABLE_DETAILED_LOG_KEY

Detailed logging enabled.

static const string ENABLE_DIAGNOSTICS_KEY

Whether or not enable diagnostics overall.

static const string ENABLE_REMOTE_DIAGNOSTICS_COLLECTION

Whether or not to enable remote diagnostics collection.

static const string LATENCY_MEAS_INTERVAL_KEY

How often to measure latency.

static const string REMOTE_DIAGNOSTICS_COLLECTION_FACTOR_KEY

How often to collect remote diagnostics information.