C# Metric 데이터 수집하고 모니터링 하기 (dotnet-counters)
C# Metric 데이터 수집하고 모니터링 하기 (dotnet-counters) 1. 콘솔앱 생성합니다.2. 아래와 같이 매트릭이 데이터를 수집될수 있도록 코딩 합니다.using System.Diagnostics.Metrics;class Program{ static Meter meter = new Meter("HatStore", "1.0.0"); static Counter hatsSold = meter.CreateCounter("hats-sold"); static void Main(string[] args) { Console.WriteLine("Press any key to exit"); while (!Console.KeyAvailab..