Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics: allow configuring IP address & port for exposing metrics in iroh-relay #2739

Open
missytake opened this issue Sep 19, 2024 · 1 comment
Labels
c-iroh-relay feat New feature or request metrics extracting quantified mesurements from iroh

Comments

@missytake
Copy link

Right now, iroh-relay exposes metrics to 127.0.0.1:9092.

To scrape metrics from iroh-relay hosts via wireguard, we need to expose the port to the wireguard network, other wireguard hosts can't see the metrics otherwise.

Maybe this could be added to the iroh-relay command via a --metrics 192.168.0.10:9093 command line flag?

@flub flub added feat New feature or request metrics extracting quantified mesurements from iroh c-iroh-relay labels Sep 20, 2024
@Arqu
Copy link
Collaborator

Arqu commented Sep 23, 2024

Glad people are running their own these days :)
The relay already has a configuration mechanic, see this.
The intent was to keep the CLI simple to reduce the surface area and provide a way for a quick way to run it.
In general if you're running it as a service you would probably want to supply a full config file with everything fleshed out. That would also include the metrics_bind_addr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-iroh-relay feat New feature or request metrics extracting quantified mesurements from iroh
Projects
Status: No status
Development

No branches or pull requests

3 participants