Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise Performance Counter Cache for new / removed objects #11

Open
LordHepipud opened this issue Mar 18, 2019 · 0 comments
Open

Optimise Performance Counter Cache for new / removed objects #11

LordHepipud opened this issue Mar 18, 2019 · 0 comments
Assignees
Labels
Enhancement New feature or request
Milestone

Comments

@LordHepipud
Copy link
Collaborator

The Performance Counter handling works flawless on static environments. However, in case modifications have been made to the system, like adding a new hardddrive, the system is unable to fetch these informations due to the caching mechanism. To receive data for the new device, the service has to be restarted.

Expected Behavior

The Performance Counter cache should update itself in case instances of counters are appearing / disappearing instead of simply ignoring them

Current Behavior

Once the cache has been built up, it will never change the available instances of counters, possibly returning invalid data for no longer existing instances and missing newly added ones

Possible Solution

Add a handler to check the current available instances for counters and initialise them if missing and remove no longer valid ones

Steps to Reproduce (for bugs)

  1. Run the module in foreground / background
  2. The disk module for example
  3. Add a new disk to the machine
  4. Run the module again - Counter informations are not present
@LordHepipud LordHepipud self-assigned this Nov 22, 2019
@LordHepipud LordHepipud added the Enhancement New feature or request label Nov 22, 2019
@LordHepipud LordHepipud added this to the v1.1.0 milestone Feb 7, 2020
@LordHepipud LordHepipud modified the milestones: v1.1.0, v.1.2.0 Jun 3, 2020
@LordHepipud LordHepipud modified the milestones: v1.2.0, v1.4.0 Aug 21, 2020
@LordHepipud LordHepipud removed this from the v1.4.0 milestone Feb 23, 2021
@LordHepipud LordHepipud added this to the v1.7.0 milestone May 27, 2021
@LordHepipud LordHepipud modified the milestones: v1.7.0, v1.8.0 Oct 29, 2021
@LordHepipud LordHepipud modified the milestones: v1.8.0, v1.9.0 Jan 12, 2022
@LordHepipud LordHepipud modified the milestones: v1.9.0, v1.10.0 May 2, 2022
@LordHepipud LordHepipud modified the milestones: v1.10.0, v1.11.0 Aug 23, 2022
@LordHepipud LordHepipud modified the milestones: v1.11.0, v1.12.0 Jul 24, 2023
@LordHepipud LordHepipud modified the milestones: v1.12.0, v2.0.0 Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant