Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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