|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Zero-heap Prometheus-compatible metric counters, gauges, and histograms. More...
#include <array>#include <atomic>#include <cstddef>#include <cstdint>#include <cstdio>#include <cstring>#include <span>#include <string_view>
Include dependency graph for Metrics.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | corium::profiler::Counter |
| Atomic 64-bit monotonically increasing counter. 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... | |
Namespaces | |
| namespace | corium |
| namespace | corium::profiler |
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. | |
Zero-heap Prometheus-compatible metric counters, gauges, and histograms.