55 ping_interval_ = interval;
85 endpoint_ = std::move(endpoint);
99 backoff_interval_ = interval;
113 enabled_, ping_interval_, ping_timeout_, backoff_interval_, endpoint_,
118 bool enabled_{
true };
122 std::string endpoint_{};
Definition application_telemetry_options.hxx:27
auto ping_timeout(std::chrono::milliseconds timeout) -> application_telemetry_options &
How long the SDK should wait for ping response (pong frame) back from application service telemetry c...
Definition application_telemetry_options.hxx:67
auto build() const -> built
Definition application_telemetry_options.hxx:110
static constexpr std::chrono::milliseconds default_ping_interval
Definition application_telemetry_options.hxx:29
auto backoff_interval(std::chrono::milliseconds interval) -> application_telemetry_options &
How long should the SDK wait between connection attempts to the collector to avoid performance and st...
Definition application_telemetry_options.hxx:97
auto override_endpoint(std::string endpoint) -> application_telemetry_options &
Override the endpoint for the application service telementry.
Definition application_telemetry_options.hxx:83
static constexpr std::chrono::milliseconds default_ping_timeout
Definition application_telemetry_options.hxx:30
static constexpr std::chrono::milliseconds default_backoff_interval
Definition application_telemetry_options.hxx:31
auto ping_interval(std::chrono::milliseconds interval) -> application_telemetry_options &
How often the SDK should ping application service telemetry collector.
Definition application_telemetry_options.hxx:53
auto enable(bool enable) -> application_telemetry_options &
Whether to enable application telemetry.
Definition application_telemetry_options.hxx:40
Represents a single item from the result of scan()
Definition allow_querying_search_index_options.hxx:28
@ timeout
Definition analytics_status.hxx:34
Definition application_telemetry_options.hxx:102
std::chrono::milliseconds backoff_interval
Definition application_telemetry_options.hxx:106
std::string endpoint
Definition application_telemetry_options.hxx:107
std::chrono::milliseconds ping_interval
Definition application_telemetry_options.hxx:104
bool enabled
Definition application_telemetry_options.hxx:103
std::chrono::milliseconds ping_timeout
Definition application_telemetry_options.hxx:105