diff --git a/build/Projects/OpenTelemetry.Instrumentation.StackExchangeRedis.proj b/build/Projects/OpenTelemetry.Instrumentation.StackExchangeRedis.proj index 1570dee1f1..2cf18b85d2 100644 --- a/build/Projects/OpenTelemetry.Instrumentation.StackExchangeRedis.proj +++ b/build/Projects/OpenTelemetry.Instrumentation.StackExchangeRedis.proj @@ -7,6 +7,7 @@ + diff --git a/test/OpenTelemetry.Instrumentation.StackExchangeRedis.Benchmarks/RedisProfilerDrainSessionBenchmarks.cs b/test/OpenTelemetry.Instrumentation.StackExchangeRedis.Benchmarks/RedisProfilerDrainSessionBenchmarks.cs index ddb572d8f9..20bd4f9906 100644 --- a/test/OpenTelemetry.Instrumentation.StackExchangeRedis.Benchmarks/RedisProfilerDrainSessionBenchmarks.cs +++ b/test/OpenTelemetry.Instrumentation.StackExchangeRedis.Benchmarks/RedisProfilerDrainSessionBenchmarks.cs @@ -29,7 +29,7 @@ public void GlobalSetup() { Sample = (ref _) => ActivitySamplingResult.AllDataAndRecorded, SampleUsingParentId = (ref _) => ActivitySamplingResult.AllDataAndRecorded, - ShouldListenTo = (source) => source.Name == StackExchangeRedisConnectionInstrumentation.ActivitySourceName, + ShouldListenTo = (source) => source.Name == StackExchangeRedisConnectionInstrumentation.ActivitySource.Name, }; ActivitySource.AddActivityListener(this.activityListener); diff --git a/test/OpenTelemetry.Instrumentation.StackExchangeRedis.Benchmarks/RedisProfilerEntryToActivityConverterBenchmarks.cs b/test/OpenTelemetry.Instrumentation.StackExchangeRedis.Benchmarks/RedisProfilerEntryToActivityConverterBenchmarks.cs index ea41268c73..938ddc8753 100644 --- a/test/OpenTelemetry.Instrumentation.StackExchangeRedis.Benchmarks/RedisProfilerEntryToActivityConverterBenchmarks.cs +++ b/test/OpenTelemetry.Instrumentation.StackExchangeRedis.Benchmarks/RedisProfilerEntryToActivityConverterBenchmarks.cs @@ -28,7 +28,7 @@ public void GlobalSetup() { Sample = (ref _) => ActivitySamplingResult.AllDataAndRecorded, SampleUsingParentId = (ref _) => ActivitySamplingResult.AllDataAndRecorded, - ShouldListenTo = (source) => source.Name == StackExchangeRedisConnectionInstrumentation.ActivitySourceName, + ShouldListenTo = (source) => source.Name == StackExchangeRedisConnectionInstrumentation.ActivitySource.Name, }; ActivitySource.AddActivityListener(this.activityListener);