You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing the telemetry server, I could not reach the metric endpoint from another machine in the same network. This is important because Prometheus will probably be running on another machine.
Run the relayer on one machine in the network with hermes start. Try to access the telemetry endpoint on another machine in the network e.g. if the hermes machine IP is 192.168.1.10, trying to access the endpoint http://192.168.1.10:3001/metrics won't work.
The reason for that is because the telemetry server (rouille) is hardcoded to localhost. Setting it to 0.0.0.0 fixes the issue.
Acceptance Criteria
Be able to access the telemetry endpoint from a different computer in the same subnet other than the relayer.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate milestone (priority) applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
* Fixing telemetry server listen host (#1032)
* Add `host` parameter for the telemetry server
* Gracefully exit when telemetry service fails to start
Co-authored-by: Romain Ruetschi <[email protected]>
hu55a1n1
pushed a commit
to hu55a1n1/hermes
that referenced
this issue
Sep 13, 2022
* Fixing telemetry server listen host (informalsystems#1032)
* Add `host` parameter for the telemetry server
* Gracefully exit when telemetry service fails to start
Co-authored-by: Romain Ruetschi <[email protected]>
Crate
telemetry
Summary of Bug
Testing the telemetry server, I could not reach the metric endpoint from another machine in the same network. This is important because Prometheus will probably be running on another machine.
Version
e4a6543
Steps to Reproduce
Run the relayer on one machine in the network with
hermes start
. Try to access the telemetry endpoint on another machine in the network e.g. if the hermes machine IP is 192.168.1.10, trying to access the endpoint http://192.168.1.10:3001/metrics won't work.The reason for that is because the telemetry server (rouille) is hardcoded to
localhost
. Setting it to0.0.0.0
fixes the issue.Acceptance Criteria
Be able to access the telemetry endpoint from a different computer in the same subnet other than the relayer.
For Admin Use
The text was updated successfully, but these errors were encountered: