Skip to content
This repository was archived by the owner on Jul 5, 2020. It is now read-only.

Support Cross-Platform CPU and Memory counters.#1195

Merged
cijothomas merged 41 commits intodevelopfrom
cithomas/cpumemoryperfcounterxplat
Jun 13, 2019
Merged

Support Cross-Platform CPU and Memory counters.#1195
cijothomas merged 41 commits intodevelopfrom
cithomas/cpumemoryperfcounterxplat

Conversation

@cijothomas
Copy link
Copy Markdown
Contributor

@cijothomas cijothomas commented May 20, 2019

Fix #1189

@SergeyKanzhelev @Dmitry-Matveev @lmolkova @MS-TimothyMothra Please share your thoughts.

Some highlights:

  1. XPlatform counters currently support just 3 - process cpu, process cpu normalized, process/private bytes.
  2. There are no public API changes - users still configure counters as before. Underneath we use StandardPerfCollection or Web App or something else like In-Proc stats, EventCounters - users are abstracted from this as of this PR. (this will change soon when we start supporting more counters.)
  3. I have manually tested this in windows and linux. LiveMetrics also work in Linux now, showing process cpu/memory.

Will eventually enable Linux CI builds for this repo to get automatic tests.

@cijothomas cijothomas closed this May 21, 2019
@cijothomas cijothomas reopened this May 21, 2019
@TimothyMothra
Copy link
Copy Markdown

I see a lot of methods with platform preprocessors (NET45, NETSTANDARD, etc).
I wonder if we would be better off writing a factory that returns a specific class based on framework.

what do you think?

… and was hardcoded to be true when sending telemetry.
@cijothomas cijothomas changed the title WIP - Support Cross-Platform CPU and Memory couters. Support Cross-Platform CPU and Memory counters. Jun 7, 2019
@cijothomas cijothomas closed this Jun 7, 2019
@cijothomas cijothomas reopened this Jun 7, 2019
@cijothomas cijothomas closed this Jun 7, 2019
@cijothomas cijothomas reopened this Jun 7, 2019
@cijothomas cijothomas closed this Jun 11, 2019
@cijothomas cijothomas reopened this Jun 11, 2019
Copy link
Copy Markdown
Member

@Dmitry-Matveev Dmitry-Matveev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with comments to address.

@cijothomas cijothomas closed this Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Process CPU and Memory from Linux

3 participants