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

introduce a basic tracer #80

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

introduce a basic tracer #80

wants to merge 1 commit into from

Conversation

marten-seemann
Copy link
Member

@marten-seemann marten-seemann commented Dec 3, 2024

Resolves #59, in a more useful way than #62. Specifically, it allows the application to get an instantaneous notification about every proxied packet, not only an aggregate at the end of the connection.

Unfortunately, this is quite an annoying API change. The alternative would be to have a single Tracer on the Proxy, but this is way less powerful: it would only be possible to get the sum of all proxied connections.


TODO: add a few basic tests

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.

make stats available to the application
1 participant