40 references to Events
Aspire.Hosting (38)
Diagnostics\ProfilingTelemetry.cs (29)
779
activity?.AddEvent(new ActivityEvent(
Events
.DcpServiceAddressAllocated, tags: new ActivityTagsCollection
787
activity?.AddEvent(new ActivityEvent(
Events
.DcpServiceAddressAllocationFailed, tags: new ActivityTagsCollection
793
public void AddAppHostHostStarting() => AddEvent(
Events
.AppHostHostStarting);
795
public void AddAppHostHostStarted() => AddEvent(
Events
.AppHostHostStarted);
810
public void AddKubeconfigLockAcquired() => AddEvent(
Events
.KubeconfigLockAcquired);
812
public void AddKubeconfigReadComplete() => AddEvent(
Events
.KubeconfigReadComplete);
816
activity?.AddEvent(new ActivityEvent(
Events
.KubernetesApiRetry, tags: new ActivityTagsCollection
825
public void AddKubernetesApiTimeout() => AddEvent(
Events
.KubernetesApiTimeout);
827
public void AddKubernetesClientCreated() => AddEvent(
Events
.KubernetesClientCreated);
829
public void AddJsonRpcStreamFirstItemEvent() => AddEvent(
Events
.JsonRpcStreamFirstItem);
831
public void AddJsonRpcStreamCompletedEvent() => AddEvent(
Events
.JsonRpcStreamCompleted);
833
public void AddDashboardWaitHealthyCompleted() => AddEvent(
Events
.DashboardWaitHealthyCompleted);
835
public void AddDashboardWaitHealthyFailed() => AddEvent(
Events
.DashboardWaitHealthyFailed);
839
activity?.AddEvent(new ActivityEvent(
Events
.ResourceWaitCancelled, tags: new ActivityTagsCollection
847
AddResourceWaitEvent(
Events
.ResourceWaitCompleted, resourceEvent, waitCondition);
850
AddResourceWaitEvent(
Events
.ResourceWaitObserved, resourceEvent, waitCondition);
891
public void AddKubeconfigFileDetected() => AddEvent(
Events
.KubeconfigFileDetected);
897
activity?.AddEvent(new ActivityEvent(
Events
.KubernetesClientReady, tags: new ActivityTagsCollection
943
public void AddBackchannelSocketDeleted() => AddEvent(
Events
.BackchannelSocketDeleted);
945
public void AddBackchannelListening() => AddEvent(
Events
.BackchannelListening);
947
public void AddBackchannelReadyPublished() => AddEvent(
Events
.BackchannelReadyPublished);
949
public void AddBackchannelClientAccepted() => AddEvent(
Events
.BackchannelClientAccepted);
951
public void AddBackchannelRpcListening() => AddEvent(
Events
.BackchannelRpcListening);
953
public void AddBackchannelConnectedPublished() => AddEvent(
Events
.BackchannelConnectedPublished);
1010
activity.AddEvent(new ActivityEvent(
Events
.Exception, tags: new ActivityTagsCollection
1051
AddResourceStartupEvent(
Events
.ResourceStartupObserved, snapshot, timestamp);
1054
AddResourceStartupEvent(
Events
.ResourceStartupStateChanged, snapshot, timestamp, previousState: previousState);
1057
AddResourceStartupEvent(
Events
.ResourceStartupHealthChanged, snapshot, timestamp, previousHealthStatus: previousHealthStatus);
1060
AddResourceStartupEvent(
Events
.ResourceStartupReady, snapshot, timestamp);
DistributedApplication.cs (5)
161
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostCreateBuilderEntered);
209
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostCreateBuilderEntered);
227
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostCreateBuilderEntered);
453
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostStartAsyncEntered, configuration);
523
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostRunAsyncEntered, configuration);
DistributedApplicationBuilder.cs (4)
189
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostBuilderConstructing);
625
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostBuilderConstructed, _innerBuilder.Configuration);
821
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostBuildStarted, _innerBuilder.Configuration);
844
ProfilingTelemetry.RecordAppHostStartupEvent(ProfilingTelemetry.
Events
.AppHostBuildCompleted, _innerBuilder.Configuration);
Aspire.Hosting.Tests (2)
DistributedApplicationTests.cs (2)
161
Assert.Contains(appHostStartActivity.Events, @event => @event.Name == ProfilingTelemetry.
Events
.Exception);
184
Assert.DoesNotContain(hostStartupActivity.Events, @event => @event.Name == ProfilingTelemetry.
Events
.AppHostHostStarted);