Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmorelli92/open-telemetry-go
Demo on how to use Open Telemetry in Go including HTTP, AMQP and gRPC
https://github.com/pmorelli92/open-telemetry-go
amqp demo example go golang grpc http open-telemetry
Last synced: 4 months ago
JSON representation
Demo on how to use Open Telemetry in Go including HTTP, AMQP and gRPC
- Host: GitHub
- URL: https://github.com/pmorelli92/open-telemetry-go
- Owner: pmorelli92
- Created: 2021-12-03T15:17:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-15T15:56:28.000Z (12 months ago)
- Last Synced: 2024-09-27T07:02:13.285Z (4 months ago)
- Topics: amqp, demo, example, go, golang, grpc, http, open-telemetry
- Language: Go
- Homepage:
- Size: 310 KB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Open Telemetry in Go example
This service contains a sample on how to use Open Telemetry exposing spans for HTTP, gRPC and AMQP.
You can find the two-series-post with the step by step [here](https://devandchill.com/posts/2021/12/go-step-by-step-guide-for-implementing-tracing-on-a-microservices-architecture-1/2/).
## How to run
Start services:
```
docker compose up -d --build
```Produce a trace:
```
curl -X POST localhost:8081/api/checkout
```## How does it look in Jaeger
You can explore traces on: http://localhost:16686/search