|
prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
|
End-to-end tests for the prometheus-cpp backend: drive prom metrics, then assert on the text the prometheus-cpp registry would scrape. More...
#include <prom/prometheus_cpp/adapter.hpp>#include <prom/registry.hpp>#include <gtest/gtest.h>#include <prometheus/registry.h>#include <prometheus/text_serializer.h>#include <memory>#include <string>
Functions | |
| TEST (PrometheusCpp, BackendName) | |
| TEST (PrometheusCpp, CounterIncrements) | |
| TEST (PrometheusCpp, GaugeSetAndLabels) | |
| TEST (PrometheusCpp, HistogramObserves) | |
| TEST (PrometheusCpp, SummaryObserves) | |
| TEST (PrometheusCpp, StateSetExposesOneSeriesPerState) | |
| TEST (PrometheusCpp, InfoExposesLabelsAtValueOne) | |
End-to-end tests for the prometheus-cpp backend: drive prom metrics, then assert on the text the prometheus-cpp registry would scrape.
| TEST | ( | PrometheusCpp | , |
| BackendName | |||
| ) |
| TEST | ( | PrometheusCpp | , |
| CounterIncrements | |||
| ) |
| TEST | ( | PrometheusCpp | , |
| GaugeSetAndLabels | |||
| ) |
| TEST | ( | PrometheusCpp | , |
| HistogramObserves | |||
| ) |
| TEST | ( | PrometheusCpp | , |
| InfoExposesLabelsAtValueOne | |||
| ) |
| TEST | ( | PrometheusCpp | , |
| StateSetExposesOneSeriesPerState | |||
| ) |
| TEST | ( | PrometheusCpp | , |
| SummaryObserves | |||
| ) |