-
Committer:
Jacek Nykis
-
Date:
2016-03-16 09:55:10 UTC
-
mfrom:
(10.2.7 prometheus-layer-jjo)
-
Revision ID:
jacek.nykis@canonical.com-20160316095510-0wwaput0125zz26n
[jjo, r=jacekn] support alertmanager-service, overhaul to use more states logic
- reworked whole logic, to use more state transitions and simplify logic
- added 'external_url' setting, which can e.g.
"http://{private_address}:{port}/"
- would like to default to that value (need feedback)
- unit_tests overhaul, trickier with more state logic
(vs straight function calls)
- make 'imperative' states (ie mimicking a async function call)
to be 'prometheus.do-<something>'
- TIL data_changed caveats, see big fat
"Careful with data_changed() implicitly saved state: ..."