OpenTelemetry

Introduction

OpenTelemetry

  • An open-source observability framework for generating, collecting, and exporting telemetry data (traces, metrics, logs).

  • Vendor-neutral: Works with any backend (e.g., Jaeger, Prometheus, Datadog, Tempo).

OTLP

  • is the standard protocol for transmitting telemetry data (traces, metrics, logs) between:

  • Instrumented applications → Observability backends.

  • Applications → OpenTelemetry Collectors.

  • Default protocol for OpenTelemetry, designed for high performance and interoperability.

NestJS Implementation

Setup

Trace Initialization

Logging Customization

Apply Setting

FastAPI Implementation

Setup

Trace Initialization

Logging Customization

References

Last updated