From 1d1cbb34223a294770301eb2ce276ce10e275268 Mon Sep 17 00:00:00 2001 From: minimAluminiumalism Date: Sun, 18 Aug 2024 04:10:01 +0800 Subject: [PATCH] fix typo err and add env ref --- docs/getting-started.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index a34a8d16e..7a7540fab 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -35,7 +35,7 @@ To instrument an application on the same host, follow these steps: For example: ```sh - sudo OTEL_GO_AUTO_TARGET_EXE=/home/bin/service_executable OTEL_SERVICE_NAME=my_service OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 ./otel-go-instrumentation` + sudo OTEL_GO_AUTO_TARGET_EXE=/home/bin/service_executable OTEL_SERVICE_NAME=my_service OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 ./otel-go-instrumentation ``` 3. Run the OpenTelemetry Go Automatic Instrumentation with root privileges. @@ -68,6 +68,8 @@ network, a shared volume, and a service for the application. - /proc:/host/proc ``` + For more environment variables, refer to [here](https://opentelemetry.io/docs/languages/sdk-configuration/). + 3. Run `docker compose up`. ### Instrument an application in Kubernetes