At which layer would distributed tracing be implemented in a cloud native deployment?
A
Network
B
Application
Correta
C
Database
D
Infrastructure
Explicação Oficial / Explicações da Comunidade
Distributed tracing is implemented at the Application layer in a cloud native deployment. This is because distributed tracing instruments application code to track requests as they propagate across microservices, capturing timing and context data. It relies on libraries or frameworks integrated into the application (e.g., OpenTelemetry SDKs) to generate and propagate trace context via HTTP headers or other protocols. The Network layer handles packet-level communication but lacks application-level context. The Database layer stores trace data but does not generate or propagate traces. The Infrastructure layer (e.g., Kubernetes, VMs) provides compute resources but does not inherently support tracing without application instrumentation. Therefore, the Application layer is the correct layer for implementing distributed tracing.