Skip to content

Commit 95ea1a3

Browse files
committed
chore: prepare 0.13.0 release
1 parent 03f30b6 commit 95ea1a3

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if(POLICY CMP0091)
55
endif()
66

77
project(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
)

pull/include/prometheus/exposer.h

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,11 @@ class Endpoint;
2020

2121
class 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"));

pull/src/exposer.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111

1212
namespace 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-
2014
Exposer::Exposer(const std::string& bind_address, const std::size_t num_threads,
2115
const CivetCallbacks* callbacks)
2216
: Exposer(

0 commit comments

Comments
 (0)