Giter Club home page Giter Club logo

Comments (8)

grobie avatar grobie commented on July 22, 2024

I'm open to support unix socket as well, but please be aware that these arguments are nonsense. Whether to fetch the CSV formatted stats via HTTP or unix socket doesn't make any difference. It's just different protocols. I guess the point they're trying to make is "just looking at the stats page every couple of minutes is not enough". And no shit, that's why we wrote Prometheus and store the results.

from haproxy_exporter.

brian-brazil avatar brian-brazil commented on July 22, 2024

There are some additional stats that'd be useful that are only available via the unix socket.

from haproxy_exporter.

sirlatrom avatar sirlatrom commented on July 22, 2024

@grobie I'm not sure (because I haven't bothered to try yet), but we're running HAProxy through consul-template (similar tohttps://github.com/SirIle/miniboxes/tree/master/minihaproxy) , which restarts HAProxy rather often (using the -sf command line option), and stats on the http stats page are zeroed every time.

from haproxy_exporter.

grobie avatar grobie commented on July 22, 2024

This will be the same when using a unix socket. HAProxy does not support
config reloading. Changing the config will always result in spawning a new
process and terminating the existing one. Stats are kept in memory per
process (when running with nbproc > 1 you'll need one exporter per process)
and not shared in any form.

On Fri, Apr 29, 2016 at 12:56 AM, Sune Keller [email protected]
wrote:

@grobie https://github.com/grobie I'm not sure (because I haven't
bothered to try yet), but we're running HAProxy through consul-template
(similar tohttps://github.com/SirIle/miniboxes/tree/master/minihaproxy) ,
which restarts HAProxy rather often (using the -sf command line option),
and stats on the http stats page are zeroed every time.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#53 (comment)

from haproxy_exporter.

grobie avatar grobie commented on July 22, 2024

@brian-brazil I guess you mean show info? I've wished for these information quite a few times indeed. Show pools maybe as well.

from haproxy_exporter.

alicebob avatar alicebob commented on July 22, 2024

Implemented in #58 (by accident, actually). This implementation doesn't give the additional stats, but maybe it's a start.

from haproxy_exporter.

pierrecdn avatar pierrecdn commented on July 22, 2024

@grobie @brian-brazil for my information, any hints on the show info/pools/.. capability?
Do you have/use any forks or PR that handle that ?

from haproxy_exporter.

grobie avatar grobie commented on July 22, 2024

@pierrecdn We're only using the standard haproxy_exporter at SoundCloud.

from haproxy_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.