What is the story of Performance Counters for .NET Core?

后端 未结 2 2070
余生分开走
余生分开走 2021-02-11 19:11

Under Windows, one is able to read .NET performance counters using the following:

  • Performance Monitor
  • C# using PerformanceCounter
  • WM
相关标签:
2条回答
  • 2021-02-11 20:03

    Performance counters are not in Linux thus not in NET Core. Create another "Full NET based helper application" to expose performance counters as service to "NET Core Application"

    0 讨论(0)
  • 2021-02-11 20:05

    This package is exactly equivalent of .NET Framework Performance Counters and can be used in .NET Core apps under Windows:

    https://www.nuget.org/packages/System.Diagnostics.PerformanceCounter/

    0 讨论(0)
提交回复
热议问题