Commit graph

64 commits

Author SHA1 Message Date
Mateusz Matuszkowiak
7485855965 Source the exported vars before entrypoint exec
Change-Id: If40e943fee2ad928d8af64f61201800cc6f308de
Related-Bug: PROD-21141
2018-07-03 13:03:41 +02:00
Michal Kobus
01654de62e Fix alertmanager dashboard
Closes-bug: PROD-20098

Change-Id: I6223afef600ec9abe449ae909b6a8a0f8ad40c6a
2018-06-27 14:03:49 +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
Michal Kobus
f7d07391fe Dashboard rationalization
Change-Id: Ifb3f4091625b34cfefc484308f6102f7a36937a7
Closes-bug: PROD-20098
2018-06-26 12:23:43 +02:00
Dmitry Kalashnik
2f831f3709 Merge "Fix warning color" 2018-06-20 12:07:11 +00: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
Dmitry Kalashnik
38242186dd Add alerta to prometheus
Change-Id: I0349936dc683475e18155cf5f8ca750d06482cfb
2018-04-25 15:39:59 +04:00
Dmitry Kalashnik
2eaddd2469 Merge "Allow to configure relabeling for alerts" 2018-04-24 14:20:46 +00: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
Dmitry Kalashnik
cdad46d5ad Allow to use multimatching for alermanager routes
Change-Id: I2c0d439055efc0d218c8f247aea264d425fca838
2018-03-01 16:35:41 +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
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
Bartosz Kupidura
2f8a10309e Merge "Add pushgateway and alertmanager dashboards" 2017-09-28 11:24:32 +00: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
Konstantin Hontar
7b14deaf31 Add Slack and mail receiver to AlertManager config
Change-Id: Ib82ef0a7d029f84a7f92a90384bac02a0870b521
2017-09-14 13:24:04 +02:00
Ildar Svetlov
1aaa416bdc Add Prometheus Stats dashboard
Change-Id: Icad3d5bee52546288f178ab980f60d8355a36a13
2017-08-30 12:34:54 +00:00
Bartosz Kupidura
dc36045033 Allow to pass metrics_path for static jobs
Change-Id: Ifa4fa71241bf8d2c7e0a4960192d3499252516aa
2017-08-21 11:32:02 +02:00
Bartosz Kupidura
d949dcef88 Revert "Add Jenkins to Prometheus targets"
This reverts commit db1f492198.

Change-Id: I4db9c61f1061021e02e2e28ce6132449a7cb5586
2017-08-21 09:18:58 +00:00
Konstantin Hontar
db1f492198 Add Jenkins to Prometheus targets
Change-Id: Ie9853b9860b34536ded4a7583c48c735e75bb7b7
2017-08-18 13:12:03 +03:00
Bartosz Kupidura
94c1a3c99a Pass all options for static target from formula
Change-Id: I21c84341d5a585862d21f75a4d263f8f5781675d
2017-08-04 18:33:56 +02:00
mcp-jenkins
90b074f356 Merge "Add Grafana dashboard with Prometheus datasource for remote storage adapter" 2017-07-25 15:21:03 +00:00
Olivier Bourdon
9d68c5658f Add Grafana dashboard with Prometheus datasource for remote storage adapter
Change-Id: I7e18f50a4fad80ee194d21af058ee945089408f1
2017-07-24 16:13:50 +02:00
Olivier Bourdon
0e92c3d41f Fix Prometheus dashboard
Change-Id: I8256086f6c89b781e3eae047afd24c0ce7833bef
2017-07-24 15:05:44 +02:00
Olivier Bourdon
793be69566 Reorder related panel items
Change-Id: I4df4224a78a31fde52a3beb538fbce0048c0cdad
2017-07-24 14:56:29 +02:00
Olivier Bourdon
a69805ee62 Remove non-existing metrics
Change-Id: Ief97b794d167c9b307b6ac5b4906bf360e1933fb
2017-07-24 14:53:51 +02:00
Olivier Bourdon
ac64feebbf Remove aliasColors
Change-Id: I816944c1dffd3217bdc4a849458fea2f3203135c
2017-07-24 14:53:00 +02:00
Simon Pasquier
1ac10079c9 Split infra and workload monitoring for K8S
This change allows to enable the monitoring only for the K8S
infrastructure (default) or for both the infrastructure and the
workloads running on top of K8S.

Change-Id: Idc68576f2d64840c0454fadc204174027bbaa454
2017-07-19 12:00:03 +02:00
Olivier Bourdon
e1539aee0e Add Prometheus metrics relabel configuration for exporters
Tested succesfully with the following test cases:
            source_labels: instance
            source_labels: instance,__name__,test
            source_labels: [instance,__name__,test]
            source_labels:
              - instance
              - __name__
              - test

Change-Id: I9750bb0a4204335dd202cc4020445e850824c497
Depends-On: I2f85fe2f9cc67d2d03d5e8dad5ac0b74e82b0fcc
2017-06-29 11:01:15 +02:00
Bartosz Kupidura
9a986bebf7 Merge grains with pillars for static targets
Change-Id: I2f85fe2f9cc67d2d03d5e8dad5ac0b74e82b0fcc
2017-06-28 09:22:42 +02:00
jenkins-mk jenkins-mk
f67908f290 Merge "Generate 'route' config entry with macro" 2017-06-27 10:28:07 +00:00
Bartosz Kupidura
a5123c928a Merge "Support for custom add custom labels from reclass" 2017-06-27 10:28:01 +00:00
Aleksey Kasatkin
ba40adbc35 Fix typo in job name for k8s services in prometheus.yml
Right wording is:

    job_name: 'kubernetes-service-endpoints'

E.g., see 14d0604aba/documentation/examples/prometheus-kubernetes.yml (L97)

Change-Id: I997ffc96b1ab6b81e2e634d0be48ad73daf2f077
2017-06-26 13:42:45 +00:00
Bartosz Kupidura
b845f3fc69 Support for custom add custom labels from reclass
This change will enable possibility to add custom
labels to alerts.
This can be used ex. to provite routing key for
pushkin (notification service)

If given key already exists in alert, it will NOT
be overriden.

prometheus:
  server:
    config:
      alert:
        labels_add:
          route: 'mail,skype'

Change-Id: I0b21d8a9695e8a15d0d6b80e6ddd0476682c80c2
2017-06-25 14:53:01 +02:00
Bartosz Kupidura
ce0834f152 Generate 'route' config entry with macro
Change-Id: Id258bea57281e761fdeab10c30edcf32e695163e
2017-06-25 14:02:42 +02:00
Filip Pytloun
f4755dfd02 Merge "Add remote_write" 2017-05-30 10:22:05 +00:00
Bartosz Kupidura
13f39f2ac1 Add remote_write
Minor fix for application naming

Change-Id: Ie725b43a5aa9967c31ef482429176bccc21d9f02
2017-05-30 11:42:58 +02:00
Swann Croiset
84f01423df Fix alert typo when using FOR directive
Change-Id: I52d62ff13041cabea331d4d7ca24a6cf525efafd
2017-05-26 19:11:59 +02:00