{"repo":"biaks/prometheus-cpp-lite","free":true,"listed":false,"github":"https://github.com/biaks/prometheus-cpp-lite","clone":"git clone https://github.com/biaks/prometheus-cpp-lite.git","description":"C++ header-only prometheus client library for quickly and easily adding metric (and profiling) functionality to C++ projects.","language":"C++","stars":49,"topics":["prometheus","metrics","prometheus-client","prometheus-metrics","header-only","metrics-library","cpp11","cpp14","cpp17","crossplatform"],"license":"MIT","category":"analytics","readme_excerpt":"prometheus-cpp-lite Crossplatform header-only C++ library for quickly adding metrics (and profiling) functionality to C++ projects — simple, fast, dependency-free. Simplest usage — global registry, no boilerplate: Full control — registry, families, labels, custom value types, multi endpoints and more (see below): --- Why another Prometheus library for C++? The main C++ Prometheus library - jupp0r/prometheus-cpp - is mature and battle-tested, but it was designed with a Java mindset: prometheus-cpp prometheus-cpp-lite --------------------- ------------------------------------ ------------------------------------------------------------------- Architecture Split into 3 libraries ( core , pull , push ) with separate .h / .cpp pairs per class Single header-only library - just copy the headers Dependencies zlib, libcurl, civetweb (or beast) None Build system Bazel (primary) + CMake CMake or just copy files Minimum boilerplate 20 lines to create one counter 2 lines to create a counter and expose it (with global registry, see below) Value types double only uint64 t (default), double , int64 t , or any arithmetic type Metric types counter , gauge , histogram , summary , info counter , gauge , histogram , summary , info , benchmark - or make your own C++ standard C++11 C++11 Thread-safe Yes Yes prometheus-cpp-lite is not a fork. It is a ground-up rewrite focused on C++ idioms: operators instead of .Increment() , RAII instead of manual registration, zero-copy reference handles instead o","default_branch":null,"files":null,"tree":[],"storefront":"/r/biaks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/biaks/prometheus-cpp-lite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}