VitreousTelemetry class
Namespace: Vitreous
Assembly: Vitreous.dll
The names of the ActivitySource and Meter that Vitreous reports dispatches to. Subscribe to them to see commands, queries, streams and notifications in OpenTelemetry:
builder.Services.AddOpenTelemetry()
.WithTracing(t => t.AddSource(VitreousTelemetry.ActivitySourceName))
.WithMetrics(m => m.AddMeter(VitreousTelemetry.MeterName));
public static class VitreousTelemetryInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Remarks
Section titled “Remarks”Nothing is recorded until a listener subscribes. With no listener, a dispatch takes the same path, and allocates the same, as it would with telemetry compiled out.
Fields
Section titled “Fields”ActivitySourceName
Section titled “ ActivitySourceName”The name of the ActivitySource that dispatch spans
are started from: “Vitreous”.
public const string ActivitySourceName = "Vitreous"Field Value
Section titled “Field Value”MeterName
Section titled “ MeterName”The name of the Meter that dispatch metrics
are recorded on: “Vitreous”.
public const string MeterName = "Vitreous"