Skip to content

Commit

Permalink
[website_docs] Fix link intra-site link refs (#2666)
Browse files Browse the repository at this point in the history
* [website_docs] Fix link intra-site link refs

* Markdown-link config: add replace pattern for /docs/

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
chalin and MrAlias committed Mar 10, 2022
1 parent d3ab885 commit 005eefe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .markdown-link.json
Expand Up @@ -8,6 +8,10 @@
{
"pattern": "^/registry",
"replacement": "https://opentelemetry.io/registry"
},
{
"pattern": "^/docs/",
"replacement": "https://opentelemetry.io/docs/"
}
],
"retryOn429": true,
Expand Down
4 changes: 2 additions & 2 deletions website_docs/libraries.md
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 005eefe

Please sign in to comment.