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