2
0

metric_family.h 337 B

123456789101112131415161718
  1. #pragma once
  2. #include <string>
  3. #include <vector>
  4. #include "metric.h"
  5. #include "prometheus/client_metric.h"
  6. namespace prometheus {
  7. struct MetricFamily {
  8. Metric::Type type;
  9. std::string name;
  10. std::string help;
  11. std::vector<ClientMetric> metric;
  12. };
  13. } // namespace prometheus