From 005eefef95fbd7dc111e7ba5bde9aa97bcb6acc9 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 10 Mar 2022 16:01:29 -0500 Subject: [PATCH] [website_docs] Fix link intra-site link refs (#2666) * [website_docs] Fix link intra-site link refs * Markdown-link config: add replace pattern for /docs/ Co-authored-by: Tyler Yahn --- .markdown-link.json | 4 ++++ website_docs/libraries.md | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.markdown-link.json b/.markdown-link.json index f222ad89c31..bd786f03c15 100644 --- a/.markdown-link.json +++ b/.markdown-link.json @@ -8,6 +8,10 @@ { "pattern": "^/registry", "replacement": "https://opentelemetry.io/registry" + }, + { + "pattern": "^/docs/", + "replacement": "https://opentelemetry.io/docs/" } ], "retryOn429": true, diff --git a/website_docs/libraries.md b/website_docs/libraries.md index c4bdc16c356..5e069a26de3 100644 --- a/website_docs/libraries.md +++ b/website_docs/libraries.md @@ -5,7 +5,7 @@ linkTitle: Libraries aliases: [/docs/instrumentation/go/using_instrumentation_libraries, /docs/instrumentation/go/automatic_instrumentation] --- -Go does not support truly automatic instrumentation like other languages today. Instead, you'll need to depend on [instrumentation libraries](https://opentelemetry.io/docs/reference/specification/glossary/#instrumentation-library) that generate telemetry data for a particular instrumented library. For example, the instrumentation library for `net/http` will automatically create spans that track inbound and outbound requests once you configure it in your code. +Go does not support truly automatic instrumentation like other languages today. Instead, you'll need to depend on [instrumentation libraries](/docs/reference/specification/glossary/#instrumentation-library) that generate telemetry data for a particular instrumented library. For example, the instrumentation library for `net/http` will automatically create spans that track inbound and outbound requests once you configure it in your code. ## Setup @@ -86,7 +86,7 @@ Connecting manual instrumentation you write in your app with instrumentation gen ## Available packages -A full list of instrumentation libraries available can be found in the [OpenTelemetry registry](https://opentelemetry.io/registry/?language=go&component=instrumentation). +A full list of instrumentation libraries available can be found in the [OpenTelemetry registry](/registry/?language=go&component=instrumentation). ## Next steps