On Fri, 28 Aug 2020 at 07:39, Mounya A <[email protected]> wrote:
> Hii everyone, > We have multiple independent deamons of same application in a > machine. I would like to serve aggregated metrics from a single port , > rather than starting server in each deamon and treating them as a separate > time series. I can handle the exposition part with try.. except so that the > first deamon that gets hold of the port can start the server. My doubt is > regarding the correctness of metrics data if i use the python client's > multiprocessing support. (as it is not a direct use of gunicorn or > multiprocessing module) . Is there any chance of ending up with incorrect > data if i use this approach . Thanks in advance. If they're independent daemons then each should have their own /metrics. The multiprocessing mode comes with a number of disadvantages, and should only be used if you've no other option. -- Brian Brazil www.robustperception.io -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAHJKeLrcY%2BGkwf2FwWMtPjhPO9DXKZJDWVPNczRyHEN1S1h%2B4A%40mail.gmail.com.

