Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::trace_export_settings Struct Reference

Configuration settings for trace export behavior. More...

#include <distributed_tracer.h>

Collaboration diagram for kcenon::monitoring::trace_export_settings:
Collaboration graph

Public Attributes

std::size_t batch_size = 100
 Number of spans to batch before export.
 
std::chrono::milliseconds flush_interval {5000}
 Interval for automatic flush.
 
std::size_t max_queue_size = 2048
 Maximum spans in queue before dropping.
 
bool export_on_finish = true
 Export when batch is full.
 

Detailed Description

Configuration settings for trace export behavior.

Definition at line 38 of file distributed_tracer.h.

Member Data Documentation

◆ batch_size

std::size_t kcenon::monitoring::trace_export_settings::batch_size = 100

Number of spans to batch before export.

Definition at line 39 of file distributed_tracer.h.

Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

◆ export_on_finish

bool kcenon::monitoring::trace_export_settings::export_on_finish = true

Export when batch is full.

Definition at line 42 of file distributed_tracer.h.

Referenced by TEST_F(), TEST_F(), TEST_F(), and TEST_F().

◆ flush_interval

std::chrono::milliseconds kcenon::monitoring::trace_export_settings::flush_interval {5000}

Interval for automatic flush.

Definition at line 40 of file distributed_tracer.h.

40{5000};

◆ max_queue_size

std::size_t kcenon::monitoring::trace_export_settings::max_queue_size = 2048

Maximum spans in queue before dropping.

Definition at line 41 of file distributed_tracer.h.

Referenced by TEST_F(), TEST_F(), and TEST_F().


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