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

[l2geth]: How to expose prometheus metrics? #1365

Open
qezz opened this issue Sep 20, 2023 · 0 comments
Open

[l2geth]: How to expose prometheus metrics? #1365

qezz opened this issue Sep 20, 2023 · 0 comments

Comments

@qezz
Copy link

qezz commented Sep 20, 2023

Describe the issue

I run an RPC node on mainnet, and I want to monitor it with prometheus. But it's not really clear how to do this.

I can see from the code, and from the --help output that --metrics flag exists, but there are no --metrics.port or --metrics.addr.

There's also METRICS_ENABLE=true env var, but I'm not sure if it does anything. And I also couldn't find any configuration for the listen address and port.

To Reproduce
n/a

Expected behavior

CLI options and env vars exist to listen on the certain addr:port

Screenshots
n/a

Additional context
n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant