Table of Contents

Class SensitiveContentDerivationTelemetry

Namespace
MailFathom.Infrastructure.Observability
Assembly
MailFathom.Infrastructure.dll

Reports what redacting the derived writes found, refused, and cost.

public sealed class SensitiveContentDerivationTelemetry : ISensitiveContentDerivationTelemetry
Inheritance
SensitiveContentDerivationTelemetry
Implements
Inherited Members

Remarks

Instruments of its own rather than a fourth egress point on the guarded-egress ones, because the two measure work with different shapes. An egress figure is latency somebody is waiting on; this one is throughput a background walk is spending, and a deployment that has just switched a scanner on wants to read the second without the first moving underneath it.

Nothing recorded here is mail or derived from it. A category name and a scanner name are MailFathom's own closed sets, and the values are counts and durations — never a match, a position, or a message identity.

Constructors

SensitiveContentDerivationTelemetry()

Initializes the instruments every redacted derivation reports through.

Methods

RecordDerived(RedactedText, TimeSpan)

Records one text redacted on its way into the derived store.

RecordRefused(SensitiveContentScannerKind)

Records one derived write refused because the scanner guarding it could not answer.