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

Prometheus metrics #544

Open
wociscz opened this issue Jan 30, 2024 · 3 comments
Open

Prometheus metrics #544

wociscz opened this issue Jan 30, 2024 · 3 comments

Comments

@wociscz
Copy link

wociscz commented Jan 30, 2024

Not an issue!
Just an idea: It'd be nice, if we already running webserver for ui, to expose /metrics path with prometheus metrics. Same information as Status page gives but in plain prometheus text format. In bytes, no other math around. Just the things which wg show all dump gives us.
Maybe labeled values with at least name would be even more perfect, so then we can have graphs in graphana, for example.

@Computroniks
Copy link

@ngoduykhanh I also have a use for this feature and would be willing to open a PR and implement it if you are ok with the idea and want it adding to the project? Basically just want to get your opinion before I start working on it.

@rautniraj
Copy link

#640

Please help

@wociscz
Copy link
Author

wociscz commented Oct 16, 2024

It could be performed outside the wireguard_ui with help of https://github.com/kbknapp/wireguard_exporter (and maybe others), without the labels (naming) of course.

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

3 participants