-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add daemon which periodically pushes process and docker stats to State DB #3525
Add daemon which periodically pushes process and docker stats to State DB #3525
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will this demon be started automatically. And if it crash, how will it be restarted?
Some questions: |
@hui-ma: For the daemon to get included in the image and started automatically, Pradnya will need to add it to files/build_templates/sonic_debian_extension.j2. To have the daemon auto-restart upon crash, she will need to add the line |
@jleveque Thanks for the info of files/build_templates/sonic_debian_extension.j2.. Let us do another PR for it later. |
@hui-ma: I believe that change should be part of this PR. It is a small change, and I can help Pradnya. |
adding more descriptive names line indented returning explicitly none
changed comment for daemon
rearrange imports based on comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest appending a 'd' to the name of the daemon to follow the naming convention which signifies this application runs as a daemon (e.g., "procdockerstatsd").
done |
Retest broadcom please |
adding process/docker in comment
Retest vs please |
Retest vsimage please |
vsimage check build failure is unrelated. Merging PR in spite of this failure. |
…atically (#20202) #### Why I did it src/sonic-utilities ``` * a7897d1f - (HEAD -> master, origin/master, origin/HEAD) [show][interface][counters] Add proposal and changes for fec-histogram for interface counters fec-histogram subcommand (#3519) (10 hours ago) [vdahiya12] * 5fdc1b61 - [Mellanox] Add new SKU Mellanox-SN5600-C256 (#3431) (34 hours ago) [DavidZagury] * d103bfd7 - Fix ntp conf file path (#3525) (34 hours ago) [Vivek] * 5eb266ac - [chassis] Modify the show ip route to hide the Ethernet-IB port in the output (#3537) (34 hours ago) [Arvindsrinivasan Lakshmi Narasimhan] ``` #### How I did it #### How to verify it #### Description for the changelog
…atically (sonic-net#20202) #### Why I did it src/sonic-utilities ``` * a7897d1f - (HEAD -> master, origin/master, origin/HEAD) [show][interface][counters] Add proposal and changes for fec-histogram for interface counters fec-histogram subcommand (sonic-net#3519) (10 hours ago) [vdahiya12] * 5fdc1b61 - [Mellanox] Add new SKU Mellanox-SN5600-C256 (sonic-net#3431) (34 hours ago) [DavidZagury] * d103bfd7 - Fix ntp conf file path (sonic-net#3525) (34 hours ago) [Vivek] * 5eb266ac - [chassis] Modify the show ip route to hide the Ethernet-IB port in the output (sonic-net#3537) (34 hours ago) [Arvindsrinivasan Lakshmi Narasimhan] ``` #### How I did it #### How to verify it #### Description for the changelog
- What I did
Adding daemon which every 2 mins uploads docker and process stats data to state db
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)