Commit graph

108 commits

Author SHA1 Message Date
Martin Polreich
baa1927518 Fix Python version for Travis CI tests
Change-Id: If558bd48f691902af9541df732cc4f77468b5e19
2018-06-21 15:31:13 +02:00
Dmitry Kalashnik
161a4f03d9 Merge "Add alerts and targets for prometheus LTS and relay" 2018-06-20 12:07:24 +00:00
Dmitry Kalashnik
2f831f3709 Merge "Fix warning color" 2018-06-20 12:07:11 +00:00
Dmitry Kalashnik
c3716cb1e9 Add alerts and targets for prometheus LTS and relay
Closes-Bug: PROD-20724
Change-Id: I1f4839a4900a2d417d85a52ffef6e11e4bb2cac1
2018-06-20 12:19:36 +04: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
Dmitry Kalashnik
81334b01a5 Fix warning color
Change-Id: I64b22607c0e55dd595ab640aa1d6f647974de73e
2018-06-15 12:15:20 +04:00
Michal Kobus
d257cdbfe2 Fix typo
Change-Id: I52958fe30538491b0c8b150b3a206b8009b537c1
2018-06-13 13:03:05 +02:00
Michal Kobus
9a358f7c17 Cosmetic changes for alerts
Change-Id: I9e6b2f4a5876e7d5697236166b4a6dc30cf4615a
Closes-bug: PROD-20466
2018-06-12 11:54:39 +02: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
Dmitry Kalashnik
229fda3fc4 Merge "Disable default inhibit rules" 2018-04-25 07:57:28 +00:00
Dmitry Kalashnik
2eaddd2469 Merge "Allow to configure relabeling for alerts" 2018-04-24 14:20:46 +00:00
Dmitry Kalashnik
2d36a4fe5f Disable default inhibit rules
Change-Id: Idbd88c2c08fc1d01a3c516581d0ea8648201e5c1
Prod-related: PROD-19596
2018-04-24 18:05:26 +04:00
Dmitry Kalashnik
03a5b6d8eb Allow to configure relabeling for alerts
Change-Id: I9fab8dc868c620330c5bdc8678d33a57c8256494
Prod-related: PROD-19595
2018-04-24 14:02:15 +04:00
Ildar Svetlov
53932d47a1 Collect dns targets from grains
Change-Id: If0ca7f7cb917537c0fbba9c6a4da479adada111d
2018-04-05 17:49:24 +04:00
Jakub Josef
ccd0b6eec4 Merge "Add relabel_configs section to targets config" 2018-03-27 11:59:59 +00:00
Mateusz Matuszkowiak
63051d0845 Remove handler as its not needed
Change-Id: I11d29619665c053bd6b8f5b133c5143edb80fb5c
Closes-Bug: PROD-18802
2018-03-27 11:45:23 +02:00
Dmitry Kalashnik
93992a0742 Add relabel_configs section to targets config
Add host label to exporters grain generator

Change-Id: I0a8cbf27ebcf724fe2bf7f547a30080d94198592
PROD-related: PROD-18671
2018-03-27 13:45:06 +04:00
mcp-jenkins
846332b40d Merge "Use max instead of min" 2018-03-20 13:31:01 +00:00
Mateusz Matuszkowiak
53234ab0e5 Use max instead of min
Since these services are replicated (two per service),
we should check for the max, not min, as one of the replicas
could be down, but still the API is Up.

Change-Id: I6dad9b74d65415f5f4f91e00c732792010487619
2018-03-20 14:12:30 +01:00
Jakub Josef
b13e62b904 Merge "Allow to deploy prometheus as standalone service" 2018-03-12 16:21:54 +00: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
Ildar Svetlov
3079228995 Add new fields to metric_relabel_config
Change-Id: I581216e5b6918c8c613c20fd141f287490509b59
2018-03-06 15:47:04 +04:00
Dmitry Kalashnik
be606a43c4 Allow to set custom template for email receivers
Change-Id: I9fb7fbd1946e564e1e245ea226c5bbe7440f25d4
Closes-Bug: PROD-18240
2018-03-05 17:34:51 +04:00
Jakub Josef
55f8d880be Merge "Allow to use multimatching for alermanager routes" 2018-03-01 17:14:03 +00:00
Dmitry Kalashnik
cdad46d5ad Allow to use multimatching for alermanager routes
Change-Id: I2c0d439055efc0d218c8f247aea264d425fca838
2018-03-01 16:35:41 +04:00
Jakub Josef
b21c46a2ac Merge "Use new image for kitchen tests" 2018-02-22 10:39:42 +00:00
Martin Polreich
f3b0b94020 Use new image for kitchen tests
Change-Id: Ieaaba3f1a550e456914d160e5930077986fdbe50
2018-02-21 14:30:33 +01:00
Filip Pytloun
a30435408e Update Makefile 2018-02-15 15:13:13 +01:00
Filip Pytloun
ce1daf8670 Merge "Remove salt-master, reclass from pkg dependencis" 2018-01-15 12:13:24 +00:00
Petr Michalec
d7390ec35a Merge "Optimize kitchen tests for Travis CI" 2018-01-10 09:39:20 +00:00
Petr Michalec
2ff6ad31e8
Remove salt-master, reclass from pkg dependencis
Change-Id: I36d7f56a43d96c0f46d59472798547930dcb9b27
2018-01-09 09:40:10 +01:00
Martin Polreich
3b2088ff09 Optimize kitchen tests for Travis CI
Change-Id: Ia4f7ac471fb587da22e0454287d55cb8ba04d9d3
2018-01-05 13:31:48 +01: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
Ondrej Smola
94baab3660 iadded posibility to define two endpoint in one receiver + test pillars + update Readme
This option is usefull when all alarms should be send to two or more receivers simultaneously - without need to use continue parameter

Change-Id: I6b8d833776549614d0381378a2e92cb5bc05af77
2017-11-21 10:18:34 +01:00
mcp-jenkins
2f5ed47dc9 Merge "Add prometheus alerts" 2017-09-28 11:26:00 +00:00
Bartosz Kupidura
2f8a10309e Merge "Add pushgateway and alertmanager dashboards" 2017-09-28 11:24:32 +00:00
Bartosz Kupidura
6fce6098d7 Add prometheus alerts
* PrometheusRushMode
* PrometheusRemoteStorageQueue
* AlertmanagerNotificationFailed

Change-Id: I5a875e7b9861f860bac501da55f0e8b20e799d52
2017-09-27 16:48:33 +02:00
Bartosz Kupidura
20a437a58e Add pushgateway and alertmanager dashboards
Change-Id: I83d705833f73bd827f5b752b215d3be53dc278dd
2017-09-27 16:20:06 +02:00
Ildar Svetlov
5932165d11 Alignment Remote Storage Adapter Grafana dashboard
Change-Id: Ic61a852118eb932c837689d1eafbeba313adeb2d
Closes-bug: PROD-14712
2017-09-25 14:11:12 +04:00
Bartosz Kupidura
37925ad206 Get kubernetes status from grains
Change-Id: If921742f5f2601bcd974922d272f0d8f4aa2b0b0
2017-09-20 12:17:23 +02:00
Ales Komarek
22f7ab3572 Merge "Trigger the target down alert after 2 minutes" 2017-09-15 09:51:58 +00:00
Konstantin Hontar
7b14deaf31 Add Slack and mail receiver to AlertManager config
Change-Id: Ib82ef0a7d029f84a7f92a90384bac02a0870b521
2017-09-14 13:24:04 +02:00
Simon Pasquier
cd90c9f842 Trigger the target down alert after 2 minutes
Otherwise the alert fires as soon as Prometheus can't scrape a target.
It is too aggressive in case of transient connectivity issues or
endpoint restart.

Change-Id: Ib3de5b141db7a7f2397bf332844a9c44d38f2d3c
2017-09-12 15:14:21 +02:00
Simon Pasquier
af5d9a9503 Add soft parameters for the main Prometheus options
Change-Id: Ia189d8f569c16814b1008815704b32283d032be7
2017-09-08 15:11:53 +02:00
Bartosz Kupidura
bd8f62f433 Merge "Fix for removing local addresses as exporters addresses" 2017-09-05 07:26:05 +00:00
Martin Polreich
59a6145da9 Fix name in .kitchen.travis.yml file
Change-Id: Ifb665bceb5d710c34476bb42ae65e85103a5f4e5
2017-09-01 11:37:30 +02:00
Olivier Bourdon
477ea05109 Fix for removing local addresses as exporters addresses
Change-Id: Ifac8c8960497cb6dfe95e493583f07cee4d0833d
2017-09-01 11:00:50 +02:00
Ildar Svetlov
1aaa416bdc Add Prometheus Stats dashboard
Change-Id: Icad3d5bee52546288f178ab980f60d8355a36a13
2017-08-30 12:34:54 +00:00
Martin Polreich
3a0398ca34 Update .travis.yml and .kitchen.yml files for parallel testing
Change-Id: Icc0d430c5543f653515fc54ff45d392282b24c2a
2017-08-25 10:58:38 +02:00