5#include "prometheus/detail/core_export.h"
22 virtual std::vector<MetricFamily>
Collect()
const = 0;
Interface implemented by anything that can be used by Prometheus to collect metrics.
Definition collectable.h:17
virtual std::vector< MetricFamily > Collect() const =0
Returns a list of metrics and their samples.