OpenTelemetry
opentelemetry.io › docs › languages › dotnet › metrics
OpenTelemetry .NET metrics | OpenTelemetry
August 12, 2025 - OpenTelemetry .NET Metrics provides a way to collect measurements about the execution of a computer program at runtime.
my tech ramblings
mytechramblings.com › posts › getting-started-with-opentelemetry-metrics-and-dotnet-part-2
Getting started with OpenTelemetry Metrics in .NET 8. Part 2: Instrumenting the BookStore API :: my tech ramblings — A blog for writing about my techie ramblings
November 29, 2023 - In this two-part series, I’m going to show you how to use OpenTelemetry to generate custom metrics and how to visualize those metrics using Prometheus and Grafana. In part 2, I’ll demonstrate how to add OpenTelemetry Metrics to a real life .NET 8 app and how to visualize those metrics using ...
Videos
A practical introduction to OpenTelemetry for .NET developers ...
19:56
Getting Started with OpenTelemetry in .NET - YouTube
04:39
Metrics in .NET has never been easier - OpenTelemetry - YouTube
32:54
OpenTelemetry in .NET Explained - YouTube
26:16
OpenTelemetry with Minimal APIs in .NET 6 - YouTube
10:27
Get Started With OpenTelemetry Tracing and ASP.NET Core - YouTube
GitHub
github.com › open-telemetry › opentelemetry-dotnet › blob › main › docs › metrics › README.md
opentelemetry-dotnet/docs/metrics/README.md at main · open-telemetry/opentelemetry-dotnet
The SDK aggregates metrics using certain algorithms and memory management strategies to achieve good performance and efficiency. Here are the rules which OpenTelemetry .NET follows while implementing the metrics aggregation logic:
Author open-telemetry
OpenTelemetry
opentelemetry.io › docs › languages › dotnet
.NET | OpenTelemetry
Welcome to the OpenTelemetry .NET documentation. This section introduces how to use OpenTelemetry with .NET to generate and collect telemetry data such as metrics, logs, and traces using the OpenTelemetry API and SDKs.
OpenTelemetry
opentelemetry.io › docs › languages › dotnet › metrics › getting-started-aspnetcore
Getting started with metrics - ASP.NET Core | OpenTelemetry
August 12, 2025 - Learn how to use OpenTelemetry Metrics in an ASP.NET Core application
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › observability-with-otel
.NET Observability with OpenTelemetry - .NET | Microsoft Learn
Explicitly in code, by referencing and using a library such as OpenTelemetry. If you have access to the source code and can rebuild the app, then this is the most powerful and configurable mechanism. Out-of-process using EventPipe. Tools such as dotnet-monitor can listen to logs and metrics and ...
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › metrics-collection
Collect metrics - .NET | Microsoft Learn
The .NET metric APIs record measurements from the example app. The OpenTelemetry library running in the app aggregates the measurements.
OpenTelemetry
opentelemetry.io › docs › languages › dotnet › metrics › best-practices
Best practices | OpenTelemetry
January 14, 2026 - As of 1.10.0 once a metric has reached the cardinality limit, any new measurement that could not be independently aggregated will be automatically aggregated using the overflow attribute. ... In SDK versions 1.6.0 - 1.9.0 the overflow attribute was an experimental feature that could be enabled by setting the environment variable OTEL_DOTNET_EXPERIMENTAL_METRICS_EMIT_OVERFLOW_ATTRIBUTE=true.
GitHub
github.com › open-telemetry › opentelemetry-dotnet
GitHub - open-telemetry/opentelemetry-dotnet: The OpenTelemetry .NET Client · GitHub
The .NET OpenTelemetry implementation. ... Packages shipped from this repository generally support all the officially supported versions of .NET and .NET Framework (an older Windows-based .NET implementation), except .NET Framework 3.5. Any exceptions to this are noted in the individual README.md files. Stable across all 3 signals (Logs, Metrics, and Traces).
Starred by 3.7K users
Forked by 888 users
Languages C# 98.5% | PowerShell 1.2%
GitHub
github.com › open-telemetry › opentelemetry-dotnet › blob › main › docs › metrics › customizing-the-sdk › README.md
opentelemetry-dotnet/docs/metrics/customizing-the-sdk/README.md at main · open-telemetry/opentelemetry-dotnet
As shown in the getting-startedgetting started in 5 minutes - Console Application doc, a valid MeterProvider must be configured and built to collect metrics with OpenTelemetry .NET Sdk. MeterProvider holds all the configuration for metrics like MetricReaders, Views, etc.
Author open-telemetry
OpenTelemetry
opentelemetry.io › docs › languages › dotnet › metrics › getting-started-console
Getting started with metrics - Console | OpenTelemetry
March 27, 2026 - Learn how to use OpenTelemetry Metrics in a .NET Console application
OpenTelemetry
opentelemetry.io › docs › zero-code › dotnet › custom
Create custom traces and metrics | OpenTelemetry
January 14, 2026 - Custom traces and metrics using .NET automatic instrumentation.
GitHub
github.com › open-telemetry › opentelemetry-dotnet › blob › main › docs › metrics › getting-started-aspnetcore › README.md
opentelemetry-dotnet/docs/metrics/getting-started-aspnetcore/README.md at main · open-telemetry/opentelemetry-dotnet
The program uses the OpenTelemetry.Instrumentation.AspNetCore package to automatically create metrics for incoming ASP.NET Core requests, uses the OpenTelemetry.Exporter.Console package to write metrics to the console every 1000 milliseconds.
Author open-telemetry
OpenTelemetry
opentelemetry.io › docs › languages › dotnet › metrics › instruments
Metric instruments | OpenTelemetry
August 12, 2025 - This guide explains the different types of metric instruments available in OpenTelemetry .NET and how to use them effectively.
OpenTelemetry
opentelemetry.io › docs › specs › semconv › dotnet › dotnet-aspnetcore-metrics
Semantic conventions for ASP.NET Core metrics | OpenTelemetry
Status: Stable This article defines semantic conventions for ASP.NET Core metrics. Server Routing All routing metrics are reported by the Microsoft.AspNetCore.Routing meter. Metric: aspnetcore.routing.match_attempts Name Instrument Type Unit (UCUM) Description Stability Entity Associations aspnetcore.routing.match_attempts Counter {match_attempt} Number of requests that were attempted to be matched to an endpoint.
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › metrics-instrumentation
Creating Metrics - .NET | Microsoft Learn
For more details about explicit bucket Histograms in OpenTelemetry see: ... Its possible to test any custom metrics you add using MetricCollector<T>. This type makes it easy to record the measurements from specific instruments and assert the values were correct.
OpenTelemetry
opentelemetry.io › docs › zero-code › dotnet › instrumentations
Available instrumentations | OpenTelemetry
3 weeks ago - The OpenTelemetry .NET Automatic Instrumentation supports a wide variety of libraries. All instrumentations are enabled by default for all signal types (traces, metrics, and logs). You can disable all instrumentations for a specific signal type by setting the OTEL_DOTNET_AUTO_{SIGNAL}_INST...