MCPcopy Create free account
hub / github.com/cockroachdb/redact / newRedactProcessor

Function newRedactProcessor

otelprocessor/processor.go:15–21  ·  view source on GitHub ↗
(_ context.Context, config *Config)

Source from the content-addressed store, hash-verified

13}
14
15func newRedactProcessor(_ context.Context, config *Config) *redactProcessor {
16 rp := &redactProcessor{
17 config: *config,
18 }
19
20 return rp
21}
22
23func (rp *redactProcessor) processLogs(_ context.Context, logs plog.Logs) (plog.Logs, error) {
24 resourceLogs := logs.ResourceLogs()

Callers 2

TestLogBodyFunction · 0.85
createLogsProcessorFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestLogBodyFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…