Cloud Intermediate
Cloud Observability — Metrics, Logs, Traces¶
ObservabilityPrometheusLokiOpenTelemetry 5 min read
Three pillars of observability: Prometheus, Loki, Jaeger, and OpenTelemetry.
Three Pillars¶
- Metrics — what’s happening? (Prometheus, CloudWatch)
- Logs — why? (Loki, ELK)
- Traces — where? (Jaeger, Tempo, X-Ray)
Key = correlation via trace ID.
OpenTelemetry¶
const sdk = new NodeSDK({
traceExporter: new OTLPTraceExporter({url: 'http://collector:4318/v1/traces'}),
instrumentations: [getNodeAutoInstrumentations()],
});
sdk.start();
CNCF standard — vendor-neutral telemetry.
Grafana Stack¶
- Grafana — visualization
- Prometheus — metrics (PromQL)
- Loki — logs (LogQL)
- Tempo — traces (TraceQL)
Summary¶
Observability ≠ monitoring. Monitoring = “something is wrong”. Observability = “why”. Invest in correlation.
Need Help with Implementation?¶
Our team has experience designing and implementing modern architectures. We’re happy to help.