From 8aaada6890754ac8ed96c91b4101cfe5c3db88cd Mon Sep 17 00:00:00 2001 From: Vishal Sharma Date: Wed, 20 Nov 2024 09:11:47 +0530 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 1479629..d0314cf 100644 --- a/README.md +++ b/README.md @@ -1 +1,17 @@ # go-grpc-stream-otel + +Start go grpc server and grpc client using below commands + +1. Grpc-Server +``` +cd server +SERVICE_NAME=goAppServer OTEL_EXPORTER_OTLP_HEADERS=signoz-access-token=YOUR_SIGNOZ_INGESTION_TOKEN OTEL_EXPORTER_OTLP_ENDPOINT=YOUR_COLLECTOR_ENDPOINT go run main.go +``` + +2. Grpc-Client +``` +cd client +SERVICE_NAME=goAppClient OTEL_EXPORTER_OTLP_HEADERS=signoz-access-token=YOUR_SIGNOZ_INGESTION_TOKEN OTEL_EXPORTER_OTLP_ENDPOINT=YOUR_COLLECTOR_ENDPOINT go run main.go +``` + +SigNoz Ingestion Token in only required for cloud users. Self hosted users only need to specify OTEL_EXPORTER_OTLP_ENDPOINT and SERVICE_NAME.