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

improved tracing for packet encoding #797

Open
andrewgazelka opened this issue Dec 29, 2024 · 2 comments
Open

improved tracing for packet encoding #797

andrewgazelka opened this issue Dec 29, 2024 · 2 comments

Comments

@andrewgazelka
Copy link
Collaborator

andrewgazelka commented Dec 29, 2024

use tracing to better detect where packets are coming from...

Reasonsing

image

So I looked at it briefly and I can't find an obvious culprit. Your best bet is probably going to be adding tracing to Hyperion. Now there's some things to note when you are doing this. Primarily, making sure that tracing is going to show the correct level. Right now, in release mode, it gives you max level info. A lot of the tracing that you're going to do is probably going to be level trace or debug. So don't run it in release mode or change how that currently works. So that it will give you debug and trace info in release. But then you'll probably want to change it back because if you have a bunch of tracing it's going to be a performance issue in release.

hyperion/Cargo.toml

Lines 244 to 246 in 1dfed85

[workspace.dependencies.tracing]
features = ['release_max_level_info']
version = '0.1.40'

@andrewgazelka andrewgazelka changed the title improved tracing for packet serialization improved tracing for packet encoding Dec 29, 2024
@andrewgazelka
Copy link
Collaborator Author

@addbounty $1

@addbounty
Copy link

🎯 Bounty Added!

Amount: $1.00 💰

This issue is now tracked by BountyBot. The bounty will be awarded to the developer whose pull request is merged.

  • 3% weekly decay applies
  • Funds are held in escrow
  • 14-day review period after completion

Happy coding! 🚀

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

2 participants