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

PMM Server Docker image: Decommission and remove Prometheus binaries and configuration

Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Fixed
    • None
    • 2.20.0
    • docker, PMM Server
    • 3
    • Yes
    • Yes
    • C/S Core

    Description

      User story:

      The Prometheus was replaced by Victoria Metrics and we want to remove Prometheus binaries and configs from PMM Server Docker image.

       

       

      How to test:

       

      1. Binaries was deleted: /usr/sbin/prometheus and /usr/bin/promtool 

      2. The prometheus in 'STOPPED' state in `supervisorctl status` output:

      [[email protected] opt]# supervisorctl status
      alertmanager                     RUNNING   pid 21, uptime 0:07:40
      clickhouse                       RUNNING   pid 15, uptime 0:07:40
      cron                             RUNNING   pid 18, uptime 0:07:40
      dashboard-upgrade                EXITED    Jun 16 06:54 PM
      dbaas-controller                 STOPPED   Not started
      grafana                          RUNNING   pid 16, uptime 0:07:40
      nginx                            RUNNING   pid 17, uptime 0:07:40
      pmm-agent                        RUNNING   pid 25, uptime 0:07:40
      pmm-managed                      RUNNING   pid 198, uptime 0:07:35
      pmm-update-perform               STOPPED   Not started
      postgresql                       RUNNING   pid 14, uptime 0:07:40
      prometheus                       STOPPED   Not started
      qan-api2                         RUNNING   pid 168, uptime 0:07:38
      victoriametrics                  RUNNING   pid 19, uptime 0:07:40
      vmalert                          RUNNING   pid 20, uptime 0:07:40
      

      3. Image size should be: ~1.74GB

      perconalab/pmm-server-fb                     PR-1856-afae59a                                         8b815beed397   29 hours ago        1.74GB
      

      Attachments

        Issue Links

          Activity

            People

              nikita.beletskii Nikita Beletskii (Inactive)
              nikita.beletskii Nikita Beletskii (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist