#include <couchbase/application_telemetry_options.hxx>
◆ backoff_interval()
How long should the SDK wait between connection attempts to the collector to avoid performance and stability issues on the collector side.
- Parameters
-
interval | backoff interval in milliseconds |
- Since
- 1.1.0
◆ build()
auto build |
( |
| ) |
const -> built
|
|
inlinenodiscard |
◆ enable()
Whether to enable application telemetry.
- Parameters
-
enable | true if the application service telemetry have to be enabled. |
- Since
- 1.1.0
◆ override_endpoint()
Override the endpoint for the application service telementry.
The endpoint must use WebSocket protocol and the string should start from ws://
and might have URL path.
- Parameters
-
endpoint | connection string for the telementry collector. |
- Since
- 1.1.0
◆ ping_interval()
How often the SDK should ping application service telemetry collector.
- Parameters
-
interval | ping interval in milliseconds. |
- Since
- 1.1.0
◆ ping_timeout()
How long the SDK should wait for ping response (pong frame) back from application service telemetry collector.
- Parameters
-
timeout | ping timeout in milliseconds. |
- Since
- 1.1.0
◆ default_backoff_interval
std::chrono::milliseconds default_backoff_interval { std::chrono::hours{ 1 } } |
|
staticconstexpr |
◆ default_ping_interval
std::chrono::milliseconds default_ping_interval { std::chrono::seconds{ 30 } } |
|
staticconstexpr |
◆ default_ping_timeout
std::chrono::milliseconds default_ping_timeout { std::chrono::seconds{ 2 } } |
|
staticconstexpr |
The documentation for this class was generated from the following file: