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

Server configuration via environment variables improvements

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Packaging, PMM ManageD
    • Labels:

      Description

      1. Accept d suffix for METRICS_RESOLUTION, DATA_RETENTION, etc. Use Prometheus' duration parsing function instead of time.ParseDuration.
      2. Validate environment variables in Docker entrypoint, stop container on invalid values:
        • Start either pmm-managed with a flag, or a separate binary derived from pmm-managed source code before starting supervisord.
      3. Validate that METRICS_RETENTION and QUERIES_RETENTION are not passed.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  alexey.palazhchenko Alexey Palazhchenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: