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

Automatic detection of HMC resources that no longer exist #204

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

andy-maier
Copy link
Member

@andy-maier andy-maier commented Jun 12, 2022

This addresses the resource removal part of issue #203 . The addition of new resources will be in a separate PR.

For details, see the commit message.

Test: Since we don't have end2end testcases yet, and since this is difficult to test in unit tests, I have not added test cases. However, the function has been tested by creating an extra test partition, starting the exporter, removing the test partition, and verifying that it disappears from the Prometheus data.

@andy-maier andy-maier self-assigned this Jun 12, 2022
@andy-maier andy-maier added this to the 1.2.0 milestone Jun 12, 2022
@andy-maier andy-maier requested a review from vkathir82 June 12, 2022 14:50
@andy-maier andy-maier linked an issue Jun 12, 2022 that may be closed by this pull request
@andy-maier andy-maier removed this from the 1.2.0 milestone Jun 26, 2022
@andy-maier andy-maier changed the title Automatic detection of HMC resources that no longer exist [WIP] Automatic detection of HMC resources that no longer exist Jun 26, 2022
@andy-maier andy-maier force-pushed the andy/handle-ceased-existence branch 4 times, most recently from 158605d to de83c69 Compare August 11, 2022 18:55
@coveralls
Copy link

coveralls commented Aug 11, 2022

Coverage Status

Coverage decreased (-0.8%) to 45.561% when pulling bc7c16c on andy/handle-ceased-existence into 24340a3 on master.

@andy-maier andy-maier force-pushed the andy/handle-ceased-existence branch 2 times, most recently from d3ccc80 to 96425e4 Compare August 12, 2022 06:21
Details:

* HMC resources that no longer exist are automatically removed from the
  exported metrics. (Issue #203)

Signed-off-by: Andreas Maier <[email protected]>
@andy-maier andy-maier force-pushed the andy/handle-ceased-existence branch from 96425e4 to bc7c16c Compare August 12, 2022 06:28
@andy-maier andy-maier changed the title [WIP] Automatic detection of HMC resources that no longer exist Automatic detection of HMC resources that no longer exist Aug 12, 2022
@andy-maier andy-maier added this to the 1.3.0 milestone Aug 12, 2022
@vkathir82 vkathir82 merged commit 824bb03 into master Aug 15, 2022
@vkathir82 vkathir82 deleted the andy/handle-ceased-existence branch August 15, 2022 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically detect deleted resources
3 participants