Replies: 2 comments
-
Port forwarding is one method, but I am more interested in knowing if there is a machine on the node_exporter side that can directly push the data to Pushgateway, which can be done through some middleware or program |
Beta Was this translation helpful? Give feedback.
-
The PGW is not designed to turn Prometheus into a push-based monitoring system. Just pushing a whole scrape to the PGW is an anti-pattern (even if you maybe could make it work with some makeshift contraption. More appropriate approaches in your case might be PushProx or utilizing Prometheus agent mode and the remote-write protocol. |
Beta Was this translation helpful? Give feedback.
-
I have a prometheus server and pushgateway,These two are installed on machines with public IP addresses, while the machine where node_exporter is installed only has broadband network without a public IP address, and it can access Pushgateway and Prometheus(prometheus can not reach node_exporter directly). In this case, how can I send the data collected by node_exporter to Pushgateway? Are there any reference solutions available?Thanks
Beta Was this translation helpful? Give feedback.
All reactions