-
Notifications
You must be signed in to change notification settings - Fork 77
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
Unnecessary Redacted due to 'auth'
#248
Comments
See https://docs.pydantic.dev/logfire/guides/advanced/scrubbing/#scrubbing-less-with-a-callback for how to whitelist values. You can find this page if you search the docs for 'redacted' but I think you're at least the 4th person to ask about this so I think people just aren't trying that. We should probably change @dmontagu I think we need to implement https://pydanticlogfire.slack.com/archives/C06EDRBSAH3/p1714500893342199?thread_ts=1714500208.780959&cid=C06EDRBSAH3:
WDYT of that? It'd require some changes to both the SDK and UI and some design discussion. |
Thanks. Makes alot of sense I didnt quite get there in the docs yet :) |
Reopening because we still need to do something here, too many users stumble on it. |
What do we need to do here? |
The SDK changes have been recently released, now @dmontagu or another frontend dev needs to display the generated code and a link to docs somewhere visible in the details panel. |
Done, thanks @dmontagu! |
Description
I have a FastAPI endpoint which I am hitting to get some authentication types from some documentation. The endpoint is /auth/classify. Neither the input or the output from that endpoint contains secrets yet the body is still redacted:
Is there anyway to switch this off as it would be nice to see these in the logs. To be clear this isnt a header or anything. This is just a body with the key auth and a value of string[] (it's actually an enum of values like 'BASIC', 'BEARER' etc.)
I guess I can manually emit a span but that kinda defeats the point of auto instrumentation.
Python, Logfire & OS Versions, related packages (not required)
The text was updated successfully, but these errors were encountered: