Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
Telemetry & Profiler

Real-time latency tracking, atomic metrics, and circular in-memory flight recording. More...

Files

file  FlightRecorder.hpp
 Circular in-memory telemetry buffer with Chrome Tracing JSON export.
 
file  Metrics.hpp
 Zero-heap Prometheus-compatible metric counters, gauges, and histograms.
 
file  profiler.hpp
 Umbrella header for real-time latency telemetry and flight recorder.
 
file  ProfilerPolicies.hpp
 Latency tracking and flight recording policies with runtime toggle.
 

Classes

class  corium::profiler::Counter
 Atomic 64-bit monotonically increasing counter. More...
 
class  corium::profiler::FlightRecorder< Capacity >
 Zero-heap circular flight recorder storing the last N event telemetry records. Thread-safe for multiple producers and concurrent reader/dumping. More...
 
class  corium::profiler::Gauge
 Atomic 64-bit signed gauge metric representing instantaneous level. More...
 
class  corium::profiler::Histogram< NumBuckets >
 Statically bucketed latency distribution histogram. More...
 
class  corium::profiler::LatencyTracker< QueueCapacity >
 Real-time event latency and performance statistics tracker. Zero dynamic memory allocation. Tracks min, max, total queue latency and handler duration. More...
 

Functions

size_t corium::profiler::formatPrometheusCounter (const Counter &c, std::span< char > buf) noexcept
 Format counter in Prometheus exposition text format into a char buffer.
 
size_t corium::profiler::formatPrometheusGauge (const Gauge &g, std::span< char > buf) noexcept
 Format gauge in Prometheus exposition text format into a char buffer.
 

Detailed Description

Real-time latency tracking, atomic metrics, and circular in-memory flight recording.

Key components:

Function Documentation

◆ formatPrometheusCounter()

size_t corium::profiler::formatPrometheusCounter ( const Counter c,
std::span< char >  buf 
)
inlinenoexcept

Format counter in Prometheus exposition text format into a char buffer.

◆ formatPrometheusGauge()

size_t corium::profiler::formatPrometheusGauge ( const Gauge g,
std::span< char >  buf 
)
inlinenoexcept

Format gauge in Prometheus exposition text format into a char buffer.