---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/reference/ydb-sdk/observability.md?version=main
  - https://ydb.tech/docs/ru/reference/ydb-sdk/observability.md?version=main
sourcePath: en/core/reference/ydb-sdk/observability/index.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# Observability in YDB SDK

This section describes how to enable YDB SDK diagnostic tools — logging, metrics, and distributed tracing. It is recommended to enable them in advance, before problems occur, so that when investigating an incident you can see the full picture of the system state before, during, and after the failure.

Logging:

- [Enabling logging](https://ydb.tech/docs/en/reference/ydb-sdk/observability/logging/logging.md?version=main)
- [Exporting logs to OpenTelemetry](https://ydb.tech/docs/en/reference/ydb-sdk/observability/logging/opentelemetry.md?version=main)

Metrics:

- [Metrics with OpenTelemetry](https://ydb.tech/docs/en/reference/ydb-sdk/observability/metrics/opentelemetry.md?version=main)
- [Enabling metrics in Prometheus](https://ydb.tech/docs/en/reference/ydb-sdk/observability/metrics/prometheus.md?version=main)

Tracing:

- [Tracing with OpenTelemetry](https://ydb.tech/docs/en/reference/ydb-sdk/observability/tracing/opentelemetry.md?version=main)
- [Enabling tracing in Jaeger](https://ydb.tech/docs/en/reference/ydb-sdk/observability/tracing/jaeger.md?version=main)

Server-side observability YDB, which is independent of the SDK, is described in the [Reference on YDB observability](https://ydb.tech/docs/en/reference/observability/index.md?version=main) section.
