# OpenTelemetry .NET metrics

> Use OpenTelemetry .NET to collect and export metric telemetry data

---

LLMS index: [llms.txt](/llms.txt)

---

This section contains information about using OpenTelemetry .NET for metrics.

OpenTelemetry .NET Metrics provides a way to collect measurements about the
execution of a computer program at runtime.

---

Section pages:

- [Getting started with metrics - Console](/ja/docs/languages/dotnet/metrics/getting-started-console/): Learn how to use OpenTelemetry Metrics in a .NET Console application
- [Getting started with metrics - ASP.NET Core](/ja/docs/languages/dotnet/metrics/getting-started-aspnetcore/): Learn how to use OpenTelemetry Metrics in an ASP.NET Core application
- [Export to Prometheus and Grafana](/ja/docs/languages/dotnet/metrics/getting-started-prometheus-grafana/): Learn how to export metrics to Prometheus and visualize them in Grafana
- [Using exemplars](/ja/docs/languages/dotnet/metrics/exemplars/): Learn how to use exemplars to link metrics with traces in OpenTelemetry .NET
- [Metric instruments](/ja/docs/languages/dotnet/metrics/instruments/): Learn about the different types of metric instruments available in OpenTelemetry .NET
- [Best practices](/ja/docs/languages/dotnet/metrics/best-practices/): Learn about best practices for using OpenTelemetry .NET for metrics
