Interview Prep/Monitoring & Observability/Kubernetes & Multi-Cluster Observability

How do you collect metrics from applications that cannot expose `/metrics` (legacy, Windows, closed-source)?

IntermediateProductionKubernetes & Multi-Cluster Observability
Answer

Pick the closest translator:

  • Exporters that sit next to the system: mysqld_exporter, postgres_exporter, windows_exporter, JMX exporter as a Java agent.
  • Log-derived metrics in Alloy, Vector or Loki recording rules when the only output is logs.
  • OTel Collector receivers (hostmetrics, sqlquery, jmx, statsd) converting to Prometheus with the prometheus exporter or prometheusremotewrite.
  • StatsD/Graphite bridges (statsd_exporter, graphite_exporter) with mapping configs that turn dotted names into labels.

Always map to bounded labels, and treat the exporter as part of the service's deployment so it scales and is monitored (up) like the app.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Kubernetes & Multi-Cluster Observability