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

MySQL slow log rotation usage is unclear

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: docker, Documentation, PMM Agent
    • Labels:
    • Story Points:
      1

      Description

      The inline help doesn't specify fully the units to use, and public docs are missing completely.

      Error

      [root@latm8-1 ~]# pmm-admin add mysql ... --size-slow-logs=1
      pmm-admin: error: units: unknown unit  in 1, try --help
      

      Correct parameter to pass - GB

      [root@latm8-1 ~]# pmm-admin add mysql ... --size-slow-logs=1GB
      MySQL Service added.
      Service ID  : /service_id/93c9e562-d553-4301-a529-39ac608850ae
      Service name: latm8-1-mysql 

      The correct parameters to use are MB, GB:

      --size-slow-logs=1GB
      

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              paul.jacobs Paul Jacobs
              Reporter:
              michael.coburn@percona.com Michael Coburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: