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

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:

[root@58319f3624db 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

How to test

None

How to document

None

Smart Checklist

Activity

Show:

Alex Demidoff June 16, 2021 at 7:15 PM

 do you know if we still use `promtool` somewhere? 

Done

Details

Assignee

Reporter

Priority

Labels

Needs QA

Yes

Fix versions

Story Points

Smart Checklist

Created June 16, 2021 at 7:04 PM
Updated March 6, 2024 at 2:35 AM
Resolved June 28, 2021 at 12:51 PM