

Replace the code of Program.cs with: using System

For more information about creating new metrics using the NET runtime also has various metrics built-in. For simplicity, we will create a small app that has NET Core 3.1 SDK or a later versionīefore metrics can be collected, we need to produce some measurements.

NET MeterListener API.įor more information about custom metric instrumentation and an overview of instrumentation options, see Compare metric APIs.
