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

How do I filter out URL parts or header fields due to privacy reasons? #163

Open
mainrs opened this issue Jun 25, 2024 · 0 comments
Open

Comments

@mainrs
Copy link

mainrs commented Jun 25, 2024

I want to log all HTTP requests my client makes for debug purposes. But the requests contain sensitive information that I do not want to appear inside the log. This are, non-exhaustive: API key headers, unique IDs and usernames within the URL itself.

I am not sure if this is the crate that I can use for this, since the documentation mentions opentelemetry, which I do not use. I simply use tracing in my code base. And I want the logged HTTP calls to appear in these tracing logs, too. n my case, it's a desktop application. So the values would be randomized every time the user starts the application.

On a side note, could you explain to me what the openelemetry integration does in this crate? Does OT support HTTP tracing natively? For example RTT measurements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant