ServerConfig::DiagnosticsΒΆ

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

Diagnostics configuration.

Public Functions

Diagnostics()

ctor

~Diagnostics () KZ_OVERRIDE=default

dtor

Public Static Attributes

const string AMOUNT_LOG_LINES_TO_KEEP

Amount of log lines to keep.

constexpr int DEFAULT_LATENCY_MEAS_INTERVAL_ms = 1000 * 2

Latency measurement interval default value.

constexpr int DEFAULT_LOG_LINES_TO_KEEP = 50

Amount of log lines to keep.

constexpr int DEFAULT_REMOTE_DIAGNOSTICS_COLLECTION_FACTOR = 2

How often to connection remote diagnostics information.

const string ENABLE_DETAILED_LOG_KEY

Detailed logging enabled.

const string ENABLE_DIAGNOSTICS_KEY

Whether or not enable diagnostics overall.

const string ENABLE_REMOTE_DIAGNOSTICS_COLLECTION

Whether or not to enable remote diagnostics collection.

const string LATENCY_MEAS_INTERVAL_KEY

How often to measure latency.

const string REMOTE_DIAGNOSTICS_COLLECTION_FACTOR_KEY

How often to collect remote diagnostics information.