Skip to content

Commit e8420fc

Browse files
committed
Avoid redirects to opentelemetry.io pages
1 parent 822997a commit e8420fc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![FOSSA License Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-dotnet-instrumentation.svg?type=shield&issueType=license)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-dotnet-instrumentation?ref=badge_shield&issueType=license)
99
[![FOSSA Security Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-dotnet-instrumentation.svg?type=shield&issueType=security)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-dotnet-instrumentation?ref=badge_shield&issueType=security)
1010

11-
This project adds [OpenTelemetry instrumentation](https://opentelemetry.io/docs/concepts/instrumenting/#automatic-instrumentation)
11+
This project adds [OpenTelemetry instrumentation](https://opentelemetry.io/docs/concepts/instrumentation/zero-code/)
1212
to .NET applications without having to modify their source code.
1313

1414
---
@@ -17,7 +17,7 @@ to .NET applications without having to modify their source code.
1717
> The following documentation refers to the in-development version
1818
of OpenTelemetry .NET Automatic Instrumentation. Docs for the latest version
1919
([1.13.0](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/latest))
20-
can be found in [opentelemetry.io](https://opentelemetry.io/docs/zero-code/net/)
20+
can be found in [opentelemetry.io](https://opentelemetry.io/docs/zero-code/dotnet/)
2121
or [here](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/v1.13.0/docs/README.md).
2222

2323
---

src/OpenTelemetry.AutoInstrumentation.BuildTasks/OpenTelemetry.AutoInstrumentation.BuildTasks.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<Target Name="VerifyIfRuntimeIdSpecified" BeforeTargets="Publish" Condition="'$(RuntimeIdentifier)' == '' AND $(DisableAutoInstrumentationCheckForRuntimeIdentifier) != 'true'">
2929
<ItemGroup>
3030
<Lines Include="RuntimeIdentifier (RID) is not set. Consider setting it to avoid copying native libraries for all of the platforms supported by the OpenTelemetry.AutoInstrumentation package." />
31-
<Lines Include="See the docs at https://opentelemetry.io/docs/zero-code/net/nuget-packages/#using-the-nuget-packages for details." />
31+
<Lines Include="See the docs at https://opentelemetry.io/docs/zero-code/dotnet/nuget-packages/#using-the-nuget-packages for details." />
3232
<Lines Include="In order to suppress this warning, set DisableAutoInstrumentationCheckForRuntimeIdentifier property to true." />
3333
</ItemGroup>
3434
<Warning Text="@(Lines, ' ')">

test/NuGetPackagesTests/InstrumentationTargetTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private void RunDotnetPublish(string arguments, bool expectWarning)
124124
{
125125
const string warningMessage = "RuntimeIdentifier (RID) is not set." +
126126
" Consider setting it to avoid copying native libraries for all of the platforms supported by the OpenTelemetry.AutoInstrumentation package." +
127-
" See the docs at https://opentelemetry.io/docs/zero-code/net/nuget-packages/#using-the-nuget-packages for details." +
127+
" See the docs at https://opentelemetry.io/docs/zero-code/dotnet/nuget-packages/#using-the-nuget-packages for details." +
128128
" In order to suppress this warning, set DisableAutoInstrumentationCheckForRuntimeIdentifier property to true.";
129129

130130
var (exitCode, standardOutput) = RunDotnetCliAndWaitForCompletion($"publish {arguments}");

0 commit comments

Comments
 (0)