File tree Expand file tree Collapse file tree 3 files changed +4
-18
lines changed
Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if(POLICY CMP0091)
55endif ()
66
77project (prometheus-cpp
8- VERSION 0.12.3
8+ VERSION 0.13.0
99 DESCRIPTION "Prometheus Client Library for Modern C++"
1010 HOMEPAGE_URL "https://github.com/jupp0r/prometheus-cpp"
1111)
Original file line number Diff line number Diff line change @@ -20,19 +20,11 @@ class Endpoint;
2020
2121class PROMETHEUS_CPP_PULL_EXPORT Exposer {
2222 public:
23- // / @note This ctor will be merged with the "callback" variant once
24- // / prometheus-cpp 0.13 performs an ABI-break
2523 explicit Exposer (const std::string& bind_address,
26- const std::size_t num_threads = 2 );
27- // / @note This ctor will be merged with the "callback" variant once
28- // / prometheus-cpp 0.13 performs an ABI-break
29- explicit Exposer (std::vector<std::string> options);
30-
31- explicit Exposer (const std::string& bind_address,
32- const std::size_t num_threads,
33- const CivetCallbacks* callbacks);
24+ const std::size_t num_threads = 2 ,
25+ const CivetCallbacks* callbacks = nullptr );
3426 explicit Exposer (std::vector<std::string> options,
35- const CivetCallbacks* callbacks);
27+ const CivetCallbacks* callbacks = nullptr );
3628 ~Exposer ();
3729 void RegisterCollectable (const std::weak_ptr<Collectable>& collectable,
3830 const std::string& uri = std::string(" /metrics" ));
Original file line number Diff line number Diff line change 1111
1212namespace prometheus {
1313
14- Exposer::Exposer (const std::string& bind_address, const std::size_t num_threads)
15- : Exposer(bind_address, num_threads, nullptr ) {}
16-
17- Exposer::Exposer (std::vector<std::string> options)
18- : Exposer(options, nullptr ) {}
19-
2014Exposer::Exposer (const std::string& bind_address, const std::size_t num_threads,
2115 const CivetCallbacks* callbacks)
2216 : Exposer(
You can’t perform that action at this time.
0 commit comments