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

Add metrics #607

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add metrics #607

wants to merge 5 commits into from

Conversation

Thomasdezeeuw
Copy link
Owner

No description provided.

@Thomasdezeeuw Thomasdezeeuw mentioned this pull request Dec 29, 2023
3 tasks
Has a single trait and type to support metric collection and extraction
for types in the crate.

For now I've put it behind a metrics feature as it does require
additional CPU cycles to collect, even if it's not used.
It collects only one metric: number of accepted connections.
When a USR2 signal is received, same signal the runtime uses, it will
log the metrics that a TcpListener collects, namely the number of
accepted connections.
Need to actually start collecting them.
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

Successfully merging this pull request may close these issues.

1 participant