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#3525jleveque merged 21 commits intosonic-net:masterfrom
Conversation
hui-ma
left a comment
There was a problem hiding this comment.
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
jleveque
left a comment
There was a problem hiding this comment.
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 ``` * a7897d1 - (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] * 5fdc1b6 - [Mellanox] Add new SKU Mellanox-SN5600-C256 (#3431) (34 hours ago) [DavidZagury] * d103bfd - Fix ntp conf file path (#3525) (34 hours ago) [Vivek] * 5eb266a - [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
- 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)