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

[processor/redaction] add support for redacting metrics and logs attributes #34609

Merged
Prev Previous commit
remove redaction of scope attributes
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
  • Loading branch information
bacherfl committed Aug 29, 2024
commit 1aa1d5a24cbc54666b05046ac8b89be76345be5a
1 change: 0 additions & 1 deletion processor/redactionprocessor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ func (s *redaction) processResourceMetric(ctx context.Context, rm pmetric.Resour

for j := 0; j < rm.ScopeMetrics().Len(); j++ {
ils := rm.ScopeMetrics().At(j)
s.processAttrs(ctx, ils.Scope().Attributes())
for k := 0; k < ils.Metrics().Len(); k++ {
metric := ils.Metrics().At(k)
switch metric.Type() {
Expand Down