Details
-
Improvement
-
Status: Done
-
Medium
-
Resolution: Done
-
None
-
3
-
Yes
-
Yes
-
Yes
-
No
Description
As a PMM user, I need to have all possible "pmm-admin summary" information in logs.zip so that I can easily investigate problems on PMM Server
DoD
logs.zip contains information pmm-admin summary can collect on PMM Server plus extra information about PMM Server (pmm-update) version.
Implementation
- Call pmm-admin summary --skip-server --filename=/tmp/XXX. Use ioutil.TempFile to generate file name.
- Add client directory from that file to the root of logs.zip so on the top-level there will be server files and client directory with own files.
- Make pmmUpdateChecker instance shared between supervisord.Service and supervisord.Logs.
- Add pmmUpdateChecker.installed() result into installed.json file in logs.zip.
Discussion
- Nothing yet.
DOC: at troubleshooting section mention what will be in the logs.zip file