Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
tracing_options Class Reference

#include <couchbase/tracing_options.hxx>

Classes

struct  built
 

Public Member Functions

auto enable (bool enable) -> tracing_options &
 
auto orphaned_emit_interval (std::chrono::milliseconds interval) -> tracing_options &
 
auto orphaned_sample_size (std::size_t number_or_samples) -> tracing_options &
 
auto threshold_emit_interval (std::chrono::milliseconds interval) -> tracing_options &
 
auto threshold_sample_size (std::size_t number_or_samples) -> tracing_options &
 
auto key_value_threshold (std::chrono::milliseconds duration) -> tracing_options &
 
auto query_threshold (std::chrono::milliseconds duration) -> tracing_options &
 
auto view_threshold (std::chrono::milliseconds duration) -> tracing_options &
 
auto search_threshold (std::chrono::milliseconds duration) -> tracing_options &
 
auto analytics_threshold (std::chrono::milliseconds duration) -> tracing_options &
 
auto management_threshold (std::chrono::milliseconds duration) -> tracing_options &
 
auto eventing_threshold (std::chrono::milliseconds duration) -> tracing_options &
 
auto tracer (std::shared_ptr< tracing::request_tracer > custom_tracer) -> tracing_options &
 
auto build () const -> built
 

Static Public Attributes

static constexpr std::size_t default_orphaned_sample_size { 64 }
 
static constexpr std::chrono::milliseconds default_orphaned_emit_interval
 
static constexpr std::size_t default_threshold_sample_size { 64 }
 
static constexpr std::chrono::milliseconds default_threshold_emit_interval
 
static constexpr std::chrono::milliseconds default_key_value_threshold { 500 }
 
static constexpr std::chrono::milliseconds default_query_threshold { std::chrono::seconds{ 1 } }
 
static constexpr std::chrono::milliseconds default_view_threshold { std::chrono::seconds{ 1 } }
 
static constexpr std::chrono::milliseconds default_search_threshold { std::chrono::seconds{ 1 } }
 
static constexpr std::chrono::milliseconds default_analytics_threshold
 
static constexpr std::chrono::milliseconds default_management_threshold
 
static constexpr std::chrono::milliseconds default_eventing_threshold
 

Member Function Documentation

◆ analytics_threshold()

auto analytics_threshold ( std::chrono::milliseconds duration) -> tracing_options&
inline

◆ build()

auto build ( ) const -> built
inlinenodiscard

◆ enable()

auto enable ( bool enable) -> tracing_options&
inline

◆ eventing_threshold()

auto eventing_threshold ( std::chrono::milliseconds duration) -> tracing_options&
inline

◆ key_value_threshold()

auto key_value_threshold ( std::chrono::milliseconds duration) -> tracing_options&
inline

◆ management_threshold()

auto management_threshold ( std::chrono::milliseconds duration) -> tracing_options&
inline

◆ orphaned_emit_interval()

auto orphaned_emit_interval ( std::chrono::milliseconds interval) -> tracing_options&
inline

◆ orphaned_sample_size()

auto orphaned_sample_size ( std::size_t number_or_samples) -> tracing_options&
inline

◆ query_threshold()

auto query_threshold ( std::chrono::milliseconds duration) -> tracing_options&
inline

◆ search_threshold()

auto search_threshold ( std::chrono::milliseconds duration) -> tracing_options&
inline

◆ threshold_emit_interval()

auto threshold_emit_interval ( std::chrono::milliseconds interval) -> tracing_options&
inline

◆ threshold_sample_size()

auto threshold_sample_size ( std::size_t number_or_samples) -> tracing_options&
inline

◆ tracer()

auto tracer ( std::shared_ptr< tracing::request_tracer > custom_tracer) -> tracing_options&
inline

◆ view_threshold()

auto view_threshold ( std::chrono::milliseconds duration) -> tracing_options&
inline

Member Data Documentation

◆ default_analytics_threshold

std::chrono::milliseconds default_analytics_threshold
staticconstexpr
Initial value:
{ std::chrono::seconds{
1 } }

◆ default_eventing_threshold

std::chrono::milliseconds default_eventing_threshold
staticconstexpr
Initial value:
{ std::chrono::seconds{
1 } }

◆ default_key_value_threshold

std::chrono::milliseconds default_key_value_threshold { 500 }
staticconstexpr

◆ default_management_threshold

std::chrono::milliseconds default_management_threshold
staticconstexpr
Initial value:
{ std::chrono::seconds{
1 } }

◆ default_orphaned_emit_interval

std::chrono::milliseconds default_orphaned_emit_interval
staticconstexpr
Initial value:
{ std::chrono::seconds{
10 } }

◆ default_orphaned_sample_size

std::size_t default_orphaned_sample_size { 64 }
staticconstexpr

◆ default_query_threshold

std::chrono::milliseconds default_query_threshold { std::chrono::seconds{ 1 } }
staticconstexpr

◆ default_search_threshold

std::chrono::milliseconds default_search_threshold { std::chrono::seconds{ 1 } }
staticconstexpr

◆ default_threshold_emit_interval

std::chrono::milliseconds default_threshold_emit_interval
staticconstexpr
Initial value:
{ std::chrono::seconds{
10 } }

◆ default_threshold_sample_size

std::size_t default_threshold_sample_size { 64 }
staticconstexpr

◆ default_view_threshold

std::chrono::milliseconds default_view_threshold { std::chrono::seconds{ 1 } }
staticconstexpr

The documentation for this class was generated from the following file: