-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |