Skip to main content
InterviewHubPRO
Section Overview
Q37

Question 37 of 50

Part 3: Go Microservices, HTTP, gRPC & Architecture (33 - 44)

74%
Golang & Concurrency (50 Qs)•Part 3: Go Microservices, HTTP, gRPC & Architecture (33 - 44)

Distributed Tracing in Go using OpenTelemetry.

senior LevelSystem DesigngRPCMicroservices

In Simple Words: Instrument incoming requests using otelhttp:

  • Extracts W3C Trace Context from HTTP headers.
  • Creates spans for database calls and outgoing RPCs.
  • Propagates trace IDs across goroutines via context.Context.