Merge ~aieri/charm-prometheus2:lp1891942-properly-reload-prom-process-via-sighup into charm-prometheus2:master
Status: | Merged |
---|---|
Approved by: | Jeremy Lounder |
Approved revision: | ed9cebd991e402d4d4fd1199ea1bdc872f819b0d |
Merged at revision: | ed9cebd991e402d4d4fd1199ea1bdc872f819b0d |
Proposed branch: | ~aieri/charm-prometheus2:lp1891942-properly-reload-prom-process-via-sighup |
Merge into: | charm-prometheus2:master |
Diff against target: |
117 lines (+31/-16) 3 files modified
src/reactive/prometheus.py (+8/-12) src/tests/functional/tests/tests_prometheus.py (+23/-1) src/tests/unit/test_reactive_prometheus.py (+0/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeremy Lounder (community) | Approve | ||
Drew Freiberger | Pending | ||
Jose Guedez | Pending | ||
Alvaro Uria | Pending | ||
Review via email: mp+390044@code.staging.launchpad.net |
This proposal supersedes a proposal from 2020-08-24.
Commit message
Properly reload all Prometheus processes. Fixes LP#1891942.
This solution is very similar to that which was *removed* in 30e80. The removed solution did not identify and reload all Prometheus processes. As per the official Prometheus documentation SIGHUP can be used to reload Prometheus: https:/
An alternative solution was considered where Prometheus would be reloaded using the HTTP API. This solution was not implemented because it had additional security implications that needed to be considered.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
LGTM +1