1 instantiation of StackExchangeRedisConnectionInstrumentation
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentation.cs (1)
48
var instrumentation = new
StackExchangeRedisConnectionInstrumentation
(connection, name, options);
13 references to StackExchangeRedisConnectionInstrumentation
Aspire.StackExchange.Redis (13)
AspireRedisExtensions.cs (1)
119
t.AddSource(
StackExchangeRedisConnectionInstrumentation
.ActivitySourceName);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (5)
81
name =
StackExchangeRedisConnectionInstrumentation
.ActivityName;
84
var activity =
StackExchangeRedisConnectionInstrumentation
.ActivitySource.StartActivity(
88
StackExchangeRedisConnectionInstrumentation
.CreationTags,
113
activity.SetTag(
StackExchangeRedisConnectionInstrumentation
.RedisFlagsKeyName, command.Flags.ToString());
157
activity.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)
23
internal List<
StackExchangeRedisConnectionInstrumentation
> InstrumentedConnections { get; } = new();
48
var
instrumentation = new StackExchangeRedisConnectionInstrumentation(connection, name, options);
70
foreach (
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)