Skip to content

Use OTel for telemetry#53181

Draft
MiYanni wants to merge 57 commits intodotnet:mainfrom
MiYanni:OtelMaybeDiskMain
Draft

Use OTel for telemetry#53181
MiYanni wants to merge 57 commits intodotnet:mainfrom
MiYanni:OtelMaybeDiskMain

Conversation

@MiYanni
Copy link
Member

@MiYanni MiYanni commented Feb 27, 2026

Fixes: #49668

WIP

baronfel and others added 30 commits October 23, 2025 15:46
…nts and several nullable disable removals. Changed s_source to Source as a static property.
…ader and ToolPackageDownloaderBase since those will be updated in main. Not interested in cleaning up test files.
…ior logic. Cleaned up disk logger activity model.
…s it was previously. Added test connection string. Using tags instead of tagObjects for activities.
# Conflicts:
#	Directory.Packages.props
#	src/Cli/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj
#	src/Cli/dotnet/CommandDirectoryContext.cs
#	src/Cli/dotnet/Commands/Hidden/InternalReportInstallSuccess/InternalReportInstallSuccessCommand.cs
#	src/Cli/dotnet/Commands/MSBuild/MSBuildLogger.cs
#	src/Cli/dotnet/Commands/New/BuiltInTemplatePackageProvider.cs
#	src/Cli/dotnet/Commands/New/OptionalWorkloadProvider.cs
#	src/Cli/dotnet/CommonOptionsFactory.cs
#	src/Cli/dotnet/Extensions/ParseResultExtensions.cs
#	src/Cli/dotnet/Parser.cs
#	src/Cli/dotnet/Program.cs
#	src/Cli/dotnet/dotnet.csproj
#	test/dotnet.Tests/TelemetryTests/SenderTests.cs
#	test/dotnet.Tests/TelemetryTests/StorageTests.cs
MiYanni added 18 commits March 2, 2026 16:31
…tTelemetryCommonProperties and associated tests.
…ntly. This should be split into DotNetCommand and DotNetCommandParser, but that creates many file changes.
…longer conflict with the built-in ActivityContext. Moved Program.cs logic for determining parent ActivityContext over to TelemetryClient.cs. Fixed a very subtle bug in InvokeBuiltInCommand. Fixed invocable options running first-setup.
…vity name to ActivityExtensions. Moved reporting DOTNET_CLI_HOME usage to when verbosity is set. Minor cleanup in TelemetryClient.
…r used. Normalized DOTNET_CLI_TELEMETRY_SESSIONID usage. Made the providers only become built if telemetry is enabled.
# Conflicts:
#	src/Cli/dotnet/DotNetCommandFactory.cs
#	src/Cli/dotnet/Telemetry/Telemetry.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace ApplicationInsights dependency with OpenTelemetry libraries

2 participants