17 #ifndef CARTOGRAPHER_METRICS_FAMILY_FACTORY_H_ 18 #define CARTOGRAPHER_METRICS_FAMILY_FACTORY_H_ 30 template <
typename MetricType>
35 virtual MetricType*
Add(
const std::map<std::string, std::string>& labels) = 0;
43 const std::string& description) = 0;
44 virtual Family<Gauge>* NewGaugeFamily(
const std::string& name,
45 const std::string& description) = 0;
47 const std::string& name,
const std::string& description,
54 #endif // CARTOGRAPHER_METRICS_FAMILY_FACTORY_H_
virtual ~Family()=default
std::vector< double > BucketBoundaries
virtual MetricType * Add(const std::map< std::string, std::string > &labels)=0