Table of Contents

Class RetainedContentReleaseTelemetry

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

Publishes how many retained database copies an operator's releases have freed, and how much they held.

public sealed class RetainedContentReleaseTelemetry : IRetainedContentReleaseTelemetry
Inheritance
RetainedContentReleaseTelemetry
Implements
Inherited Members

Remarks

The counters are what the release of a large mailbox is watched by, because it is a hundred requests rather than one: what a single batch freed says nothing, and what the deployment has freed since it started is the figure an operator weighs against the backlog they began with. They survive the interruptions and the terminals a long release lives through, which the answers to individual requests do not.

The volume is the point rather than a decoration. Releasing is the one step of the move that actually takes weight off a database, so a count of payloads without the bytes behind it would report the work and never the result.

Nothing here is derived from a message, and there is no dimension for the payload kind, for the reason the move's instruments have none.

Constructors

RetainedContentReleaseTelemetry()

Initializes the instruments every release reports through.

Methods

Released(long, long)

Records the retained copies one release freed.