GreptimeTeam/greptimedb
View on GitHubRemove sensitive information from store_addrs in logs
Open
#7,525 opened on Jan 6, 2026
C-enhancementgood first issuehelp wanted
Repository metrics
- Stars
- (6,332 stars)
- PR merge metrics
- (PR metrics pending)
Description
What type of enhancement is this?
User experience
What does the enhancement do?
The command line arguments store_addrs may contain sensitive information.
One of the cmd struct: https://github.com/GreptimeTeam/greptimedb/blob/6f86a22e6fc22e0271b62679d6454b859a116519/src/cmd/src/metasrv.rs#L151-L152
We should not log them.
Implementation challenges
Should we distinguish different backends and only escape the sensitive connection string for PostgreSQL/MySQL?