Can multiple Prometheus exporters use same port

9 views
Skip to first unread message

kiran

unread,
Sep 16, 2020, 6:05:16 PM9/16/20
to Prometheus Users
Hello all

Looks like each Prometheus exporter exposes metrics on its own port by default(https://github.com/prometheus/prometheus/wiki/Default-port-allocations 
In comparison, netdata exposes everything on a single port. Is it possible to have multiple Prometheus exporters expose metrics on single port rather than on separate ports? My use case is such that we need to install exporters on clients’ machines(we don’t have any control on proxy if at all any on their side) and want to wok with single port.

Brian Candler

unread,
Sep 17, 2020, 2:47:04 AM9/17/20
to Prometheus Users
You can install exporter_exporter, which in turn proxies to the other exporters.  It also has options for enabling TLS, and for authentication.

Reply all
Reply to author
Forward
0 new messages