5 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));
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));
25 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>.
System.Diagnostics.DiagnosticSource (22)
System\Diagnostics\Activity.cs (15)
62private static readonly IEnumerable<ActivityEvent> s_emptyEvents = new ActivityEvent[0]; 112private DiagLinkedList<ActivityEvent>? _events; 351/// Events is the list of all <see cref="ActivityEvent" /> objects attached to this Activity object. 352/// If there is not any <see cref="ActivityEvent" /> object attached to the Activity object, Events will return empty list. 354public IEnumerable<ActivityEvent> Events 416/// Enumerate the <see cref="ActivityEvent" /> objects attached to this Activity object. 419public Enumerator<ActivityEvent> EnumerateEvents() => new Enumerator<ActivityEvent>(_events?.First); 523/// Add <see cref="ActivityEvent" /> object to the <see cref="Events" /> list. 525/// <param name="e"> object of <see cref="ActivityEvent"/> to add to the attached events list.</param> 527public Activity AddEvent(ActivityEvent e) 529if (_events != null || Interlocked.CompareExchange(ref _events, new DiagLinkedList<ActivityEvent>(e), null) != null) 538/// Add an <see cref="ActivityEvent" /> object containing the exception information to the <see cref="Events" /> list. 548/// before the <see cref="ActivityEvent" /> object is added to the <see cref="Events" /> list.</para>
System\Diagnostics\ActivityEvent.cs (5)
18/// Initializes a new instance of the <see cref="ActivityEvent"/> class. 26/// Initializes a new instance of the <see cref="ActivityEvent"/> class. 44/// Gets the <see cref="ActivityEvent"/> name. 49/// Gets the <see cref="ActivityEvent"/> timestamp. 59/// 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\DsesActivitySourceListener.cs (1)
166[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(ActivityEvent))]