Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-2244

'pmm-admin status' command output now shows both PMM Client and PMM Server versions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: PMM Admin
    • Labels:
    • Story Points:
      0
    • Sprint:
      Platform Sprint 15, Platform Sprint 16
    • Needs Review:
      Yes
    • Needs QA:
      Yes

      Description

      I think it will be a very useful feature, especially for any automation process. 

      As for now the main command to check status is: 

      {{ pmm-admin status}}

      Problem: it's exposed only PMM Server version, not PMM client ( so to compare pmm client VS pmm Server version you need to run additional command)

      Proposed solution: 

      1. add 1 additional lines to pmm-admin status command  about pmm-admin version 
      2. rename section to PMM Client

       

       What's expected

       # pmm-admin status
      Agent ID: /agent_id/c2a55ac6-a12f-4172-8850-4101237a4236
      Node ID : /node_id/29b2cc24-3b90-4892-8d7e-4b44258d9309
      PMM Server:
       URL : https://x.x.x.x:443/
       Version: 2.5.0
      PMM Client:
       Connected : true
       Time drift: 2.152715ms
       Latency : 465.658µs
       pmm-admin version: 2.5.0
      Agents:
       /agent_id/aeb42475-486c-4f48-a906-9546fc7859e8 mysql_slowlog_agent Running

      How it looks now

      root@mysql-s-1vcpu-1gb-fra1-01:~# pmm-admin status
      Agent ID: /agent_id/c2a55ac6-a12f-4172-8850-4101237a4236
      Node ID : /node_id/29b2cc24-3b90-4892-8d7e-4b44258d9309
      PMM Server:
       URL : https://x.x.x.x:443/ 
       Version: 2.5.0
      PMM-agent:
       Connected : true
       Time drift: 2.262132ms
       Latency : 457.064µs
      Agents:
       /agent_id/aeb42475-486c-4f48-a906-9546fc7859e8 mysql_slowlog_agent Running
      

       

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              Stateros Yurii
              Reviewer:
              Nurlan Moldomurov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 40 minutes
                  40m

                    Smart Checklist