I like this solution, I had tinkered with the Otel hoping to get un-redacted prompt and responses but had no luck. Did you perhaps get deeper into what data was useful?
You can get the un-redacted prompts via the OTel event logger[0], but unfortunately it won't give you responses. You could open up a GitHub issue to request that addition!
Disclaimer - I work at Anthropic but not on Claude Code, the team is responsive via GH issues though!
martin_|8 months ago
Disclaimer - I work at Anthropic but not on Claude Code, the team is responsive via GH issues though!
[0] https://docs.anthropic.com/en/docs/claude-code/monitoring-us...
bazhand|8 months ago