https://github.com/soroushj/go-grpc-otel-example
Go + gRPC + OpenTelemetry Example
https://github.com/soroushj/go-grpc-otel-example
example go golang grpc otel
Last synced: 2 months ago
JSON representation
Go + gRPC + OpenTelemetry Example
- Host: GitHub
- URL: https://github.com/soroushj/go-grpc-otel-example
- Owner: soroushj
- License: mit
- Created: 2023-02-04T19:11:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-05T17:31:17.000Z (over 2 years ago)
- Last Synced: 2025-06-04T18:54:03.947Z (4 months ago)
- Topics: example, go, golang, grpc, otel
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go + gRPC + OpenTelemetry Example
An example of using [gRPC](https://grpc.io/) and [OpenTelemetry](https://opentelemetry.io/) in Go.
How to run the example:
1. `jaeger-start.bash` (pulls and) starts [Jaeger](https://www.jaegertracing.io/), opens the Jaeger UI.
2. `server.bash` runs the example Notes server.
3. `client.bash` runs the example Notes client.
4. `grpcui.bash` (installs and) runs [gRPC UI](https://github.com/fullstorydev/grpcui).
5. Now you can send requests to the server, either via the client or gRPC UI. The server returns a note for IDs 1, 2, 3; and a NotFound error for any other ID. You will be able to see the traces in the Jaeger UI.
6. `jaeger-stop.bash` stops and removes Jaeger.