Telemetry\ProfilingTelemetry.cs (96)
901public void SetAppHostBackchannelConnected(bool connected) => SetTag(Tags.AppHostBackchannelConnected, connected);
903public void SetAppHostBuildSuccess(bool buildSuccess) => SetTag(Tags.AppHostBuildSuccess, buildSuccess);
905public void SetAddConfiguredChannel(string? configuredChannel) => SetTag(Tags.AddConfiguredChannel, configuredChannel);
909SetTag(Tags.AddIntegrationName, integrationName);
910SetTag(Tags.AddVersionSpecified, !string.IsNullOrEmpty(version));
911SetTag(Tags.AddSourceSpecified, !string.IsNullOrEmpty(source));
917SetTag(Tags.AddPackageId, packageId);
918SetTag(Tags.AddPackageVersion, packageVersion);
923SetTag(Tags.AddIntegrationName, integrationName);
924SetTag(Tags.AddVersionSpecified, !string.IsNullOrEmpty(version));
929SetTag(Tags.AddPackageMatchCount, count);
930SetTag(Tags.AddPackageMatchKind, matchKind);
933public void SetAddPackageSearchResultCount(int count) => SetTag(Tags.AddPackageSearchResultCount, count);
935public void SetAddPackageSuccess(bool success) => SetTag(Tags.AddPackageSuccess, success);
937public void SetAddSourceSpecified(bool sourceSpecified) => SetTag(Tags.AddSourceSpecified, sourceSpecified);
942SetTag(Tags.AddPackageChannel, channelName);
956SetTag(Tags.AppHostIsCompatible, isCompatible);
957SetTag(Tags.AppHostSupportsBackchannel, supportsBackchannel);
958SetTag(Tags.AppHostAspireHostingVersion, aspireHostingVersion);
963SetTag(Tags.AppHostDashboardHealthy, dashboardUrls?.DashboardHealthy);
964SetTag(Tags.AppHostDashboardHasUrl, !string.IsNullOrEmpty(dashboardUrls?.BaseUrlWithLoginToken));
965SetTag(Tags.AppHostDashboardHasCodespacesUrl, !string.IsNullOrEmpty(dashboardUrls?.CodespacesUrlWithLoginToken));
968public void SetAppHostDashboardHealthy(bool? healthy) => SetTag(Tags.AppHostDashboardHealthy, healthy);
970public void SetAppHostDiscoveryScope(string discoveryScope) => SetTag(Tags.AppHostDiscoveryScope, discoveryScope);
972public void SetAppHostDiscoverySearchDirectory(DirectoryInfo searchDirectory) => SetTag(Tags.AppHostDiscoverySearchDirectory, searchDirectory.FullName);
974public void SetAppHostDiscoverySource(string source) => SetTag(Tags.AppHostDiscoverySource, source);
976public void SetAppHostDiscoveryPatternCount(int count) => SetTag(Tags.AppHostDiscoveryPatternCount, count);
978public void SetAppHostDiscoveryIncludedFileCount(int count) => SetTag(Tags.AppHostDiscoveryIncludedFileCount, count);
982SetTag(Tags.AppHostDiscoveryWalkFileCount, files);
983SetTag(Tags.AppHostDiscoveryWalkDirectoryCount, directories);
984SetTag(Tags.AppHostDiscoveryWalkSkippedDirectoryCount, skippedDirectories);
987public void SetAppHostDiscoverySkipListEnabled(bool enabled) => SetTag(Tags.AppHostDiscoverySkipListEnabled, enabled);
989public void SetAppHostDiscoveryNuGetCacheExcluded(bool excluded) => SetTag(Tags.AppHostDiscoveryNuGetCacheExcluded, excluded);
991public void SetAppHostCandidateCount(int count) => SetTag(Tags.AppHostCandidateCount, count);
993public void SetAppHostServerImplementation(string implementationName) => SetTag(Tags.AppHostServerImplementation, implementationName);
995public void SetAppHostExtensionHasBuildCapability(bool hasCapability) => SetTag(Tags.AppHostExtensionHasBuildCapability, hasCapability);
997public void SetAppHostExtensionHost(bool extensionHost) => SetTag(Tags.AppHostExtensionHost, extensionHost);
999public void SetAppHostLanguage(string? languageId) => SetTag(Tags.AppHostLanguage, languageId);
1001public void SetAppHostNoBuild(bool noBuild) => SetTag(Tags.AppHostNoBuild, noBuild);
1003public void SetAppHostNoRestore(bool noRestore) => SetTag(Tags.AppHostNoRestore, noRestore);
1005public void SetAppHostProjectFileSpecified(bool specified) => SetTag(Tags.AppHostProjectFileSpecified, specified);
1007public void SetAppHostRunningInstanceResult(object? result) => SetTag(Tags.AppHostRunningInstanceResult, result?.ToString());
1009public void SetAppHostStopAll(bool stopAll) => SetTag(Tags.AppHostStopAll, stopAll);
1011public void SetAppHostStopCount(int count) => SetTag(Tags.AppHostStopCount, count);
1013public void SetAppHostWatch(bool watch) => SetTag(Tags.AppHostWatch, watch);
1015public void SetAppHostWaitForDebugger(bool waitForDebugger) => SetTag(Tags.AppHostWaitForDebugger, waitForDebugger);
1017public void SetBackchannelAutoReconnect(bool autoReconnect) => SetTag(Tags.BackchannelAutoReconnect, autoReconnect);
1021SetTag(Tags.BackchannelCapabilityCount, capabilities.Length);
1022SetTag(Tags.BackchannelHasBaselineCapability, capabilities.Any(capability => capability == baselineCapability));
1025public void SetBackchannelExpectedHash(string expectedHash) => SetTag(Tags.BackchannelExpectedHash, expectedHash);
1027public void SetBackchannelHasLegacyHash(bool hasLegacyHash) => SetTag(Tags.BackchannelHasLegacyHash, hasLegacyHash);
1029public void SetBackchannelRetryCount(int retryCount) => SetTag(Tags.BackchannelRetryCount, retryCount);
1031public void SetBackchannelScanCount(int scanCount) => SetTag(Tags.BackchannelScanCount, scanCount);
1033public void SetBackchannelSocketFile(string socketPath) => SetTag(Tags.BackchannelSocketFile, Path.GetFileName(socketPath));
1035public void SetChildCommand(string command) => SetTag(Tags.ChildCommand, command);
1037public void SetCommandName(string commandName) => SetTag(TelemetryConstants.Tags.CommandName, commandName);
1039public void SetDevCertificateEnvironmentVariables(int count) => SetTag(Tags.DevCertificateEnvironmentVariableCount, count);
1041public void SetDotNetArgsCount(int argsCount) => SetTag(Tags.DotNetArgsCount, argsCount);
1045SetTag(Tags.DotNetBinlogEnabled, true);
1046SetTag(Tags.DotNetBinlogPath, binlogPath);
1047SetTag(Tags.DotNetBinlogArtifactType, Values.MsBuildBinlog);
1052SetTag(Tags.DotNetBinlogEnabled, false);
1053SetTag(Tags.DotNetBinlogSkipReason, Values.UnsupportedDotNetCommand);
1058SetTag(Tags.DotNetCommand, dotnetCommand);
1059SetTag(Tags.DotNetProjectFile, projectFile?.FullName);
1060SetTag(Tags.DotNetWorkingDirectory, workingDirectory.FullName);
1061SetTag(Tags.DotNetNoLaunchProfile, options.NoLaunchProfile);
1062SetTag(Tags.DotNetStartDebugSession, options.StartDebugSession);
1063SetTag(Tags.DotNetDebug, options.Debug);
1068SetTag(Tags.GuestRuntimeLanguage, languageId);
1069SetTag(Tags.GuestRuntimeDisplayName, displayName);
1070SetTag(Tags.GuestCommand, command);
1071SetTag(Tags.GuestCommandPhase, phase);
1072SetTag(Tags.GuestWorkingDirectory, workingDirectory.FullName);
1078SetTag(Tags.GitCommand, command);
1079SetTag(Tags.GitWorkingDirectory, workingDirectory.FullName);
1085SetTag(Tags.GitStdoutLength, stdoutLength);
1086SetTag(Tags.GitStderrLength, stderrLength);
1091SetTag(Tags.JsonRpcConnection, connectionName);
1092SetTag(Tags.JsonRpcMethod, methodName);
1093SetTag(Tags.JsonRpcStreaming, streaming);
1096public void SetJsonRpcStreamItemCount(int count) => SetTag(Tags.JsonRpcStreamItemCount, count);
1098public void SetProfileCaptureDelay(TimeSpan delay) => SetTag(Tags.ProfileCaptureDelayMilliseconds, delay.TotalMilliseconds);
1126SetTag(Tags.NpmCommand, command);
1127SetTag(Tags.NpmWorkingDirectory, workingDirectory);
1133SetTag(Tags.LsOutputFormat, outputFormat);
1134SetTag(Tags.LsIncludeAll, includeAll);
1137public void SetDotNetMsBuildServer(string? msBuildServer) => SetTag(Tags.DotNetMsBuildServer, msBuildServer);
1159SetTag(Tags.DotNetStdoutLines, stdoutLineCount);
1160SetTag(Tags.DotNetStderrLines, stderrLineCount);
1172public void SetProcessCommandArgsCount(int argsCount) => SetTag(Tags.ProcessCommandArgsCount, argsCount);
1174public void SetProcessCommandArgs(IReadOnlyList<string> args) => SetTag(Tags.ProcessCommandArgs, args.ToArray());
1176public void SetProcessExecutableName(string? executableName) => SetTag(TelemetryConstants.Tags.ProcessExecutableName, executableName);
1178public void SetProcessExecutablePath(string? executablePath) => SetTag(TelemetryConstants.Tags.ProcessExecutablePath, executablePath);
1180public void SetProcessExitCode(int exitCode) => SetTag(TelemetryConstants.Tags.ProcessExitCode, exitCode);
1182public void SetProcessId(int processId) => SetTag(TelemetryConstants.Tags.ProcessPid, processId);