Skip to content

Commit 3d8dd2e

Browse files
Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS (#12843)
1 parent 2392c79 commit 3d8dd2e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1002
-1937
lines changed

Directory.Packages.props

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@
4646
<PackageVersion Include="System.Threading.Tasks.Dataflow" Version="$(SystemThreadingTasksDataflowVersion)" />
4747
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="$(SystemThreadingTasksExtensionsVersion)" />
4848
<PackageVersion Include="xunit.console" Version="$(XUnitVersion)" />
49-
<PackageVersion Include="Microsoft.VisualStudio.OpenTelemetry.Collector" Version="$(MicrosoftVisualStudioOpenTelemetryVersion)" />
50-
<PackageVersion Include="Microsoft.VisualStudio.OpenTelemetry.ClientExtensions" Version="$(MicrosoftVisualStudioOpenTelemetryVersion)" />
51-
52-
<!-- Microsoft.VisualStudio.SolutionPersistence is maintained in eng/dependabot/Directory.Packages.props -->
49+
<PackageVersion Include="Microsoft.VisualStudio.Telemetry" Version="$(MicrosoftVisualStudioTelemetryVersion)" />
50+
<!-- Microsoft.VisualStudio.SolutionPersistence is maintained in eng/dependabot/Packages.props -->
5351
</ItemGroup>
5452

5553
</Project>

NuGet.config

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@
1818
<add key="dotnet10-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json" />
1919
<add key="vs-impl" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" />
2020
</packageSources>
21-
<!-- We don't want other than VS OpenTelemetry libraries from vs-impl -->
2221
<packageSourceMapping>
23-
<packageSource key="vs-impl">
24-
<package pattern="Microsoft.VisualStudio.OpenTelemetry*" />
25-
</packageSource>
2622
<packageSource key="arcade">
2723
<package pattern="*" />
2824
</packageSource>

THIRDPARTYNOTICES.txt

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -43,33 +43,3 @@ Unless required by applicable law or agreed to in writing, software distributed
4343
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
4444
CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
4545
language governing permissions and limitations under the License.
46-
47-
-------------------------------
48-
49-
Notice for OpenTelemetry .NET
50-
-------------------------------
51-
MSBuild.exe is distributed with OpenTelemetry .NET binaries.
52-
53-
Copyright (c) OpenTelemetry Authors
54-
Source: https://github.com/open-telemetry/opentelemetry-dotnet
55-
56-
Licensed under the Apache License, Version 2.0 (the "License");
57-
you may not use this file except in compliance with the License.
58-
You may obtain a copy of the License at
59-
60-
http://www.apache.org/licenses/LICENSE-2.0
61-
62-
Unless required by applicable law or agreed to in writing, software distributed
63-
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
64-
CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
65-
language governing permissions and limitations under the License.
66-
67-
-------------------------------
68-
69-
Notice for Microsoft.VisualStudio.OpenTelemetry.*
70-
-------------------------------
71-
MSBuild.exe is distributed with Microsoft.VisualStudio.OpenTelemetry.* binaries.
72-
73-
Project: Microsoft.VisualStudio.OpenTelemetry
74-
Copyright: (c) Microsoft Corporation
75-
License: https://visualstudio.microsoft.com/license-terms/mt736442/

documentation/specs/VS-OpenTelemetry.md

Lines changed: 0 additions & 198 deletions
This file was deleted.

documentation/specs/proposed/telemetry-onepager.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

eng/Signing.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
<FileSignInfo Include="RuntimeContracts.dll" CertificateName="3PartySHA2" />
1414

1515
<!-- For Telemetry in VS.-->
16-
<FileSignInfo Include="OpenTelemetry.dll" CertificateName="3PartySHA2" />
17-
<FileSignInfo Include="OpenTelemetry.Api.dll" CertificateName="3PartySHA2" />
18-
<FileSignInfo Include="OpenTelemetry.Api.ProviderBuilderExtensions.dll" CertificateName="3PartySHA2" />
1916
<FileSignInfo Include="Newtonsoft.Json.dll" CertificateName="3PartySHA2" />
2017
</ItemGroup>
2118

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</PropertyGroup>
6060

6161
<PropertyGroup>
62-
<MicrosoftVisualStudioOpenTelemetryVersion>0.2.104-beta</MicrosoftVisualStudioOpenTelemetryVersion>
63-
<!-- Microsoft.VisualStudio.SolutionPersistence is maintained in eng/dependabot/Directory.Packages.props -->
62+
<MicrosoftVisualStudioTelemetryVersion>17.14.18</MicrosoftVisualStudioTelemetryVersion>
63+
<!-- Microsoft.VisualStudio.SolutionPersistence is maintained in eng/dependabot/Packages.props -->
6464
</PropertyGroup>
6565

6666
<!-- Toolset Dependencies -->

src/Build.UnitTests/BackEnd/BuildManager_Tests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,6 @@ public void OverlappingBuildsOfTheSameProjectDifferentTargetsAreAllowed()
18011801
</Target>
18021802
</Project>
18031803
");
1804-
18051804
Project project = CreateProject(contents, MSBuildDefaultToolsVersion, _projectCollection, true);
18061805
ProjectInstance instance = _buildManager.GetProjectInstanceForBuild(project);
18071806
_buildManager.BeginBuild(_parameters);

src/Build.UnitTests/Microsoft.Build.Engine.UnitTests.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@
3030
<PackageReference Include="NuGet.Frameworks">
3131
<PrivateAssets>all</PrivateAssets>
3232
</PackageReference>
33-
34-
<PackageReference Include="Microsoft.VisualStudio.OpenTelemetry.ClientExtensions" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
35-
<PackageReference Include="Microsoft.VisualStudio.OpenTelemetry.Collector" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
36-
33+
3734
<ProjectReference Include="..\Build\Microsoft.Build.csproj" />
3835
<ProjectReference Include="..\Framework\Microsoft.Build.Framework.csproj" />
3936
<ProjectReference Include="..\MSBuild\MSBuild.csproj" />

0 commit comments

Comments
 (0)