From 498f582c3f46a352f89a0c47148a4b6e1054f261 Mon Sep 17 00:00:00 2001 From: jvoravong Date: Fri, 3 May 2024 10:01:25 -0600 Subject: [PATCH] adopt redaction processor into our distro --- CHANGELOG.md | 4 ++++ docs/components.md | 3 ++- go.mod | 1 + go.sum | 1 + internal/components/components_test.go | 1 + 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8531b1612c..61153cfed1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### 🚀 New components 🚀 + +- (Splunk) Add Redaction processor ([#4766}(https://github.com/signalfx/splunk-otel-collector/pull/4766)) + ## v0.99.0 ### 🛑 Breaking changes 🛑 diff --git a/docs/components.md b/docs/components.md index af84cadc44..4ac119be82 100644 --- a/docs/components.md +++ b/docs/components.md @@ -78,12 +78,13 @@ The distribution offers support for the following components. | [memorylimiter](https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiterprocessor) | [beta] | | [metricstransform](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/metricstransformprocessor) | [beta] | | [probabilisticsampler](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/probabilisticsamplerprocessor) | [beta] | +| [redaction](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/redactionprocessor) | [beta] | | [resourcedetection](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor) | [beta] | | [resource](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourceprocessor) | [beta] | | [routing](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/routingprocessor) | [beta] | | [span](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/spanprocessor) | [alpha] | | [tail_sampling](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/tailsamplingprocessor) | [beta] | -| [timestamp](../pkg/processor/timestampprocessor) | [in development] | +| [timestamp](../pkg/processor/timestampprocessor) | [in development] | | [transform](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/transformprocessor) | [alpha] | diff --git a/go.mod b/go.mod index e727fdeea7..d6d53a0d22 100644 --- a/go.mod +++ b/go.mod @@ -49,6 +49,7 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/processor/logstransformprocessor v0.99.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor v0.99.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.99.0 + github.com/open-telemetry/opentelemetry-collector-contrib/processor/redactionprocessor v0.99.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.99.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.99.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.99.0 diff --git a/go.sum b/go.sum index e7f2d0f743..4efab2317e 100644 --- a/go.sum +++ b/go.sum @@ -1349,6 +1349,7 @@ github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstrans github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor v0.99.0/go.mod h1:+Z4a3Yt3PjqtGI5pdNmQ4AyvdB7aFxBoq2sjN1RJNVQ= github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.99.0 h1:HH+sX8uN+JkqCOuoA/4FVqqGdJS93NSicB/PgTLELZM= github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.99.0/go.mod h1:BwSpsu4+Xk3+Le4sqjs6eVZd5xJ+dZ0mZqoX9+sBbUc= +github.com/open-telemetry/opentelemetry-collector-contrib/processor/redactionprocessor v0.99.0/go.mod h1:Dw7Gw4gdxwNWHV9aB+DrnyDNWN6ujJsm00+O3jhN9bc= github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.99.0 h1:Z9wCwf4PV0RLqYAMhM7AXKmdF7lHEq/yElEgTYV24Ow= github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.99.0/go.mod h1:ZEfo92OtOsUC8A85caKlUWP3sXULpAfJphxAJYAmVXA= github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.99.0 h1:MfB6sf60dyDu1x3Zvo+FC95lUa2DXBJ0tnnTTho426Y= diff --git a/internal/components/components_test.go b/internal/components/components_test.go index c2bc36c3dd..1c4a08d6ae 100644 --- a/internal/components/components_test.go +++ b/internal/components/components_test.go @@ -104,6 +104,7 @@ func TestDefaultComponents(t *testing.T) { "memory_limiter", "metricstransform", "probabilistic_sampler", + "redaction", "resource", "resourcedetection", "routing",