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

[FEAT] Improve observability capabilities within the container #309

Closed
1 task done
proffalken opened this issue Nov 4, 2023 · 3 comments
Closed
1 task done

[FEAT] Improve observability capabilities within the container #309

proffalken opened this issue Nov 4, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@proffalken
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

It would be great to be able to somehow expose metrics about number of clients connected, data throughput etc. from the Wireguard server and pull that information into Prometheus

Reason for change

Observability is key in many organisations, adding this feature to the docker container will make it even more appealing in my view to other users.

Proposed code change

No response

@proffalken proffalken added the enhancement New feature or request label Nov 4, 2023
Copy link

github-actions bot commented Nov 4, 2023

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thespad
Copy link
Member

thespad commented Nov 5, 2023

Wireguard does not provide any kind of metrics endpoint that can be queried to obtain that kind of information and as it is stateless, the concept of a "connected" user doesn't really exist, just a user who has sent traffic in the last X timeframe.

@proffalken
Copy link
Author

Ah, ok, I'd got confused by the availability of https://github.com/MindFlavor/prometheus_wireguard_exporter, but having re-read those docs I see now that it just runs commands against wg and reports back what it finds.

I'll close this, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants