#include "prometheus/serializer.h"

#include <sstream>

namespace prometheus {

std::string Serializer::Serialize(const std::vector<MetricFamily> &metrics) const {
	std::ostringstream ss;
	Serialize(ss, metrics);
	return ss.str();
}
}  // namespace prometheus
