Commit graph

17 commits

Author SHA1 Message Date
Michal Kobus 2b64974054 Enable prometheus pushgateway persistent storage
Change-Id: If539f26909bd56b168a806773bb9c6574c86bf40
Closes-bug: PROD-21073
2018-07-06 13:16:34 +02:00
Mateusz Matuszkowiak 858fc1fb57 Be able to change duration of the gainsight execution
Change-Id: Ib46fd444ef87a6a76775ac37f6b4876aab6fd49c
Related-Bug: PROD-21034
2018-06-27 09:10:12 +02:00
Mateusz Matuszkowiak 520c9c6ebf Added new container for prometheus to gainsight
Change-Id: I28c88a10537a2b4aee235501b3854e52a10c7ab8
Related-Bug: PROD-19567
2018-06-18 09:15:23 +00:00
Michal Kobus 355aa0b480 Alerts reworked
Change alerts names, severities and descriptions.

Change-Id: Ib06f08a6f336d28592d5f70e97aedfeb12eb603c
Closes-bug: PROD-19698
2018-05-10 16:36:08 +02:00
Dmitry Kalashnik 38242186dd Add alerta to prometheus
Change-Id: I0349936dc683475e18155cf5f8ca750d06482cfb
2018-04-25 15:39:59 +04:00
Bartosz Kupidura 5e9fb1d347 Allow to deploy prometheus as standalone service
Now it is able to install proemtheus on host and
use it to scrape data from other prometheuses.

Prod-related: PROD-17350

Change-Id: I11d65920c0e9b685dead22a5551521fa15d13f25
2018-03-12 17:26:06 +04:00
Bartosz Kupidura 8bdf3ed090 Add support for prometheus 2.0
New version changes:
* different alerts format
* rewritten storage (some config flags removed)

Closes-Bug: PROD-16609
Change-Id: I805fa322e4744e98177d6c3e29589ebc6fb917a2
2018-01-03 12:26:10 +01:00
Bartosz Kupidura 6fce6098d7 Add prometheus alerts
* PrometheusRushMode
* PrometheusRemoteStorageQueue
* AlertmanagerNotificationFailed

Change-Id: I5a875e7b9861f860bac501da55f0e8b20e799d52
2017-09-27 16:48:33 +02:00
Olivier Bourdon 5b6b583c42 Add Prometheus alerts
Change-Id: I4ad10555d728d62c8e6504659d30558f95b410ac
2017-07-26 13:45:51 +02:00
Olivier Bourdon 31bfa9d94c Fix exporters configuration to be generic
Change-Id: If5cf3662f96311a5f37055c0f62934ba5407a978
2017-07-11 16:07:45 +02:00
Bartosz Kupidura 9a986bebf7 Merge grains with pillars for static targets
Change-Id: I2f85fe2f9cc67d2d03d5e8dad5ac0b74e82b0fcc
2017-06-28 09:22:42 +02:00
Olivier Bourdon e8c7be754f Add Prometheus exporters
Change-Id: I71538bc6b39edaa6a0856c8bba9de11b88cec67a
2017-06-27 10:30:24 +02:00
Bartosz Kupidura 9b3d774430 We need empty {} to evaluate alerts
For some alerts we use reclass to get variables
(ex. threshold). To get those reclass variables
we use `prometheus_server` dict, which on nodes
without prometheus class is None.
We need to provide at least empty dict in that
case.

Change-Id: Ic1f2c1776c4852701dcf9f8a76f933926b2d9aec
2017-06-22 15:27:49 +02:00
Bartosz Kupidura 45d0bb8fe7 Remove hardcoded username
Change-Id: I3103dc4c174be7b8c199508b0b53941e687012bf
Depends-On: Ib4c218af6e880963cadff807246d65ff68ddf5e1
2017-06-19 14:54:45 +02:00
Bartosz Kupidura abec256072 Create data directory for am and prometheus
Change-Id: Ie89009480c06cafb15bb06ded263e49ef194dfc9
2017-05-22 10:56:34 +02:00
Bartosz Kupidura 597b0678bf Better grain handling for telegraf
Replace '-' to '_' in prometheus config dir
Add possibility to add recording rules

Change-Id: Ifc85a95ae62cb0f1b810a3b4f718e8d92f9c6209
2017-03-29 13:54:26 +02:00
Bartosz Kupidura 2f70396a78 Add prometheus, alertmanager, pushgateway configs
Change-Id: I7f146e0207ada58f0723b14d0a625a6bce67ea9f
2017-03-17 17:50:23 +01:00