14 references to Traces
Aspire.Seq (9)
AspireSeqExtensions.cs (9)
38
settings.
Traces
.Protocol = OtlpExportProtocol.HttpProtobuf;
40
settings.
Traces
.ExportProcessorType = ExportProcessorType.Batch;
57
settings.
Traces
.Endpoint = new Uri($"{settings.ServerUrl}/ingest/otlp/v1/traces");
62
settings.
Traces
.Headers = string.IsNullOrEmpty(settings.
Traces
.Headers) ? $"X-Seq-ApiKey={settings.ApiKey}" : $"{settings.
Traces
.Headers},X-Seq-ApiKey={settings.ApiKey}";
72
_ => settings.
Traces
.ExportProcessorType switch {
73
ExportProcessorType.Batch => new BatchActivityExportProcessor(new OtlpTraceExporter(settings.
Traces
)),
74
_ => new SimpleActivityExportProcessor(new OtlpTraceExporter(settings.
Traces
))
Aspire.Seq.Tests (5)
SeqEndpointCanBeConfigured.cs (5)
21
s.
Traces
.Protocol = OtlpExportProtocol.Grpc;
41
s.
Traces
.Endpoint = new Uri("http://localhost:1234/ingest/otlp/v1/traces");
45
Assert.Equal(settings.
Traces
.Endpoint, new Uri("http://localhost:9876/ingest/otlp/v1/traces"));
61
s.
Traces
.Headers = "quality=good,speed=fast";
65
Assert.Equal("quality=good,speed=fast,X-Seq-ApiKey=TestKey123!", settings.
Traces
.Headers);