MCPcopy
hub / github.com/grafana/tempo / hidingRedactor

Struct hidingRedactor

modules/frontend/combiner/trace_by_id_test.go:97–97  ·  view source on GitHub ↗

hidingRedactor is a TraceRedactor stub that always returns ErrTraceHidden, simulating an access-policy that hides the trace entirely.

Source from the content-addressed store, hash-verified

95// hidingRedactor is a TraceRedactor stub that always returns ErrTraceHidden,
96// simulating an access-policy that hides the trace entirely.
97type hidingRedactor struct{}
98
99func (h hidingRedactor) RedactTraceAttributes(_ *tempopb.Trace) error { return ErrTraceHidden }
100

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected