{"repo":"jupp0r/prometheus-cpp","free":true,"listed":false,"github":"https://github.com/jupp0r/prometheus-cpp","clone":"git clone https://github.com/jupp0r/prometheus-cpp.git","description":"Prometheus Client Library for Modern C++","language":"C++","stars":1119,"topics":["prometheus","metrics"],"license":null,"category":"analytics","readme_excerpt":"Prometheus Client Library for Modern C++ This library aims to enable Metrics-Driven Development for C++ services. It implements the Prometheus Data Model, a powerful abstraction on which to collect and expose metrics. We offer the possibility for metrics to be collected by Prometheus, but other push/pull collections can be added as plugins. Usage See https://jupp0r.github.io/prometheus-cpp for more detailed interface documentation. Requirements Using prometheus-cpp requires a C++11 compliant compiler. It has been successfully tested with GNU GCC 7.4 on Ubuntu Bionic (18.04) and Visual Studio 2017. Building There are two supported ways to build prometheus-cpp - CMake and bazel. Both are tested in CI and should work on master and for all releases. In case these instructions don't work for you, looking at the GitHub Workflows might help. With CMake For CMake builds don't forget to fetch the submodules first. Please note that zlib and libcurl are not provided by the included submodules. In the example below their usage is disabled. Then build as usual. With Bazel Install a recent bazel version with Modules support. To build and test prometheus-cpp run: Packaging By configuring CPack you can generate an installer like a Debian package (.deb) or RPM (.rpm) for the static or dynamic libraries so they can be easily installed on other systems. Please refer to the CPack documentation for all available generators and their configuration options. To generate a Debian package you could fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/jupp0r","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jupp0r/prometheus-cpp/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."}