Commit c8f2f57f authored by Luciano Orsini's avatar Luciano Orsini
Browse files

references #110: use of master branch a0d7c52ac4b48f4f2bb32f5c6f452205594afe1a

parent f0e3e83c
......@@ -43,16 +43,9 @@ Sources=\
text_serializer.cc \
detail/utils.cc \
detail/ckms_quantiles.cc \
detail/summary_builder.cc \
detail/counter_builder.cc \
detail/gauge_builder.cc \
detail/histogram_builder.cc \
detail/summary_builder.cc \
detail/summary_builder.cc
detail/time_window_quantiles.cc \
registry.cc \
summary.cc \
builder.cc \
detail/time_window_quantiles.cc
#
# Include directories
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
#pragma once
#include <map>
#include <string>
namespace prometheus {
template <typename T>
class Family;
class Counter;
class Registry;
namespace detail {
class CounterBuilder {
public:
CounterBuilder& Labels(const std::map<std::string, std::string>& labels);
CounterBuilder& Name(const std::string&);
CounterBuilder& Help(const std::string&);
Family<Counter>& Register(Registry&);
private:
std::map<std::string, std::string> labels_;
std::string name_;
std::string help_;
};
} // namespace detail
} // namespace prometheus
File mode changed from 100755 to 100644
#pragma once
#include <map>
#include <string>
namespace prometheus {
template <typename T>
class Family;
class Gauge;
class Registry;
namespace detail {
class GaugeBuilder {
public:
GaugeBuilder& Labels(const std::map<std::string, std::string>& labels);
GaugeBuilder& Name(const std::string&);
GaugeBuilder& Help(const std::string&);
Family<Gauge>& Register(Registry&);
private:
std::map<std::string, std::string> labels_;
std::string name_;
std::string help_;
};
} // namespace detail
} // namespace prometheus
#pragma once
#include <map>
#include <string>
namespace prometheus {
template <typename T>
class Family;
class Histogram;
class Registry;
namespace detail {
class HistogramBuilder {
public:
HistogramBuilder& Labels(const std::map<std::string, std::string>& labels);
HistogramBuilder& Name(const std::string&);
HistogramBuilder& Help(const std::string&);
Family<Histogram>& Register(Registry&);
private:
std::map<std::string, std::string> labels_;
std::string name_;
std::string help_;
};
} // namespace detail
} // namespace prometheus
#pragma once
#include <map>
#include <string>
namespace prometheus {
template <typename T>
class Family;
class Summary;
class Registry;
namespace detail {
class SummaryBuilder {
public:
SummaryBuilder& Labels(const std::map<std::string, std::string>& labels);
SummaryBuilder& Name(const std::string&);
SummaryBuilder& Help(const std::string&);
Family<Summary>& Register(Registry&);
private:
std::map<std::string, std::string> labels_;
std::string name_;
std::string help_;
};
} // namespace detail
} // namespace prometheus
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment