---
title: "Add metrics and traces | Grafana Labs"
description: "Export the SDK's OpenTelemetry spans and metrics to Grafana Cloud so each generation links to its trace and its metrics reach the Metrics data source, and know the choices and the failure points in that setup."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Add metrics and traces

Export the SDK's OpenTelemetry spans and metrics to Grafana Cloud so each generation links to its trace and its metrics reach the Metrics data source, and know the choices and the failure points in that setup.

Estimated time: 9 min

[Start this section →](https://grafana.com/docs/learning-hub/intro-to-agent-observability/07-add-traces-and-metrics/30-what-traces-and-metrics-add/)
