6 instantiations of ActivityEvent
Aspire.StackExchange.Redis (3)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (3)
169activity.AddEvent(new ActivityEvent("Enqueued", enqueued)); 170activity.AddEvent(new ActivityEvent("Sent", send)); 171activity.AddEvent(new ActivityEvent("ResponseReceived", response));
dotnet (1)
Telemetry\Telemetry.cs (1)
201return new ActivityEvent(
Stress.ApiService (1)
TraceCreator.cs (1)
105activity.AddEvent(new ActivityEvent($"event-{i}", DateTimeOffset.UtcNow.AddMilliseconds(1), activityTags));
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Activity.cs (1)
603return AddEvent(new ActivityEvent(ExceptionEventName, timestamp, ref exceptionTags));
32 references to ActivityEvent
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (1)
162/// recorded as <see cref="ActivityEvent"/> or not. Default value: <see
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (1)
162/// recorded as <see cref="ActivityEvent"/> or not. Default value: <see
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisInstrumentationOptions.cs (1)
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>.
dotnet (1)
Telemetry\Telemetry.cs (1)
195private static ActivityEvent CreateActivityEvent(
System.Diagnostics.DiagnosticSource (28)
System\Diagnostics\Activity.cs (17)
65private static readonly IEnumerable<ActivityEvent> s_emptyEvents = new DiagLinkedList<ActivityEvent>(); 115private DiagLinkedList<ActivityEvent>? _events; 354/// Events is the list of all <see cref="ActivityEvent" /> objects attached to this Activity object. 355/// If there is not any <see cref="ActivityEvent" /> object attached to the Activity object, Events will return empty list. 357public IEnumerable<ActivityEvent> Events 419/// Enumerate the <see cref="ActivityEvent" /> objects attached to this Activity object. 422public Enumerator<ActivityEvent> EnumerateEvents() => new Enumerator<ActivityEvent>(_events?.First); 526/// Add <see cref="ActivityEvent" /> object to the <see cref="Events" /> list. 528/// <param name="e"> object of <see cref="ActivityEvent"/> to add to the attached events list.</param> 530public Activity AddEvent(ActivityEvent e) 532if (_events != null || Interlocked.CompareExchange(ref _events, new DiagLinkedList<ActivityEvent>(e), null) != null) 541/// Add an <see cref="ActivityEvent" /> object containing the exception information to the <see cref="Events" /> list. 551/// before the <see cref="ActivityEvent" /> object is added to the <see cref="Events" /> list.</para> 2190public List<ActivityEvent> Events => new List<ActivityEvent>(activity.Events);
System\Diagnostics\ActivityEvent.cs (5)
19/// Initializes a new instance of the <see cref="ActivityEvent"/> class. 27/// Initializes a new instance of the <see cref="ActivityEvent"/> class. 45/// Gets the <see cref="ActivityEvent"/> name. 50/// Gets the <see cref="ActivityEvent"/> timestamp. 60/// Enumerate the tags attached to this <see cref="ActivityEvent"/> object.
System\Diagnostics\ActivityTagsCollection.cs (1)
12/// This collection will be used with classes like <see cref="ActivityEvent"/> and <see cref="ActivityLink"/>.
System\Diagnostics\DiagLinkedList.cs (4)
187private static void ActivityEventToString(ref ActivityEvent ae, ref ValueStringBuilder vsb) 238else if (typeof(T) == typeof(ActivityEvent)) 242ActivityEvent ae = (ActivityEvent)(object)current.Value!;
System\Diagnostics\DsesActivitySourceListener.cs (1)
166[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(ActivityEvent))]