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

[counterpoll] Display the correct default poll interval for watermark counters #2082

Merged
merged 2 commits into from
Feb 28, 2022

Conversation

neethajohn
Copy link
Contributor

Signed-off-by: Neetha John nejo@microsoft.com

sonic-net/sonic-swss#2031 updated the flex counter polling interval to 60s for watermark counters but the show command wasn't updated to reflect the correct default value

What I did

Display the correct poll interval for watermark related counters in the 'counterpoll show' command

How I did it

Update the default interval to be the same as the one updated by the Orchs

How to verify it

Issue "counterpoll show", the queue, pg and buffer pool watermark should show default 60s
Updated the counterpoll unit tests to reflect the same

Signed-off-by: Neetha John <nejo@microsoft.com>
Signed-off-by: Neetha John <nejo@microsoft.com>
Copy link
Contributor

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

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

LGTM

@StormLiangMS
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@neethajohn
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@neethajohn neethajohn merged commit 494c6d7 into sonic-net:master Feb 28, 2022
@neethajohn neethajohn deleted the counterpoll_wm_fix branch February 28, 2022 21:42
@qiluo-msft
Copy link
Contributor

This commit could not be cleanly cherry-picked to 202012. Please submit another PR.

judyjoseph pushed a commit that referenced this pull request Mar 7, 2022
… counters (#2082)

Signed-off-by: Neetha John <nejo@microsoft.com>

sonic-net/sonic-swss#2031 updated the flex counter polling interval to 60s for watermark counters but the show command wasn't updated to reflect the correct default value

What I did
Display the correct poll interval for watermark related counters in the 'counterpoll show' command

How I did it
Update the default interval to be the same as the one updated by the Orchs

How to verify it
Issue "counterpoll show", the queue, pg and buffer pool watermark should show default 60s
Updated the counterpoll unit tests to reflect the same
qiluo-msft pushed a commit that referenced this pull request Mar 11, 2022
…watermark counters (#2091)

This is to backport the changes in #2082

#2031 updated the flex counter polling interval to 60s for watermark counters but the show command wasn't updated to reflect the correct default value

#### What I did
Display the correct poll interval for watermark related counters in the 'counterpoll show' command

#### How I did it
Update the default interval to be the same as the one updated by the Orchs

#### How to verify it
Issue "counterpoll show", the queue, pg and buffer pool watermark should show default 60s
Updated the counterpoll unit tests to reflect the same
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.

5 participants