From 47e7ad2e01c8e6b1986703dc2111659f7d4d8260 Mon Sep 17 00:00:00 2001 From: Hui Wang Date: Thu, 28 Mar 2024 15:58:27 +0800 Subject: [PATCH] docs: fix golangci-lint check (#6036) Signed-off-by: hagen1778 Co-authored-by: hagen1778 --- ...p.go => getting-started-with-opentelemetry-app.go.example} | 0 docs/guides/getting-started-with-opentelemetry.md | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename docs/guides/{getting-started-with-opentelemetry-app.go => getting-started-with-opentelemetry-app.go.example} (100%) diff --git a/docs/guides/getting-started-with-opentelemetry-app.go b/docs/guides/getting-started-with-opentelemetry-app.go.example similarity index 100% rename from docs/guides/getting-started-with-opentelemetry-app.go rename to docs/guides/getting-started-with-opentelemetry-app.go.example diff --git a/docs/guides/getting-started-with-opentelemetry.md b/docs/guides/getting-started-with-opentelemetry.md index 05d361fd5..e2d246666 100644 --- a/docs/guides/getting-started-with-opentelemetry.md +++ b/docs/guides/getting-started-with-opentelemetry.md @@ -97,7 +97,7 @@ In our example, we'll create a WEB server in [Golang](https://go.dev/) and instr ### Building the Go application instrumented with metrics -See the full source code of the example [here](/guides/getting-started-with-opentelemetry-app.go). +See the full source code of the example [here](/guides/getting-started-with-opentelemetry-app.go.example). The list of OpenTelemetry dependencies for `go.mod` is the following: @@ -244,7 +244,7 @@ func newMetricsController(ctx context.Context) (*controller.Controller, error) { This controller will collect and push collected metrics to VictoriaMetrics address with interval of `10s`. -See the full source code of the example [here](/guides/getting-started-with-opentelemetry-app.go). +See the full source code of the example [here](/guides/getting-started-with-opentelemetry-app.go.example). ### Test metrics ingestion