1 instantiation of StackExchangeRedisConnectionInstrumentation
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentation.cs (1)
48
var instrumentation = new
StackExchangeRedisConnectionInstrumentation
(connection, name, options);
19 references to StackExchangeRedisConnectionInstrumentation
Aspire.StackExchange.Redis (19)
AspireRedisExtensions.cs (1)
162
t.AddSource(
StackExchangeRedisConnectionInstrumentation
.ActivitySource.Name);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (8)
94
name =
StackExchangeRedisConnectionInstrumentation
.ActivityName;
99
StackExchangeRedisConnectionInstrumentation
.ActivitySourceBoth :
101
StackExchangeRedisConnectionInstrumentation
.ActivitySourceNew :
102
StackExchangeRedisConnectionInstrumentation
.ActivitySource;
105
options.EmitOldAttributes && options.EmitNewAttributes ?
StackExchangeRedisConnectionInstrumentation
.BothCreationTags :
106
options.EmitNewAttributes ?
StackExchangeRedisConnectionInstrumentation
.NewCreationTags :
107
options.EmitOldAttributes ?
StackExchangeRedisConnectionInstrumentation
.OldCreationTags :
148
activity.SetTag(
StackExchangeRedisConnectionInstrumentation
.RedisDatabaseIndexKeyName, command.Db);
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisConnectionInstrumentation.cs (4)
23
internal static readonly ActivitySource ActivitySource = ActivitySourceFactory.Create(typeof(
StackExchangeRedisConnectionInstrumentation
), SemanticConventionsVersion, name: ActivitySourceName);
26
internal static readonly ActivitySource ActivitySourceNew = ActivitySourceFactory.Create(typeof(
StackExchangeRedisConnectionInstrumentation
), SemanticConventionsVersionNew, name: ActivitySourceName);
28
internal static readonly ActivitySource ActivitySourceBoth = ActivitySourceFactory.Create(typeof(
StackExchangeRedisConnectionInstrumentation
), null, name: ActivitySourceName);
58
/// Initializes a new instance of the <see cref="
StackExchangeRedisConnectionInstrumentation
"/> class.
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentation.cs (3)
23
internal List<
StackExchangeRedisConnectionInstrumentation
> InstrumentedConnections { get; } = [];
48
var
instrumentation = new StackExchangeRedisConnectionInstrumentation(connection, name, options);
70
foreach (
var
instrumentation in this.InstrumentedConnections)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentationOptions.cs (2)
37
/// Gets or sets a value indicating whether the <see cref="
StackExchangeRedisConnectionInstrumentation
"/> should use reflection to get more detailed
66
/// Gets or sets a value indicating whether the <see cref="
StackExchangeRedisConnectionInstrumentation
"/> should enrich Activity with <see cref="ActivityEvent"/> entries about the Redis command processing/lifetime. Defaults to <see langword="true"/>.
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\TracerProviderBuilderExtensions.cs (1)
154
.AddSource(
StackExchangeRedisConnectionInstrumentation
.ActivitySource.Name)