Closed dehaansa closed 3 days ago
Ideally we should replace secret values with a placeholder.
In the old agent one we used a custom yaml marshaller to redact the secrets, I feel we need to also redact the values here.
Implemented a POC of redacting secrets in the AST & printer, but I need to consider how it affects the fmt command and other uses of printer.
Looks reasonable but would like to see some tests around and if we need to make the behavior configurable.
PR Description
Add configuration sources (local file & remote config) to the support bundle.
One thing that requires consideration -- this is not currently doing any redaction of the configuration files, should we make this opt-in/opt-out rather than always collected?
Which issue(s) this PR fixes
https://github.com/grafana/alloy/issues/2066
Notes to the Reviewer
PR Checklist