Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

You want RED metrics for every service without asking teams to add Prometheus code. How?

IntermediateScenarioTracing and OpenTelemetry
Answer

Situation read → Traces already contain rate, errors and duration for each operation.

What I'd do →

  1. In the Collector, add the spanmetrics connector (traces in, metrics out), with histogram buckets and dimensions like service.name, span.name, http.response.status_code.
  2. Export metrics to Prometheus via prometheusremotewrite or Prometheus exporter.
  3. Or enable Tempo's metrics-generator (span-metrics and service-graphs processors).
  4. Run spanmetrics before tail sampling so counts are accurate.

Why → One instrumentation source produces both traces and metrics consistently.

Interview tip → Watch cardinality: never include IDs or raw URLs as dimensions.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry