Native Prometheus Integration with Nginx

(categorica.io)

22 points | by foxhill 3 days ago

3 comments

  • adamtulinius 33 minutes ago
    Can’t help but think that nginx’s open core model is the reason nginx never got support for exporting Prometheus metrics on its own.
    • jon128 31 minutes ago
      Bullseye.
    • lstodd 27 minutes ago
      Pff. Nginxs mods exporting metrics were written by the dozens before Prometheus was a thing.

      Prom export is also inefficient as fuck. No one serious uses it.

      Edit: I wrote two, one in 2009, another in 2013 in case you wonder.

  • jon128 31 minutes ago
    The general circles around me have already moved on to reverse proxies implemented in Rust and there is talk about reverse proxies implemented in Lean 4.

    But this native Prometheus Integration with nginx, this is going to be useful to many in DevOps-ish roles out there.

    • Thaxll 5 minutes ago
      It's such a bad technical decision for most people. Everyone rewrites it's own gateway / reverse proxy with bugs, lacks of feature, security problems and non standard integration.

      Nginx / envoy should be your default choice for most use cases.

    • dearing 17 minutes ago
      I'm interested in your statement:

      I myself write custom reverse proxies, and within, export custom metrics to custom collectors but in Go instead of Rust. Now I do this for a myriad of reasons but not because Nginx was written in C?

      I consider my self DevOops professionally and read this statement to mean DevOps isn't as such.

  • cnrcode 16 minutes ago
    [flagged]