1 instantiation of StackExchangeRedisConnectionInstrumentation
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentation.cs (1)
48var instrumentation = new StackExchangeRedisConnectionInstrumentation(connection, name, options);
13 references to StackExchangeRedisConnectionInstrumentation
Aspire.StackExchange.Redis (13)
AspireRedisExtensions.cs (1)
117t.AddSource(StackExchangeRedisConnectionInstrumentation.ActivitySourceName);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (5)
81name = StackExchangeRedisConnectionInstrumentation.ActivityName; 84var activity = StackExchangeRedisConnectionInstrumentation.ActivitySource.StartActivity( 88StackExchangeRedisConnectionInstrumentation.CreationTags, 113activity.SetTag(StackExchangeRedisConnectionInstrumentation.RedisFlagsKeyName, command.Flags.ToString()); 157activity.SetTag(StackExchangeRedisConnectionInstrumentation.RedisDatabaseIndexKeyName, command.Db);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisConnectionInstrumentation.cs (1)
40/// Initializes a new instance of the <see cref="StackExchangeRedisConnectionInstrumentation"/> class.
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentation.cs (3)
23internal List<StackExchangeRedisConnectionInstrumentation> InstrumentedConnections { get; } = new(); 48var instrumentation = new StackExchangeRedisConnectionInstrumentation(connection, name, options); 70foreach (var instrumentation in this.InstrumentedConnections)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentationOptions.cs (2)
21/// Gets or sets a value indicating whether or not the <see cref="StackExchangeRedisConnectionInstrumentation"/> should use reflection to get more detailed <see cref="SemanticConventions.AttributeDbStatement"/> tag values. Default value: False. 35/// Gets or sets a value indicating whether or not the <see cref="StackExchangeRedisConnectionInstrumentation"/> should enrich Activity with <see cref="ActivityEvent"/> entries about the Redis command processing/lifetime. Defaults to <see cref="bool">true</see>.
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\TracerProviderBuilderExtensions.cs (1)
117.AddSource(StackExchangeRedisConnectionInstrumentation.ActivitySourceName)