Prometheus Client Library for Modern C++
Loading...
Searching...
No Matches
metrics_collector.h
1#pragma once
2
3#include <memory>
4#include <vector>
5
6#include "prometheus/metric_family.h"
7
8namespace prometheus {
9class Collectable;
10namespace detail {
11std::vector<prometheus::MetricFamily> CollectMetrics(
12 const std::vector<std::weak_ptr<prometheus::Collectable>>& collectables);
13} // namespace detail
14} // namespace prometheus