orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Performance Counter alternatives in 2.0.0

Open attilah opened this issue 9 years ago • 1 comments

In current Orleans we are using Performance counters for multiple things:

As Orleans 2.0 will support multiple OS platforms, Performance Counters are not a viable way ahead, so we're looking for alternate solutions:

  • Keep the performance counter feature, but separate it into a Windows only package
  • Move away from performance counters at all and implement a similar functionality on top of System.Diagnostics.Tracing.EventSource and associated classes, since they're part of .Net Standard 2.0
  • Since reading the processor utilization without elevated privileges through ETW is not possible, it's probable, that load shedding will be abstracted out from the system and be a Windows only feature in Orleans 2.0

Building on top of the Tracing infrastructure it enables us to provide richer statistics and insights - with the support of event payloads - into a running system which can be consumed with standard ETW (Event Tracing for Windows) tools, when running under Windows, like perfview.

attilah avatar Oct 23 '17 15:10 attilah

I thought performance counters is back in netstandard, according to @jdom 's notes. Is this not true?

btw just linking related issue so we can tackle them together. #2609

xiazen avatar Oct 23 '17 18:10 xiazen