Skip to content

Commit

Permalink
chore: prepare 0.13.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Sep 9, 2021
1 parent 03f30b6 commit 95ea1a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -5,7 +5,7 @@ if(POLICY CMP0091)
endif()

project(prometheus-cpp
VERSION 0.12.3
VERSION 0.13.0
DESCRIPTION "Prometheus Client Library for Modern C++"
HOMEPAGE_URL "https://github.com/jupp0r/prometheus-cpp"
)
Expand Down
14 changes: 3 additions & 11 deletions pull/include/prometheus/exposer.h
Expand Up @@ -20,19 +20,11 @@ class Endpoint;

class PROMETHEUS_CPP_PULL_EXPORT Exposer {
public:
/// @note This ctor will be merged with the "callback" variant once
/// prometheus-cpp 0.13 performs an ABI-break
explicit Exposer(const std::string& bind_address,
const std::size_t num_threads = 2);
/// @note This ctor will be merged with the "callback" variant once
/// prometheus-cpp 0.13 performs an ABI-break
explicit Exposer(std::vector<std::string> options);

explicit Exposer(const std::string& bind_address,
const std::size_t num_threads,
const CivetCallbacks* callbacks);
const std::size_t num_threads = 2,
const CivetCallbacks* callbacks = nullptr);
explicit Exposer(std::vector<std::string> options,
const CivetCallbacks* callbacks);
const CivetCallbacks* callbacks = nullptr);
~Exposer();
void RegisterCollectable(const std::weak_ptr<Collectable>& collectable,
const std::string& uri = std::string("/metrics"));
Expand Down
6 changes: 0 additions & 6 deletions pull/src/exposer.cc
Expand Up @@ -11,12 +11,6 @@

namespace prometheus {

Exposer::Exposer(const std::string& bind_address, const std::size_t num_threads)
: Exposer(bind_address, num_threads, nullptr) {}

Exposer::Exposer(std::vector<std::string> options)
: Exposer(options, nullptr) {}

Exposer::Exposer(const std::string& bind_address, const std::size_t num_threads,
const CivetCallbacks* callbacks)
: Exposer(
Expand Down

0 comments on commit 95ea1a3

Please sign in to comment.