Library Prometheus

Package Core

Overview

Classes: AtomicFloat, CallbackMetric, Collector, Counter, CounterSample, Exporter, Gauge, GaugeSample, Histogram, HistogramData, HistogramSample, IntCounter, IntGauge, LabeledMetric, LabeledMetricImpl, Metric, Params, Params, Params, Params, Params, Registry, TextExporter

Classes

class AtomicFloat

This class provides efficient atomic operations on float and double values. more...

class CallbackMetric

A generic Metric implementation where the sample is obtained via a callback function or lambda. more...

class Collector

This is the base class for all metrics, such as Counter, Gauge and Histogram. more...

class Counter

A generic counter supporting labels. more...

class CounterSample

 more...

class Exporter

The Exporter interface is used to format and write metrics to an output stream. more...

class Gauge

A generic gauge supporting labels. more...

class GaugeSample

 more...

class Histogram

A histogram with a configurable number of buckets. more...

struct HistogramData

 more...

class HistogramSample

 more...

class IntCounter

IntCounter is a very low overhead implementation of a Counter, supporting 64-bit unsigned integer values only, using std::atomic Labels are not supported. more...

class IntGauge

IntGauge is a very low overhead implementation of a Gauge, supporting 64-bit integer values only, using std::atomic. more...

class LabeledMetric

This class adds support for labels to the basic Metric class. more...

class LabeledMetricImpl

A helper class for implementing LabeledMetric classes such as Counter, Gauge and Histogram. more...

class Metric

This is the base class for all metrics, such as Counter, Gauge and Histogram. more...

struct Params

 more...

struct Params

 more...

struct Params

 more...

struct Params

 more...

struct Params

 more...

class Registry

The metric registry is a collection of all active Collector instances. more...

class TextExporter

Exporter implementation for the Prometheus text format. more...