Skip to content

SigNoz/go-grpc-stream-otel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages