Giter Club home page Giter Club logo

Comments (3)

matthiasr avatar matthiasr commented on August 24, 2024

Hey,

to keep the scope of the project limited we won't be supporting authentication in the serving components for the foreseeable future; there are just too many options, and this is better served by putting a reverse proxy in front that is designed for this. This way, the monitoring components can be focused on monitoring alone.

For your use-case, I would bind the exporter to localhost and front it with either HAProxy itself (but beware that you may lose the ability to scrape if it falls over badly) or e.g. nginx. The configuration for that should be very simple. As an added bonus, you can then also use HTTPS.

FWIW, on the scraping side Basic Auth is fully supported, so you will be able to scrape this without further layers.

/MR

from haproxy_exporter.

olcai avatar olcai commented on August 24, 2024

If that is the general idea, I'm fine with it. I just got the expectation from using the node exporter, which among other things support basic auth out of the box.

/Erik

from haproxy_exporter.

juliusv avatar juliusv commented on August 24, 2024

@olcai Oh, interesting point. I almost forgot that node exporter had basic auth. The implementation of that predates the consensus to not implement this in every exporter.

Basic auth without SSL is dangerous, as it looks secure, but isn't. If one then has to put a reverse proxy infront of it anyways to add SSL, that reverse proxy might just as well also take care of the basic auth.

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.