|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|


Public Member Functions | |
| kcenon::common::VoidResult | export_spans (const std::vector< trace_span > &spans) override |
| Export a batch of spans. | |
| kcenon::common::VoidResult | flush () override |
| Flush any pending spans. | |
| kcenon::common::VoidResult | shutdown () override |
| Shutdown the exporter. | |
| std::unordered_map< std::string, std::size_t > | get_stats () const override |
| Get exporter statistics. | |
Public Member Functions inherited from kcenon::monitoring::trace_exporter_interface | |
| virtual | ~trace_exporter_interface ()=default |
Public Attributes | |
| std::vector< trace_span > | exported_spans |
| std::atomic< std::size_t > | export_count {0} |
| std::atomic< std::size_t > | flush_count {0} |
| std::atomic< std::size_t > | shutdown_count {0} |
| bool | should_fail = false |
Definition at line 362 of file test_distributed_tracing.cpp.
|
inlineoverridevirtual |
Export a batch of spans.
Implements kcenon::monitoring::trace_exporter_interface.
Definition at line 370 of file test_distributed_tracing.cpp.
References export_count, exported_spans, and should_fail.
|
inlineoverridevirtual |
Flush any pending spans.
Implements kcenon::monitoring::trace_exporter_interface.
Definition at line 382 of file test_distributed_tracing.cpp.
References flush_count.
|
inlineoverridevirtual |
Get exporter statistics.
Implements kcenon::monitoring::trace_exporter_interface.
Definition at line 392 of file test_distributed_tracing.cpp.
References export_count, exported_spans, flush_count, and shutdown_count.
|
inlineoverridevirtual |
Shutdown the exporter.
Implements kcenon::monitoring::trace_exporter_interface.
Definition at line 387 of file test_distributed_tracing.cpp.
References shutdown_count.
| std::atomic<std::size_t> MockTraceExporter::export_count {0} |
Definition at line 365 of file test_distributed_tracing.cpp.
Referenced by export_spans(), and get_stats().
| std::vector<trace_span> MockTraceExporter::exported_spans |
Definition at line 364 of file test_distributed_tracing.cpp.
Referenced by export_spans(), and get_stats().
| std::atomic<std::size_t> MockTraceExporter::flush_count {0} |
Definition at line 366 of file test_distributed_tracing.cpp.
Referenced by flush(), and get_stats().
| bool MockTraceExporter::should_fail = false |
Definition at line 368 of file test_distributed_tracing.cpp.
Referenced by export_spans().
| std::atomic<std::size_t> MockTraceExporter::shutdown_count {0} |
Definition at line 367 of file test_distributed_tracing.cpp.
Referenced by get_stats(), and shutdown().