27 references to ActivityEvent
aspire (5)
Projects\ProcessGuestLauncher.cs (1)
212
activity.AddEvent(new
ActivityEvent
(eventName, tags: new ActivityTagsCollection
Telemetry\AspireCliTelemetry.cs (2)
219
activity.AddEvent(new
ActivityEvent
(TelemetryConstants.Events.Error, tags: tags));
493
activity.AddEvent(new
ActivityEvent
(TelemetryConstants.Events.InternalMicrosoftProbe, tags: tags));
Telemetry\ProfilingTelemetry.cs (2)
833
activity?.AddEvent(new
ActivityEvent
(Events.BackchannelConnectAttempt, tags: new ActivityTagsCollection
874
activity?.AddEvent(new
ActivityEvent
(Events.DotNetProcessStarted, tags: new ActivityTagsCollection
Aspire.Hosting (9)
Diagnostics\ProfilingTelemetry.cs (9)
779
activity?.AddEvent(new
ActivityEvent
(Events.DcpServiceAddressAllocated, tags: new ActivityTagsCollection
787
activity?.AddEvent(new
ActivityEvent
(Events.DcpServiceAddressAllocationFailed, tags: new ActivityTagsCollection
806
activity.AddEvent(new
ActivityEvent
(startupEvent.Name, startupEvent.Timestamp));
816
activity?.AddEvent(new
ActivityEvent
(Events.KubernetesApiRetry, tags: new ActivityTagsCollection
839
activity?.AddEvent(new
ActivityEvent
(Events.ResourceWaitCancelled, tags: new ActivityTagsCollection
897
activity?.AddEvent(new
ActivityEvent
(Events.KubernetesClientReady, tags: new ActivityTagsCollection
1010
activity.AddEvent(new
ActivityEvent
(Events.Exception, tags: new ActivityTagsCollection
1124
activity.AddEvent(new
ActivityEvent
(eventName, tags: tags));
1170
activity.AddEvent(new
ActivityEvent
(eventName, timestamp, tags));
Aspire.Hosting.RemoteHost (2)
Diagnostics\RemoteHostProfilingTelemetry.cs (2)
369
activity?.AddEvent(new
ActivityEvent
(Events.JsonRpcClientConnected, tags: new ActivityTagsCollection
451
activity.AddEvent(new
ActivityEvent
(Events.Exception, tags: new ActivityTagsCollection
Aspire.StackExchange.Redis (3)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (3)
226
activity.AddEvent(new
ActivityEvent
("Enqueued", enqueued));
227
activity.AddEvent(new
ActivityEvent
("Sent", send));
228
activity.AddEvent(new
ActivityEvent
("ResponseReceived", response));
dotnet-aot (1)
parent\dotnet\Telemetry\TelemetryClient.cs (1)
359
var @event = new
ActivityEvent
($"dotnet/cli/{eventName}", tags: MakeTags(properties));
Stress.ApiService (6)
Program.cs (5)
850
activity.AddEvent(new
ActivityEvent
("gen_ai.evaluation.result", tags: eval1Tags));
860
activity.AddEvent(new
ActivityEvent
("gen_ai.evaluation.result", tags: eval2Tags));
870
activity.AddEvent(new
ActivityEvent
("gen_ai.evaluation.result", tags: eval3Tags));
881
activity.AddEvent(new
ActivityEvent
("gen_ai.evaluation.result", tags: eval4Tags));
889
activity.AddEvent(new
ActivityEvent
("gen_ai.evaluation.result", tags: eval5Tags));
TraceCreator.cs (1)
126
activity.AddEvent(new
ActivityEvent
($"event-{i}", DateTimeOffset.UtcNow.AddMilliseconds(1), activityTags));
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\ActivityEvent.cs (1)
22
public ActivityEvent(string name) :
this
(name, DateTimeOffset.UtcNow, tags: null)