prometheus-cpp

Prometheus Client Library for Modern C++ (by jupp0r)

Prometheus-cpp Alternatives

Similar projects and alternatives to prometheus-cpp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better prometheus-cpp alternative or higher similarity.

prometheus-cpp reviews and mentions

Posts with mentions or reviews of prometheus-cpp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-21.
  • C++ Concurrency Model on x86 for Dummies
    5 projects | news.ycombinator.com | 21 Aug 2022
    Rust does have some very cool mechanisms for safety, including in the presence of concurrency.

    But this thread is generating blowback from someone saying: “slow down there with the hand-rolled atomic operations, you can hand-roll your multi-threaded locking strategy and it’ll be way safer at a modest cost!”

    So, probably not the target audience for Rust ;)

    I use a lot of C++ still because there are libraries I want and I have a significant investment in existing code, but I’d love to get to something more modern.

    Hand-rolled atomics and load/store relaxation in application code make even seasoned C++ hackers a bit nervous: we saw this shit from business logic hackers at FB all the time and my colleague coined the term “aggressively intermediate” for the style.

    I don’t mean to pick on the author of a quite good library (and it is quite good), but I ran across this the other day:

    https://github.com/jupp0r/prometheus-cpp/blob/master/core/sr...

    It’s correct (I think, very easy to be wrong about this sort of thing), but what are we measuring here where we can’t delegate that CAS into pthread? Branch mispredictions?

    Either threads are fighting over whatever cache line that’s on (exclusive -> invalid -> exclusive -> invalid), or not. If they are, I’ve just deprived the scheduler of the opportunity to wake me up when the other 59 threads are done. If they’re not, I’ve maybe saved like one line in my L1.

    And in something like a metrics library, you could be wrong for a very long time before someone pinned it down.

  • Debugging/optimizing/diagnostic tools for C++
    2 projects | /r/cpp | 25 Apr 2022
    Some metric collecting tool, for example, Prometheus and its client library for C++
  • Data Telemetry for Application Monitoring
    2 projects | /r/QtFramework | 10 Sep 2021
    You can use https://github.com/jupp0r/prometheus-cpp (your custom data) in combination with https://grafana.com/ that has plugins for things like cpu usage.
  • Dashboard for my C++ application
    1 project | /r/cpp | 31 Aug 2021
    Grafana and Prometheus is what I’d use if you’re deploying this in Kubernetes. I haven’t used the C++ library, but generally you can just add a Prometheus client library (e.g. https://github.com/jupp0r/prometheus-cpp ) which makes it quite easy to instrument your application and expose metrics via HTTP. Then you need to configure Prometheus to scrape metrics from your application.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic prometheus-cpp repo stats
4
870
8.0
28 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com