Closed gitrepocc closed 3 years ago
which requests?
There is no POST, there is no push. Prometheus server PULLs the metrics by itself using GET. All the library does is it provides this /metrics endpoint for Prometheus. The library doesn't do any requests at all.
See prometheus docs for details: https://prometheus.io/docs/introduction/overview/
On Sun, Jan 31, 2021 at 2:24 PM gitrepocc notifications@github.com wrote:
which requests?
POST requests that push metrics to prometheus server from my app. The middleware code, promBundle();
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jochen-schweizer/express-prom-bundle/issues/74#issuecomment-770382206, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFF6DPBYMCKBRDJISUUMTLS4VK2PANCNFSM4WWUGFEA .
-- Konstantin
Hello, I am new to express and node js. can you please tell me whether these requests made to /metrics endpoint asynchronous or synchronous?