summaryrefslogtreecommitdiff
path: root/docker/prometheus
AgeCommit message (Collapse)AuthorFilesLines
2022-10-14Bump node_exporter to 1.4.0Pierre Riteau1-1/+7
Change-Id: I947a0b9155fea18a7781f694dbeafc49033fef8e
2022-09-27Move to CentOS Stream 9Marcin Juszkiewicz1-0/+2
OpenStack 'zed' requires Python 3.8+ so RHEL 8 family has to go. This changeset moves to CentOS Stream 9 while move to RockyLinux 9 is planned as final solution. CI moved to CentOS Stream 9 nodes. Depends-on: https://review.opendev.org/c/openstack/kolla-ansible/+/839715 Change-Id: I113b9984294cf8663d3fc0c8840320e1d40ea731
2022-09-02prometheus-ovn-exporter: use sha256sumMarcin Juszkiewicz1-1/+1
shasum requires 30M of Perl on CentOS 9 while sha256sum is already present. Change-Id: I9372ebc643fced497ab01480f4c7cd6caa65c282
2022-09-01Merge "prometheus: Add OVN exporter"Zuul1-0/+36
2022-08-30Bump prometheus services to latest versionwuchunyang11-43/+30
blackbox_exporter -> 0.22.0 prometheus_cadvisor -> 0.45.0 elasticsearch_exporter -> 1.5.0 haproxy_exporter -> 0.13.0 prometheus_libvirt_exporter -> 2.3.2 memcached_exporter_version -> 0.10.0 prometheus_msteams -> 1.5.1 prometheus_mtail -> v3.0.0-rc50 mysqld_exporter -> 0.14.0 node_exporter -> 1.3.1 prometheus -> 2.38.0 Change-Id: I3452e8904992bfb977dcae4084a0d98aab82e221
2022-08-25prometheus: Add OVN exporterMichał Nasiadka1-0/+36
Change-Id: I2a1d97421f53e63bb2e8d93dcdbc9b738e39670d
2022-06-22Bump prometheus-openstack-exporter version to 1.6.0Pierre Riteau1-5/+5
Change-Id: I4bd581c3ea422e1c9a075a71721413d47fdbdfe4 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/828902
2022-05-06prometheus-libvirt-exporter: fix build with newer GoMarcin Juszkiewicz1-1/+3
I have no idea how Go works. This change make build happen. Change-Id: I09ea136c7354143f45f856d5e8d8ed1192879622
2022-04-26Bump up Alertmanager versionSven Kieske1-1/+1
Change-Id: I793e35ef347c9d44b4e870cd3ca1bd459e557623
2022-04-21flatten images a bitMarcin Juszkiewicz1-2/+2
As we have one type of images now some RUN calls could be merged so we will have less layers in resulting images. Change-Id: I5178c58fbd8c65efe825dc249c0f1368ef0fe8e0
2022-04-11Adjust permissions on _extend_start files.Tim Shearer1-1/+1
Explicitly set the permissions on the kolla-toolbox kolla_extend_start file. Also, since all extend_start files are sourced rather than executed, the executable bits are now cleared throughout the project. Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0
2022-04-11drop infra_image_prefixMarcin Juszkiewicz14-14/+14
We have one install_type only now so that infra stuff is not needed anymore. Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
2022-03-11Unify curl use (customisation options)Maksim Malchuk11-23/+34
This change adds and unifies an ability to override hardcoded URLs for air-gapped environments via the usual blocks mechanism. Also, this change replaces ENV with ARG instruction for the variables used only in building images, and uses bash variable expansion where it possible. This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685 Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-03-10Merge "Add prometheus-msteams image"Zuul1-0/+24
2022-02-18Merge "Add Prometheus libvirt exporter image"Zuul1-0/+45
2022-02-17Add Prometheus libvirt exporter imageDoug Szumski1-0/+45
This adds a libvirt exporter image for use with Prometheus. Partially-Implements: blueprint libvirt-exporter Change-Id: Ice2af99a323496d3821762851b663899d15f569a
2021-12-16Bump up Alertmanager versionPiotr Parczewski1-4/+7
Yoga deserves a newer version than one from 2019. Change-Id: Ib7b45ea6ca0a465ce075ac2f2a0e7b8006ee6190
2021-10-08Add prometheus-msteams imagePierre Riteau1-0/+24
This can be used to forward Prometheus Alertmanager notifications to Microsoft Teams. Change-Id: I57ebdf734c4bf38045ca8f837dc7066cdeb16131
2021-09-16Merge "Upgrade prometheus elasticsearch exporter to 1.2.1"Zuul1-1/+1
2021-08-05Remove Prometheus v1 imagePiotr Parczewski1-23/+0
Following deprecation in Wallaby cycle, it's now time to remove it. Change-Id: I551b99e9bd5224433bd0ebc64e07f0ce83595ef8
2021-08-04Upgrade prometheus elasticsearch exporter to 1.2.1Gaël THEROND (Fl1nt)1-1/+1
Fix a few metrics bugs such as: - [BUGFIX] Fixed elasticsearch 7.13 node stats metrics. - [BUGFIX] Fixed snapshot stats metrics for some snapshot repository types. - [BUGFIX] json parse error if the snapshot json contains failures. - [BUGFIX] Remove credentials from URL in clusterinfo metrics. Change-Id: Ia45dc49ecdb5b599f7d969a3db4ec28d2f774f73 Closes-bug: #1935015
2021-07-06Fix prometheus-elasticsearch-exporter container.Gaël THEROND (Fl1nt)1-1/+1
* Replace current URL with the proper target. Change-Id: I0bb8b2429906e698858f6b699e4c4d8bacc2dd74 Closes-Bug: #1934763
2021-06-22Bump up cAdvisor's versionPiotr Parczewski1-3/+7
Change-Id: I987ea163e4c4e331e0e2c136b7f55890dd9d469b
2021-05-19[Security] Fix open redirect in PrometheusPiotr Parczewski1-1/+1
Bump up Prometheus to the oldest non affected version as per security advisory [1]. [1] https://github.com/prometheus/prometheus/security/advisories/GHSA-vx57-7f4q-fpc7 Change-Id: I505b0645dc3331264c8fc6762df1c6cb8bb2f2ed
2021-03-04Revert "Fix error when github return 302"Michal Nasiadka11-11/+11
This reverts commit 61def281d077f88051d1b1a14dfdbfabac036c8c. Reason for revert: --location was already in curlrc and it was unified in change I46b77978926fc2b578a68d1aaa944b2198af0685 Change-Id: I066d747400ede30037ff324ad55430af7c35dc18
2021-03-02Fix error when github return 302Sergei Chekanov11-11/+11
-L for curl: If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place It fixes build error for me: INFO:kolla.common.utils.prometheus-v2-server: ---> Running in 693fd4095c77 INFO:kolla.common.utils.prometheus-v2-server:curl (https://github.com/prometheus/prometheus/releases/download/v2.23.0/prometheus-2.23.0.linux-amd64.tar.gz): response: 302, time: 0.166583, size: 640 INFO:kolla.common.utils.prometheus-v2-server: INFO:kolla.common.utils.prometheus-v2-server:gzip: stdin: not in gzip format INFO:kolla.common.utils.prometheus-v2-server: INFO:kolla.common.utils.prometheus-v2-server:tar: Child returned status 1 INFO:kolla.common.utils.prometheus-v2-server:tar: Error is not recoverable: exiting now Change-Id: I095ca6f34cc7c7bca485e9ec019cc52aeb8e3ff4
2020-12-22Merge "Bump prometheus-openstack-exporter version to 1.3.0"Zuul1-1/+1
2020-12-17Bump prometheus-openstack-exporter version to 1.3.0Jorge Niedbalski1-1/+1
Change-Id: Ie54703e6ecf6a3332ef6f769fa500091068ea155 Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
2020-12-14Add secondary Prometheus imagePiotr Parczewski1-0/+23
Non-backward compatible version 2.x of Prometheus added. It is supposed to replace 1.x version. Change-Id: I42972ae890a88f01fc34b7775077d68e45ade68a
2020-12-02Unify curl optionsMichał Nasiadka11-11/+11
Currently we use couple of curl options throughout Dockerfiles, this change adds all common options to curlrc (-sSLf) and removes usage of those in Dockerfiles. Change-Id: I46b77978926fc2b578a68d1aaa944b2198af0685
2020-11-03Bump up openstack exporter to 1.2.0Michal Nasiadka1-1/+1
Change-Id: I19edf083c2f96098773d1198796e60cb8679eb4d
2020-07-09introduce 'infra_image_prefix' for infra imagesMarcin Juszkiewicz12-12/+12
Defaults to 'image_prefix' for now but shows which images gets their names changed soon. Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
2020-07-02Bump prometheus-openstack-exporter version to 1.1.0Jorge Niedbalski1-1/+1
Change-Id: Ia2306507d6ef97f01ff520dc4222bc48c1eb9843 Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
2020-04-26[prometheus] Bump versionsDincer Celik7-7/+7
There are quite new versions for the stuff below. - node-exporter - mysqld-exporter - mtail - memcached-exporter - elasticsearch-exporter - blackbox-exporter - alertmanager Change-Id: I051081e547074bbe13b55143d73baef5651e18fb
2020-03-27Bump prometheus_openstack_exporter to 1.0.0Jorge Niedbalski1-1/+1
v1.0.0 has been released, use that release as a base for prometheus_openstack_exporter. Change-Id: I6b8bb18633fd277f3ab46788fa76bb4af67f5942 Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
2020-03-01Add block labels to all DockerfilesChristian Berendt12-0/+24
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-01-23Update cAdvisor to latest releaseDoug Szumski2-1/+5
Updates cAdvisor to the latest release for x86 arch. See the change log for more info [1]. [1] https://github.com/google/cadvisor/blob/master/CHANGELOG.md Change-Id: I0bd4054e3d2aed67fd27453e3cba321764f09dc9
2019-10-18Bump Openstack Exporter version to 0.6.0Keith Plant1-1/+1
There appears to be a bug in the prometheus openstack exporter versions <= 0.2.1 causing cinder data to stop being collected after about 24 hours. Bumping to latest stable version 0.6.0. Change-Id: Iccaf4c0bb79e7e33072e37aa83711b37938d6719 Signed-off-by: Keith Plant <kplantjr@gmail.com>
2019-09-20Merge "[docker/openstack-exporter] Bump to 0.2.1 version"Zuul1-1/+1
2019-09-04Add effective and permitted capability to blackbox exporterScott Solkhon1-1/+16
The ICMP probe in the Prometheus blackbox exporter requires elevated privileges to function. Linux root user or CAP_NET_RAW capability is required. Can be set by executing setcap cap_net_raw+ep blackbox_exporter. This change also bumps the version of the blackbox exporter to the next minor version to allow for this support. '+ep' means we're adding the capability as effective and permitted. See: https://github.com/prometheus/blackbox_exporter Change-Id: I1c3b817712ae10edd45de01382b044af2fb728bd Closes-Bug: #1840631 Co-authored-by: Jack Heskett <Jack.Heskett@gresearch.co.uk>
2019-08-05[docker/openstack-exporter] Bump to 0.2.1 versionJorge Niedbalski1-1/+1
Bump the default version to 0.2.1 of the openstack-exporter. Change-Id: I6e893c25a9dfbbbac6bd69f2fa26e6c72a4154d7 Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
2019-06-25[prometheus/openstack-exporter] Changed repository location and version.Jorge Niedbalski1-2/+2
Version 0.0.9 has been released, also the default organization has been changed to its own org[0]. [0] https://github.com/openstack-exporter/openstack-exporter Change-Id: Ib82810a8d33dd91d28537058e873724a22067103 Signed-off-by: Jorge Niedbalski <niedbalski@gmail.com>
2019-03-26Merge "[docker/prometheus] Bump openstack-exporter version."Zuul1-1/+1
2019-03-20Merge "Add Google mtail for generating metrics from logs"Zuul1-0/+30
2019-03-11[docker/prometheus] Bump openstack-exporter version.Jorge Niedbalski1-1/+1
This commit bumps the prometheus-openstack-exporter version to the latest release 0.0.7. Change-Id: I4244f15d4eae4bc670cb2158ecf072781fd4c2ac Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2019-03-07Add Google mtail for generating metrics from logsDoug Szumski1-0/+30
This adds support for building an mtail image for generating metrics from logs. These metrics can then be used to trigger alerts. For example, one may want to track user logins, kernel errors, filesystem corruption etc. Change-Id: I0b3eee33c608b08f1e915a08096a1194d359805a Partially-Implements: blueprint mtail
2019-03-06Merge "Added elasticsearch exporter image for prometheus"Zuul1-0/+20
2019-03-04Merge "Bump up Prometheus and components versions"Zuul8-8/+8
2019-02-22Added elasticsearch exporter image for prometheusErol Guzoglu1-0/+20
Change-Id: Id138f12e10102a6dd2cd8d84f2cc47aa29af3972
2019-02-19debian/ubuntu: introduce 'debian_arch' variableMarcin Juszkiewicz9-16/+8
Many images have 'if x86_64 then amd64 elif aarch64 then arm64' check to comply with Debian like architecture names in several projects. This patch creates 'debian_arch' variable which can be used in all Docker files (similar to 'base_arch' one). All required images got converted to use it. Change-Id: I9c5e6f13d6c9b24fe323408512bd5aef290111ad