Skip to content

Query statistics capability#1148

Merged
rlhui merged 11 commits intoopencomputeproject:masterfrom
itaibaz:querystatsn
Nov 24, 2020
Merged

Query statistics capability#1148
rlhui merged 11 commits intoopencomputeproject:masterfrom
itaibaz:querystatsn

Conversation

@itaibaz
Copy link
Collaborator

@itaibaz itaibaz commented Oct 31, 2020

Add ability to query statistics values capability per object type - meaning which statistics enum values are implemented per object type
Currently, these is not exposed, and in order to check capabilities, the user has to retry each value, one by one

Signed-off-by: Itai Baz [email protected]

Add ability to query statistics values capability per object type - meaning which statistics enum values are implemented per object type
Currently, these is not exposed, and in order to check capabilities, the user has to retry each value, one by one

Signed-off-by: Itai Baz <[email protected]>
Added additional param with list of implemented stats modes

Signed-off-by: Itai Baz <[email protected]>
@rlhui rlhui requested a review from abdosi November 11, 2020 00:54
@rlhui
Copy link
Collaborator

rlhui commented Nov 11, 2020

@JaiOCP please help review/approve

Copy link
Collaborator Author

@itaibaz itaibaz left a comment

Choose a reason for hiding this comment

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

@lguohan @kcudnik
Can you please review the changes done based on your feedback in today's OCP meeting

@lguohan
Copy link
Collaborator

lguohan commented Nov 12, 2020

lgtm

@kcudnik
Copy link
Collaborator

kcudnik commented Nov 12, 2020

WARNING: found trailing spaces in serialize.pm:255: }
thanks for serialization fix, i just started to work on that :P

Copy link
Contributor

@JaiOCP JaiOCP left a comment

Choose a reason for hiding this comment

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

Reduce stat_modes to 32bits given that there are only 2 modes and we do not expect to expand to a large value. 64bit will waste memory for large query sets

Copy link
Contributor

@JaiOCP JaiOCP left a comment

Choose a reason for hiding this comment

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

Looks Good

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.

6 participants