📈OpenTelemetry (OTel)
Also known as OTel, OTLP, OpenTelemetry Collector
An open way to send out traces, metrics and logs. Any tool can read them.
Think of it like
It is like a plug that fits every socket. Your data can go to any tool you choose.
Example
Emma's team adds OpenTelemetry to its services. A year later, it moves to a new tool. It changes one setting, not its code.
Why it matters
Without one standard, every tool needs its own code in your app. Changing tools then means rewriting it.
Definition
Example code
bash
export OTEL_SERVICE_NAME=shop
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318Common mistake
Key takeaways
- 1One standard. The same format for every tool.
- 2All three signals. Traces, metrics and logs together.
- 3Not a store. It sends data, other tools keep it.