From fac9cdcbdf31aff0ddd3d1ba587c22ab1fa77131 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 9 Mar 2022 16:43:36 -0500 Subject: [PATCH 1/2] [website_docs] Fix link intra-site link refs --- website_docs/libraries.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From d19df840df8a8500f4e12d35de9634f18b61a114 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 9 Mar 2022 16:55:46 -0500 Subject: [PATCH 2/2] Markdown-link config: add replace pattern for /docs/ --- .markdown-link.json | 4 ++++ 1 file changed, 4 insertions(+) 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,