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

fix: backward compatibility for qtree metrics in rest #1788

Merged
merged 4 commits into from
Mar 6, 2023

Conversation

Hardikl
Copy link
Contributor

@Hardikl Hardikl commented Mar 1, 2023

Tested with REST collector,
metrics behaviour in Harvest 22.05

qtree_labels:
image

qtree_disk_limit:
image

quota_disk_limit:
image

metrics behaviour in latest Harvest
Case1: Same behaviour as Harvest 22.05
with hidden key-val pair

qtree_labels:
image

qtree_disk_limit:
image

quota_disk_limit:
image

Case2: Current Harvest behaviour
without hidden key-val pair:

qtree_labels:
image

qtree_disk_limit:
image

quota_disk_limit:
image

@cla-bot cla-bot bot added the cla-signed label Mar 1, 2023
@Hardikl Hardikl changed the title fix:backward compatibility for qtree metrics in rest fix: backward compatibility for qtree metrics in rest Mar 1, 2023
@Hardikl Hardikl linked an issue Mar 1, 2023 that may be closed by this pull request
Comment on lines 14 to 15
- filter:
- name=!""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As 22.05 behaviour would need all qtrees, I have removed this filter and later filtered with exclude_equals

Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it be better to ask Customer using 22.05 version make this change to template themselves?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, can be possible.

As the REST don't support merge of custom template, We can ask them to create this custom rest template as mentioned here #1784, I will update the PR and the steps accordingly so no changes would be required in current template.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the PR, we don't need to change the steps mentioned in #1784.

@cgrinds cgrinds merged commit ed8713c into main Mar 6, 2023
@cgrinds cgrinds deleted the qtree_backward_comp branch March 6, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure qtree REST template metrics matches ZAPI
3 participants