Kubernetes and Cloud Native Associate (KCNA)Cloud Native ObservabilityMedium

A developer needs to instrument their new Go application to emit metrics, logs, and traces in a vendor-agnostic format, allowing them to switch observability backends (e.g., Prometheus, Jaeger, Elasticsearch) without modifying application code. Which CNCF project provides a set of APIs, SDKs, and tools for this purpose?

  1. AGrafana
  2. BOpenTelemetry
  3. CFluentd
  4. DPrometheus
Show answer & explanation

Correct answer: B. OpenTelemetry

OpenTelemetry is a vendor-neutral set of APIs, SDKs, and tools designed to standardize the generation and collection of telemetry data (metrics, logs, and traces). It enables developers to instrument their applications once and export data to various observability backends.

Why the other options are wrong

  • A. Grafana is a visualization tool, not involved in application instrumentation.
  • C. Fluentd is a log collector/forwarder, not a universal instrumentation library.
  • D. Prometheus is a backend for metrics, not an instrumentation standard for all telemetry types.

OpenTelemetry

A vendor-neutral set of APIs, SDKs, and tools for instrumenting, generating, collecting, and exporting telemetry data (metrics, logs, and traces).

  • Consolidates metrics, logs, and traces into a single standard.
  • Enables vendor independence for observability backends.
  • Supports various programming languages and frameworks.

Memory trick: OpenTelemetry is the Standard for all your Telemetry.

More Cloud Native Observability questions