Table of Contents

Class EmissaryTelemetry

Namespace
Emissary
Assembly
Emissary.dll

The names to subscribe to for Emissary's traces and metrics.

public static class EmissaryTelemetry
Inheritance
EmissaryTelemetry
Inherited Members

Remarks

Emissary follows the OpenTelemetry GenAI semantic conventions, but none of that reaches a collector until something subscribes:

builder.Services.AddOpenTelemetry()
    .WithTracing(t => t.AddSource(EmissaryTelemetry.SourceName))
    .WithMetrics(m => m.AddMeter(EmissaryTelemetry.MeterName));

Forgetting that step is the single most common reason an agent looks untraced, so the names are part of the public surface rather than a string in a documentation page. They are constants because a rename would invalidate every dashboard and alert built on them; they will not change.

Fields

MeterName

The Meter name: Emissary.

public const string MeterName = "Emissary"

Field Value

string

SourceName

The ActivitySource name: Emissary.

public const string SourceName = "Emissary"

Field Value

string