5 writes to Traces
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedConsumerBuilder.cs (1)
35set => this.options.Traces = value;
Aspire.Confluent.Kafka.Tests (4)
OtelInstrumentationTests.cs (4)
32new ConfluentKafkaConsumerInstrumentationOptions<string, string> { Traces = tracingEnabled }); 163var options = new ConfluentKafkaConsumerInstrumentationOptions<string, string> { Traces = false, Metrics = true }; 174options.Traces = true; 515Traces = traces,
7 references to Traces
Aspire.Confluent.Kafka (6)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedConsumer.cs (5)
40internal Lazy<Task<string?>>? ClusterIdTask => this.options.Traces ? this.clusterIdTask : null; 62consumeResult = ExtractConsumeResult(result, this.options.Traces); 91consumeResult = ExtractConsumeResult(result, this.options.Traces); 120consumeResult = ExtractConsumeResult(result, this.options.Traces); 309if (this.options.Traces && !isEmptyPoll)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedConsumerBuilder.cs (1)
34get => this.options.Traces;
Aspire.Confluent.Kafka.Tests (1)
OtelInstrumentationTests.cs (1)
185Assert.Equal(options.Traces, activity is not null);