Telemetry\ProfilingTelemetry.cs (94)
897public void SetAppHostBackchannelConnected(bool connected) => SetTag(Tags.AppHostBackchannelConnected, connected);
899public void SetAppHostBuildSuccess(bool buildSuccess) => SetTag(Tags.AppHostBuildSuccess, buildSuccess);
901public void SetAddConfiguredChannel(string? configuredChannel) => SetTag(Tags.AddConfiguredChannel, configuredChannel);
905SetTag(Tags.AddIntegrationName, integrationName);
906SetTag(Tags.AddVersionSpecified, !string.IsNullOrEmpty(version));
907SetTag(Tags.AddSourceSpecified, !string.IsNullOrEmpty(source));
913SetTag(Tags.AddPackageId, packageId);
914SetTag(Tags.AddPackageVersion, packageVersion);
919SetTag(Tags.AddIntegrationName, integrationName);
920SetTag(Tags.AddVersionSpecified, !string.IsNullOrEmpty(version));
925SetTag(Tags.AddPackageMatchCount, count);
926SetTag(Tags.AddPackageMatchKind, matchKind);
929public void SetAddPackageSearchResultCount(int count) => SetTag(Tags.AddPackageSearchResultCount, count);
931public void SetAddPackageSuccess(bool success) => SetTag(Tags.AddPackageSuccess, success);
933public void SetAddSourceSpecified(bool sourceSpecified) => SetTag(Tags.AddSourceSpecified, sourceSpecified);
938SetTag(Tags.AddPackageChannel, channelName);
952SetTag(Tags.AppHostIsCompatible, isCompatible);
953SetTag(Tags.AppHostSupportsBackchannel, supportsBackchannel);
954SetTag(Tags.AppHostAspireHostingVersion, aspireHostingVersion);
959SetTag(Tags.AppHostDashboardHealthy, dashboardUrls?.DashboardHealthy);
960SetTag(Tags.AppHostDashboardHasUrl, !string.IsNullOrEmpty(dashboardUrls?.BaseUrlWithLoginToken));
961SetTag(Tags.AppHostDashboardHasCodespacesUrl, !string.IsNullOrEmpty(dashboardUrls?.CodespacesUrlWithLoginToken));
964public void SetAppHostDashboardHealthy(bool? healthy) => SetTag(Tags.AppHostDashboardHealthy, healthy);
966public void SetAppHostDiscoveryScope(string discoveryScope) => SetTag(Tags.AppHostDiscoveryScope, discoveryScope);
968public void SetAppHostDiscoverySearchDirectory(DirectoryInfo searchDirectory) => SetTag(Tags.AppHostDiscoverySearchDirectory, searchDirectory.FullName);
970public void SetAppHostDiscoverySource(string source) => SetTag(Tags.AppHostDiscoverySource, source);
972public void SetAppHostDiscoveryPatternCount(int count) => SetTag(Tags.AppHostDiscoveryPatternCount, count);
974public void SetAppHostDiscoveryIncludedFileCount(int count) => SetTag(Tags.AppHostDiscoveryIncludedFileCount, count);
978SetTag(Tags.AppHostDiscoveryWalkFileCount, files);
979SetTag(Tags.AppHostDiscoveryWalkDirectoryCount, directories);
980SetTag(Tags.AppHostDiscoveryWalkSkippedDirectoryCount, skippedDirectories);
983public void SetAppHostDiscoverySkipListEnabled(bool enabled) => SetTag(Tags.AppHostDiscoverySkipListEnabled, enabled);
985public void SetAppHostDiscoveryNuGetCacheExcluded(bool excluded) => SetTag(Tags.AppHostDiscoveryNuGetCacheExcluded, excluded);
987public void SetAppHostCandidateCount(int count) => SetTag(Tags.AppHostCandidateCount, count);
989public void SetAppHostServerImplementation(string implementationName) => SetTag(Tags.AppHostServerImplementation, implementationName);
991public void SetAppHostExtensionHasBuildCapability(bool hasCapability) => SetTag(Tags.AppHostExtensionHasBuildCapability, hasCapability);
993public void SetAppHostExtensionHost(bool extensionHost) => SetTag(Tags.AppHostExtensionHost, extensionHost);
995public void SetAppHostLanguage(string? languageId) => SetTag(Tags.AppHostLanguage, languageId);
997public void SetAppHostNoBuild(bool noBuild) => SetTag(Tags.AppHostNoBuild, noBuild);
999public void SetAppHostNoRestore(bool noRestore) => SetTag(Tags.AppHostNoRestore, noRestore);
1001public void SetAppHostProjectFileSpecified(bool specified) => SetTag(Tags.AppHostProjectFileSpecified, specified);
1003public void SetAppHostRunningInstanceResult(object? result) => SetTag(Tags.AppHostRunningInstanceResult, result?.ToString());
1005public void SetAppHostStopAll(bool stopAll) => SetTag(Tags.AppHostStopAll, stopAll);
1007public void SetAppHostStopCount(int count) => SetTag(Tags.AppHostStopCount, count);
1009public void SetAppHostWatch(bool watch) => SetTag(Tags.AppHostWatch, watch);
1011public void SetAppHostWaitForDebugger(bool waitForDebugger) => SetTag(Tags.AppHostWaitForDebugger, waitForDebugger);
1013public void SetBackchannelAutoReconnect(bool autoReconnect) => SetTag(Tags.BackchannelAutoReconnect, autoReconnect);
1017SetTag(Tags.BackchannelCapabilityCount, capabilities.Length);
1018SetTag(Tags.BackchannelHasBaselineCapability, capabilities.Any(capability => capability == baselineCapability));
1021public void SetBackchannelRetryCount(int retryCount) => SetTag(Tags.BackchannelRetryCount, retryCount);
1023public void SetBackchannelScanCount(int scanCount) => SetTag(Tags.BackchannelScanCount, scanCount);
1025public void SetBackchannelSocketFile(string socketPath) => SetTag(Tags.BackchannelSocketFile, Path.GetFileName(socketPath));
1027public void SetChildCommand(string command) => SetTag(Tags.ChildCommand, command);
1029public void SetCommandName(string commandName) => SetTag(TelemetryConstants.Tags.CommandName, commandName);
1031public void SetDevCertificateEnvironmentVariables(int count) => SetTag(Tags.DevCertificateEnvironmentVariableCount, count);
1033public void SetDotNetArgsCount(int argsCount) => SetTag(Tags.DotNetArgsCount, argsCount);
1037SetTag(Tags.DotNetBinlogEnabled, true);
1038SetTag(Tags.DotNetBinlogPath, binlogPath);
1039SetTag(Tags.DotNetBinlogArtifactType, Values.MsBuildBinlog);
1044SetTag(Tags.DotNetBinlogEnabled, false);
1045SetTag(Tags.DotNetBinlogSkipReason, Values.UnsupportedDotNetCommand);
1050SetTag(Tags.DotNetCommand, dotnetCommand);
1051SetTag(Tags.DotNetProjectFile, projectFile?.FullName);
1052SetTag(Tags.DotNetWorkingDirectory, workingDirectory.FullName);
1053SetTag(Tags.DotNetNoLaunchProfile, options.NoLaunchProfile);
1054SetTag(Tags.DotNetStartDebugSession, options.StartDebugSession);
1055SetTag(Tags.DotNetDebug, options.Debug);
1060SetTag(Tags.GuestRuntimeLanguage, languageId);
1061SetTag(Tags.GuestRuntimeDisplayName, displayName);
1062SetTag(Tags.GuestCommand, command);
1063SetTag(Tags.GuestCommandPhase, phase);
1064SetTag(Tags.GuestWorkingDirectory, workingDirectory.FullName);
1070SetTag(Tags.GitCommand, command);
1071SetTag(Tags.GitWorkingDirectory, workingDirectory.FullName);
1077SetTag(Tags.GitStdoutLength, stdoutLength);
1078SetTag(Tags.GitStderrLength, stderrLength);
1083SetTag(Tags.JsonRpcConnection, connectionName);
1084SetTag(Tags.JsonRpcMethod, methodName);
1085SetTag(Tags.JsonRpcStreaming, streaming);
1088public void SetJsonRpcStreamItemCount(int count) => SetTag(Tags.JsonRpcStreamItemCount, count);
1090public void SetProfileCaptureDelay(TimeSpan delay) => SetTag(Tags.ProfileCaptureDelayMilliseconds, delay.TotalMilliseconds);
1118SetTag(Tags.NpmCommand, command);
1119SetTag(Tags.NpmWorkingDirectory, workingDirectory);
1125SetTag(Tags.LsOutputFormat, outputFormat);
1126SetTag(Tags.LsIncludeAll, includeAll);
1129public void SetDotNetMsBuildServer(string? msBuildServer) => SetTag(Tags.DotNetMsBuildServer, msBuildServer);
1151SetTag(Tags.DotNetStdoutLines, stdoutLineCount);
1152SetTag(Tags.DotNetStderrLines, stderrLineCount);
1164public void SetProcessCommandArgsCount(int argsCount) => SetTag(Tags.ProcessCommandArgsCount, argsCount);
1166public void SetProcessCommandArgs(IReadOnlyList<string> args) => SetTag(Tags.ProcessCommandArgs, args.ToArray());
1168public void SetProcessExecutableName(string? executableName) => SetTag(TelemetryConstants.Tags.ProcessExecutableName, executableName);
1170public void SetProcessExecutablePath(string? executablePath) => SetTag(TelemetryConstants.Tags.ProcessExecutablePath, executablePath);
1172public void SetProcessExitCode(int exitCode) => SetTag(TelemetryConstants.Tags.ProcessExitCode, exitCode);
1174public void SetProcessId(int processId) => SetTag(TelemetryConstants.Tags.ProcessPid, processId);