mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: fix example links in getting started with OpenTelemetry (#6880)
### Describe Your Changes Fix broken link on: https://docs.victoriametrics.com/guides/getting-started-with-opentelemetry/index.html#building-the-go-application-instrumented-with-metrics - https://docs.victoriametrics.com/guides/app.go-collector.example - https://docs.victoriametrics.com/guides/app.go.example The valid links **could be**: - https://docs.victoriametrics.com/guides/getting-started-with-opentelemetry/app.go-collector.example - https://docs.victoriametrics.com/guides/getting-started-with-opentelemetry/app.go.example Also went throught `/guides` folder and did not found doc with same issue. Please advice if you know more. ### Checklist The following checks are **mandatory**: - [x] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/).
This commit is contained in:
parent
ac485a8486
commit
9c3b5116dd
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ Metrics could be sent to VictoriaMetrics via OpenTelemetry instrumentation libra
|
||||||
In our example, we'll create a WEB server in [Golang](https://go.dev/) and instrument it with metrics.
|
In our example, we'll create a WEB server in [Golang](https://go.dev/) and instrument it with metrics.
|
||||||
|
|
||||||
### Building the Go application instrumented with metrics
|
### Building the Go application instrumented with metrics
|
||||||
Copy the go file from [here](/guides/app.go-collector.example). This will give you a basic implementation of a dice roll WEB server with the urls for opentelemetry-collector pointing to localhost:4318.
|
Copy the go file from [here](app.go-collector.example). This will give you a basic implementation of a dice roll WEB server with the urls for opentelemetry-collector pointing to localhost:4318.
|
||||||
In the same directory run the following command to create the `go.mod` file:
|
In the same directory run the following command to create the `go.mod` file:
|
||||||
```sh
|
```sh
|
||||||
go mod init vm/otel
|
go mod init vm/otel
|
||||||
|
@ -167,7 +167,7 @@ In our example, we'll create a WEB server in [Golang](https://go.dev/) and instr
|
||||||
|
|
||||||
### Building the Go application instrumented with metrics
|
### Building the Go application instrumented with metrics
|
||||||
|
|
||||||
See the full source code of the example [here](/guides/app.go.example).
|
See the full source code of the example [here](app.go.example).
|
||||||
|
|
||||||
The list of OpenTelemetry dependencies for `go.mod` is the following:
|
The list of OpenTelemetry dependencies for `go.mod` is the following:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue