# Observability;.NET Core

Published articles for Observability;.NET Core.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Recording metrics in-process using MeterListener: System.Diagnostics.Metrics APIs - Part 4

DevFeed: [Recording metrics in-process using MeterListener: System.Diagnostics.Metrics APIs - Part 4](<https://devfeed.tech/articles/recording-metrics-in-process-using-meterlistener-system-diagnostics-metrics-apis-part-4-51483.md>)

Original publisher: [Read original article](<https://andrewlock.net/recording-metrics-in-process-using-meterlistener/>)

Author: Andrew Lock

Published: 2026-02-24T10:00:00Z

Content type: tutorial

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [telemetry](<https://devfeed.tech/topics/telemetry.md>), [ASP.NET Core](<https://devfeed.tech/topics/asp-net-core.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Minimal API](<https://devfeed.tech/topics/minimal-api.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>)

Tags: [aggregate](<https://devfeed.tech/tags/aggregate.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [diagnostics](<https://devfeed.tech/tags/diagnostics.md>), [http](<https://devfeed.tech/tags/http.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [minimal-api](<https://devfeed.tech/tags/minimal-api.md>), [net](<https://devfeed.tech/tags/net.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [observability](<https://devfeed.tech/tags/observability.md>), [observability-net-core](<https://devfeed.tech/tags/observability-net-core.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [recording](<https://devfeed.tech/tags/recording.md>)

### AI overview

A tutorial on using MeterListener to consume and aggregate in-process measurements from the System.Diagnostics.Metrics APIs. It demonstrates a minimal ASP.NET Core app that generates load, listens for measurements, and displays live-updating results.

### Source excerpt

In this post I show how you can use MeterListener to listen to Instrument measurements, how to trigger Observable measurements, and how to aggregate values.

## Creating standard and "observable" instruments: System.Diagnostics.Metrics APIs - Part 3

DevFeed: [Creating standard and "observable" instruments: System.Diagnostics.Metrics APIs - Part 3](<https://devfeed.tech/articles/creating-standard-and-observable-instruments-system-diagnostics-metrics-apis-part-3-51471.md>)

Original publisher: [Read original article](<https://andrewlock.net/creating-standard-and-observable-instruments/>)

Author: Andrew Lock

Published: 2026-02-17T10:00:00Z

Content type: article

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [ASP.NET Core](<https://devfeed.tech/topics/asp-net-core.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [examples](<https://devfeed.tech/tags/examples.md>), [gc](<https://devfeed.tech/tags/gc.md>), [heap](<https://devfeed.tech/tags/heap.md>), [http](<https://devfeed.tech/tags/http.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [net](<https://devfeed.tech/tags/net.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [nuget](<https://devfeed.tech/tags/nuget.md>), [observability](<https://devfeed.tech/tags/observability.md>), [observability-net-core](<https://devfeed.tech/tags/observability-net-core.md>), [observable](<https://devfeed.tech/tags/observable.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [process](<https://devfeed.tech/tags/process.md>)

### AI overview

This post explains the instrument types in the .NET System.Diagnostics.Metrics API, focusing on the difference between standard instruments that emit values as events occur and observable instruments whose values are requested by a metrics consumer. It includes examples from .NET libraries and ASP.NET Core.

### Source excerpt

In this post I discuss the various Instrument types exposed by the System.Diagnostics.Metrics API and show examples from the .NET libraries and ASP.NET Core

## Using Microsoft.Extensions.Telemetry.Abstractions Source Generators for Strongly Typed .NET Metrics

DevFeed: [Using Microsoft.Extensions.Telemetry.Abstractions Source Generators for Strongly Typed .NET Metrics](<https://devfeed.tech/articles/exploring-the-underwhelming-system-diagnostics-metrics-source-generators-system-diagnostics-metrics-apis-part-2-51472.md>)

Original publisher: [Read original article](<https://andrewlock.net/creating-strongly-typed-metics-with-a-source-generator/>)

Author: Andrew Lock

Published: 2026-02-03T10:00:00Z

Content type: tutorial

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [source generators](<https://devfeed.tech/topics/source-generators.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Code](<https://devfeed.tech/topics/code.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>)

Tags: [boilerplate](<https://devfeed.tech/tags/boilerplate.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [net](<https://devfeed.tech/tags/net.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [observability](<https://devfeed.tech/tags/observability.md>), [observability-net-core](<https://devfeed.tech/tags/observability-net-core.md>), [source-generators](<https://devfeed.tech/tags/source-generators.md>), [telemetry](<https://devfeed.tech/tags/telemetry.md>)

### AI overview

This tutorial explores the source generators in Microsoft.Extensions.Telemetry.Abstractions for creating .NET metrics. It compares the generated approach with manual boilerplate, examines the generated code, and shows how strongly typed tag objects add type safety.

### Source excerpt

In this post I explore the source generators shipped in Microsoft.Extensions.Telemetry.Abstractions, explore the code, and discuss whether I would use them