microsoft / dotnet

This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Foundation.
https://devblogs.microsoft.com/dotnet/
MIT License
14.38k stars 2.22k forks source link

Can we use Event Counter as a replacement of Performance counter for .NET Core applications. #1336

Open sonupmandal opened 2 years ago

sonupmandal commented 2 years ago

I have created a class which inherits performance counter class and uses all its functionality , But after going through the documentation of EventCounters which says that it is cross platform alternative of Performance counter, I think of replacing performance counter class with event counter class , but i see some limitations such as

So my question is, Is it possible to replace all the functionality of performance counter by having Event counter class ?