hkford / opentelemetry-go-sdk-deep-dive

Implement client, api gateway and backend using OpenTelemetry Go SDK. Enjoy distributed tracing step by step

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenTelemetry Go SDK deep dive

Enjoy distributed tracing step by step.

Usage

$ docker compose up --build
$ cd client
$ go run main.go

Unit test

backend directory has test codes to check whether context is propagated via HTTP header.

$ go test ./backend

Architecture

architecture

Backend screenshots

sequence jaeger

sequence x-ray

About

Implement client, api gateway and backend using OpenTelemetry Go SDK. Enjoy distributed tracing step by step


Languages

Language:Go 92.4%Language:Dockerfile 7.6%