Table of Contents

Field MessageSpanName

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

The name one message's turn at being embedded opens its span under.

public const string MessageSpanName = "embed_stored_email"

Returns

string
The name one message's turn at being embedded opens its span under.

Remarks

A turn is caused by a backlog rather than by a request, and it is the one place this deployment reaches a paid provider outside a tool call. Without a span of its own the provider call the AI decorators publish arrives parentless, so the most expensive thing the process does would be attributable to nothing — and the database commands that store the vectors would sit beside it unexplained.

Published rather than kept inside this assembly, because the span is opened around a boundary the worker draws — one message, one scope — so what asserts that the provider call really is inside it lives with the worker. A second copy of the word would be a second place for it to drift.