The logs.zip archive available on the PMM Settings page now includes additional self-monitoring information in a separate "client" subfolder.

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

How to test

None

How to document

None

Smart Checklist

hide

Activity

Carlos Salguero February 25, 2020 at 11:03 AM

All tests are passing

Alexey Palazhchenko February 14, 2020 at 10:09 AM

Blocked by the devcontainer ticket.

Alexey Palazhchenko January 24, 2020 at 9:36 AM

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

Yes

Fix versions

Story Points

Sprint

Smart Checklist Progress

Smart Checklist

Created December 19, 2019 at 5:53 PM
Updated August 8, 2024 at 5:00 AM
Resolved March 3, 2020 at 10:17 AM

Flag notifications