4 instantiations of InstrumentedConsumer
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedConsumerBuilder.cs (1)
46var consumer = new InstrumentedConsumer<TKey, TValue>(base.Build(), this.options, config.BootstrapServers)
Aspire.Confluent.Kafka.Tests (3)
OtelInstrumentationTests.cs (3)
30using var consumer = new InstrumentedConsumer<string, string>( 164using var consumer = new InstrumentedConsumer<string, string>(innerConsumer, options) { GroupId = $"lazy-group-{Guid.NewGuid()}" }; 513new(consumer, new ConfluentKafkaConsumerInstrumentationOptions<TKey, TValue>
12 references to InstrumentedConsumer
Aspire.Confluent.Kafka (2)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedConsumerBuilder.cs (1)
46var consumer = new InstrumentedConsumer<TKey, TValue>(base.Build(), this.options, config.BootstrapServers)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\OpenTelemetryConsumeResultExtensions.cs (1)
88if (consumer is not InstrumentedConsumer<TKey, TValue> instrumentedConsumer)
Aspire.Confluent.Kafka.Tests (10)
OtelInstrumentationTests.cs (8)
30using var consumer = new InstrumentedConsumer<string, string>( 164using var consumer = new InstrumentedConsumer<string, string>(innerConsumer, options) { GroupId = $"lazy-group-{Guid.NewGuid()}" }; 223using var consumer = CreateInstrumentedConsumer( 278using var consumer = CreateInstrumentedConsumer( 323using var consumer = CreateInstrumentedConsumer<string, string>( 416using var consumer = CreateInstrumentedConsumer( 486using var consumer = CreateInstrumentedConsumer( 509private static InstrumentedConsumer<TKey, TValue> CreateInstrumentedConsumer<TKey, TValue>(
OtelTracesTests.cs (2)
75var instrumentedConsumer = Assert.IsType<InstrumentedConsumer<string, string>>(consumer);