Diagnostics\ProfilingTelemetry.cs (63)
881public void SetDcpKubeconfigExists(bool exists) => SetTag(Tags.DcpKubeconfigExists, exists);
883public void SetDcpKubeconfigLockWait(long elapsedMilliseconds) => SetTag(Tags.DcpKubeconfigLockWaitMilliseconds, elapsedMilliseconds);
885public void SetDcpKubeconfigFileWait(long elapsedMilliseconds) => SetTag(Tags.DcpKubeconfigFileWaitMilliseconds, elapsedMilliseconds);
887public void SetDcpKubeconfigBuildDuration(long elapsedMilliseconds) => SetTag(Tags.DcpKubeconfigBuildDurationMilliseconds, elapsedMilliseconds);
889public void SetDcpKubeconfigReadDuration(long elapsedMilliseconds) => SetTag(Tags.DcpKubeconfigReadDurationMilliseconds, elapsedMilliseconds);
895SetTag(Tags.DcpKubernetesClientWaitMilliseconds, waitMilliseconds);
896SetTag(Tags.DcpKubernetesClientInitialized, initialized);
906SetTag(Tags.DcpApiOperation, operationType.ToString());
907SetTag(Tags.DcpResourceKind, resourceType);
910public void SetDcpTlsDeveloperCertificateEnabled(bool enabled) => SetTag(Tags.DcpTlsDeveloperCertificateEnabled, enabled);
914SetTag(Tags.DcpTlsCertificateResult, result);
915SetTag(Tags.DcpTlsCertificatePrepared, prepared);
919SetTag(Tags.DcpTlsCertificateMode, mode);
923public void SetAppHostEntryPoint(string entryPoint) => SetTag(Tags.AppHostEntryPoint, entryPoint);
925public void SetAppHostEventSubscriberCount(int subscriberCount) => SetTag(Tags.AppHostEventSubscriberCount, subscriberCount);
927public void SetAppHostLifecycleHookCount(int lifecycleHookCount) => SetTag(Tags.AppHostLifecycleHookCount, lifecycleHookCount);
929public void SetAppHostPipelineStep(string pipelineStep) => SetTag(Tags.AppHostPipelineStep, pipelineStep);
931public void SetAppHostComponentType(Type componentType) => SetTag(Tags.AppHostComponentType, componentType.FullName);
935SetTag(Tags.AppHostEventType, eventType.FullName);
936SetTag(Tags.AppHostEventDispatchBehavior, dispatchBehavior);
939public void SetDcpKubernetesClientAlreadyInitialized() => SetTag(Tags.DcpKubernetesClientAlreadyInitialized, true);
941public void SetBackchannelSocketPath(string socketPath) => SetTag(Tags.BackchannelSocketPath, socketPath);
957SetTag(Tags.JsonRpcMethod, methodName);
958SetTag(Tags.JsonRpcStreaming, streaming);
961public void SetJsonRpcStreamItemCount(int count) => SetTag(Tags.JsonRpcStreamItemCount, count);
963public void SetDashboardHealthy(bool healthy) => SetTag(Tags.DashboardHealthy, healthy);
965public void SetDashboardUrlSource(string source) => SetTag(Tags.DashboardUrlSource, source);
967public void SetDashboardHasApiBaseUrl(bool hasApiBaseUrl) => SetTag(Tags.DashboardHasApiBaseUrl, hasApiBaseUrl);
971SetTag(Tags.DcpContainerCount, containerCount);
972SetTag(Tags.DcpExecutableCount, executableCount);
977SetTag(Tags.DcpResourceKind, resourceKind);
978SetTag(Tags.DcpResourceName, resourceName);
983SetTag(Tags.DcpResourceKind, resourceKind);
984SetTag(Tags.DcpResourceCount, resourceCount);
987public void SetDcpServiceAllocatedCount(int count) => SetTag(Tags.DcpServiceAllocatedCount, count);
989public void SetDcpServiceCount(int count) => SetTag(Tags.DcpServiceCount, count);
991public void SetDcpApiRetryCount(int retryCount) => SetTag(Tags.DcpApiRetryCount, retryCount);
996SetTag(Tags.ResourceWaitType, waitType.ToString());
997SetTag(Tags.ResourceWaitDependencyName, dependency.Name);
998SetTag(Tags.ResourceWaitDependencyType, dependency.GetType().Name);
999SetTag(Tags.ResourceWaitBehavior, waitBehavior?.ToString());
1019SetTag(Tags.ResourceName, resource.Name);
1020SetTag(Tags.ResourceType, resource.GetType().Name);
1023public void SetResourceCount(int count) => SetTag(Tags.ResourceCount, count);
1027SetTag(Tags.ResourceKind, resourceKind);
1028SetTag(Tags.ResourceReplicaCount, replicaCount);
1031public void SetResourceKind(string resourceKind) => SetTag(Tags.ResourceKind, resourceKind);
1036SetTag(Tags.ResourceId, resourceId);
1037SetTag(Tags.ResourceSnapshotVersion, snapshot.Version);
1038SetTag(Tags.ResourceReady, snapshot.ResourceReadyEvent is not null);
1039SetTag(Tags.ResourceState, snapshot.State?.Text);
1040SetTag(Tags.ResourceHealthStatus, snapshot.HealthStatus?.ToString());
1041SetTag(Tags.ResourceStartTime, snapshot.StartTimeStamp?.ToString("O", CultureInfo.InvariantCulture));
1042SetTag(Tags.ResourceStopTime, snapshot.StopTimeStamp?.ToString("O", CultureInfo.InvariantCulture));
1046SetTag(Tags.ResourceExitCode, exitCode);
1064SetTag(Tags.ResourceState, state);
1065SetTag(Tags.ResourceStartTime, startupTimestamp?.ToString("O", CultureInfo.InvariantCulture));
1066SetTag(Tags.ResourceStopTime, finishedTimestamp?.ToString("O", CultureInfo.InvariantCulture));
1069public void SetResourceStopped(bool stopped) => SetTag(Tags.ResourceStopped, stopped);
1071public void SetResourceWaitDependencyCount(int count) => SetTag(Tags.ResourceWaitDependencyCount, count);
1073public void SetResourceWaitExpectedExitCode(int exitCode) => SetTag(Tags.ResourceWaitExpectedExitCode, exitCode);
1077SetTag(Tags.ResourceWaitTargetName, resourceName);
1078SetTag(Tags.ResourceWaitCondition, waitCondition);