Skip to content
Snippets Groups Projects
  1. Nov 07, 2023
    • Will Szumski's avatar
      Support exposing prometheus_server externally · 37c2ab2a
      Will Szumski authored
      This avoids the need to use a proxy, or some other means, to connect to
      Prometheus. This is disabled by default and can be enabled by setting
      enable_prometheus_server_external to true.
      
      Change-Id: Ia0af044ff436c2a204b357750a16ff49fcdfec45
      37c2ab2a
  2. Sep 21, 2023
  3. Aug 30, 2023
  4. Jun 20, 2023
    • Dawud's avatar
      Use friendly prometheus instance labels · eef3ff30
      Dawud authored
      
      Replaces the instance label on prometheus metrics with the inventory
      hostname as opposed to the ip address. The ip address is still used as
      the target address which means that there is no issue of the hostname
      being unresolvable. Can be optionally enabled or set to FQDNs by
      changing the prometheus_instance_label variable as mentioned in the
      release notes.
      
      Co-Authored-By: default avatarWill Szumski <will@stackhpc.com>
      Change-Id: I387c9d8f5c01baf6054381834ecf4e554d0fff35
      eef3ff30
  5. Dec 01, 2022
  6. Sep 09, 2022
  7. Aug 10, 2022
  8. Jul 20, 2022
  9. Jun 20, 2022
  10. May 28, 2022
    • Radosław Piliszek's avatar
      Do not use keystone_admin_url et al · 7ca9349b
      Radosław Piliszek authored
      Following up on [1].
      The 3 variables are only introducing noise after we removed
      the reliance on Keystone's admin port.
      
      [1] I5099b08953789b280c915a6b7a22bdd4e3404076
      
      Change-Id: I3f9dab93042799eda9174257e604fd1844684c1c
      7ca9349b
  11. May 24, 2022
  12. May 18, 2022
  13. May 12, 2022
  14. Mar 08, 2022
    • Nathan Taylor's avatar
      Adds etcd endpoints as a Prometheus scrape target · 0f2794a0
      Nathan Taylor authored
      Add "enable_prometheus_etcd_integration" configuration parameter which
      can be used to configure Prometheus to scrape etcd metrics endpoints.
      The default value of "enable_prometheus_etcd_integration" is set to
      the combined values of "enable_prometheus" and "enable_etcd".
      
      Change-Id: I7a0b802c5687e2d508e06baf55e355d9761e806f
      0f2794a0
  15. Feb 18, 2022
    • Pierre Riteau's avatar
      Configure node-exporter to report correct file system metrics · b210dcd6
      Pierre Riteau authored
      Without this configuration, all mount points are reporting the same
      utilisation metrics [1]. With the rslave option, all root mounts from
      the host are visible in the container, so we can remove the bind mounts
      for /proc and /sys.
      
      [1] https://github.com/prometheus/node_exporter#docker
      
      Change-Id: I4087dc81f9d1fa5daa24b9df6daf1f9e1ccd702f
      Closes-Bug: #1961438
      b210dcd6
    • Pierre Riteau's avatar
      Allow to define extra parameters for Prometheus exporters · dcba8297
      Pierre Riteau authored
      The following variables are added:
      
      * prometheus_blackbox_exporter_cmdline_extras
      * prometheus_elasticsearch_exporter_cmdline_extras
      * prometheus_haproxy_exporter_cmdline_extras
      * prometheus_memcached_exporter_cmdline_extras
      * prometheus_mysqld_exporter_cmdline_extras
      * prometheus_node_exporter_cmdline_extras
      * prometheus_openstack_exporter_cmdline_extras
      
      Change-Id: I5da2031b9367115384045775c515628e2acb1aa4
      dcba8297
  16. Feb 14, 2022
  17. Jan 05, 2022
    • Doug Szumski's avatar
      Add support for deploying Prometheus libvirt exporter · 491d4184
      Doug Szumski authored
      
      Add support for deploying the Kolla Prometheus libvirt exporter image to
      facilitate gathering metrics from the Nova libvirt service.
      
      Co-Authored-by: default avatarDr. Jens Harbott <harbott@osism.tech>
      Change-Id: Ib27e60c39297b86ae674297370f9543ab08cda05
      Partially-Implements: blueprint libvirt-exporter
      491d4184
    • Angelos Kolaitis's avatar
      Use Volume V3 API in OpenStack exporter · 4410ca78
      Angelos Kolaitis authored
      Kolla has removed the Volume V2 API by default since OpenStack Wallaby.
      However, openstack-exporter attempts to use the Volume V2 API by
      default, resulting in clean installs failing to fetch Cinder metrics
      in Prometheus.
      
      This patch updates the clouds.yml configuration file for
      openstack-exporter to use the Volume V3 API instead.
      
      Closes-Bug: #1938194
      Change-Id: Ifbb601be3ef1a1e853d5a7e832adf556c0ae38b9
      Unverified
      4410ca78
  18. Dec 23, 2021
  19. Sep 22, 2021
  20. Aug 09, 2021
  21. Aug 05, 2021
  22. Jul 23, 2021
  23. Jul 08, 2021
    • Piotr Parczewski's avatar
      Reduce container metrics cardinality · c2ae21fd
      Piotr Parczewski authored
      Adds support for passing extra runtime options to cAdvisor.
      By default new options disable exporting rarely useful metrics
      and labels by cAdvisor. This helps reducing the load on Prometheus
      and cAdvisor itself.
      
      Change-Id: I81f3845d6cd03a70a0c8569f8d0ea421027df083
      c2ae21fd
  24. Jun 20, 2021
    • Radosław Piliszek's avatar
      Revert "Reduce container metrics cardinality" · 640dbb03
      Radosław Piliszek authored
      This reverts commit c6259158.
      
      Reason for revert: cAdvisor fails with:
      
      invalid value "percpu,referenced_memory,cpu_topology,resctrl,udp,advtcp,sched,hugetlb,memory_numa,tcp,process" for flag -disable_metrics: unsupported metric "referenced_memory" specified in disable_metrics
      
      Change-Id: I1a0eea5c20f95f38c707401b56b7d2454484377d
      640dbb03
  25. Jun 16, 2021
    • Piotr Parczewski's avatar
      Reduce container metrics cardinality · c6259158
      Piotr Parczewski authored
      Adds support for passing extra runtime options to cAdvisor.
      By default new options disable exporting rarely useful metrics
      and labels by cAdvisor. This helps reducing the load on Prometheus
      and cAdvisor itself.
      
      Change-Id: Id0144e8fa518e3236cb94ba2e3961fb455d36443
      c6259158
  26. May 11, 2021
  27. Mar 22, 2021
  28. Mar 15, 2021
  29. Jan 12, 2021
  30. Nov 11, 2020
    • Alban Lecorps's avatar
      Add override timeout for openstack exporter · 99680b56
      Alban Lecorps authored
      Add scrape_timeout option in
      prometheus_openstack_exporter job in order
      to avoid timeout for large Openstack environment.
      
      Change-Id: If96034e602bee3b3eea34a2656047355e1d17eec
      Closes-Bug: #1903547
      99680b56
  31. Oct 09, 2020
  32. Sep 01, 2020
    • Pierre Riteau's avatar
      Remove unused configuration for prometheus-openstack-exporter · 295f8d1b
      Pierre Riteau authored
      The Prometheus OpenStack exporter was needlessly configured to use the
      prometheus Docker volume and change permissions of /data, which does
      not exist in the container image.
      
      This must have been copy-pasted from existing Prometheus code.
      
      Change-Id: I96017c17e68ca7a00a2d5ac41f2f43ef87694514
      295f8d1b
  33. Aug 19, 2020
    • Rafael Weingärtner's avatar
      Standardize use and construction of endpoint URLs · f425c067
      Rafael Weingärtner authored
      
      The goal for this push request is to normalize the construction and use
       of internal, external, and admin URLs. While extending Kolla-ansible
       to enable a more flexible method to manage external URLs, we noticed
       that the same URL was constructed multiple times in different parts
       of the code. This can make it difficult for people that want to work
       with these URLs and create inconsistencies in a large code base with
       time. Therefore, we are proposing here the use of
       "single Kolla-ansible variable" per endpoint URL, which facilitates
       for people that are interested in overriding/extending these URLs.
      
      As an example, we extended Kolla-ansible to facilitate the "override"
      of public (external) URLs with the following standard
      "<component/serviceName>.<companyBaseUrl>".
      Therefore, the "NAT/redirect" in the SSL termination system (HAproxy,
      HTTPD or some other) is done via the service name, and not by the port.
      This allows operators to easily and automatically create more friendly
       URL names. To develop this feature, we first applied this patch that
       we are sending now to the community. We did that to reduce the surface
        of changes in Kolla-ansible.
      
      Another example is the integration of Kolla-ansible and Consul, which
      we also implemented internally, and also requires URLs changes.
      Therefore, this PR is essential to reduce code duplicity, and to
      facility users/developers to work/customize the services URLs.
      
      Change-Id: I73d483e01476e779a5155b2e18dd5ea25f514e93
      Signed-off-by: default avatarRafael Weingärtner <rafael@apache.org>
      f425c067
  34. Jul 27, 2020
    • Justinas Balciunas's avatar
      prometheus-openstack-exporter config service filtering · 9fc98be1
      Justinas Balciunas authored
      This change disables services in the Prometheus openstack-exporter
      if they are not enabled in the deployment. Such behaviour allows
      to avoid warnings and errors in the log files and keep the
      log file contents clean and informative.
      
      Change-Id: I4dcac976620a5f451e3d273183199aefe400994a
      9fc98be1
  35. Jul 21, 2020
  36. Jun 15, 2020
    • Mark Goddard's avatar
      Fix prometheus-elasticsearch-exporter flags · 96a1ce19
      Mark Goddard authored
      The flag -es.uri is no longer accepted - it should be --es.uri.
      Similarly with -web.listen-address. The following error is seen:
      
          elasticsearch_exporter: error: unknown short flag '-e', try --help
      
      This change switches to double dashed long options.
      
      Change-Id: I039f4cad970352146462450742056f5990a81b06
      Closes-Bug: #1880242
      96a1ce19
  37. May 21, 2020
  38. May 11, 2020
    • Will Szumski's avatar
      Add extras directory to prometheus config · d05578f5
      Will Szumski authored
      This provides a generic mechanism to include extra files
      that you can reference in prometheus.yml, for example:
      
      scrape_targets:
        - job_name: ipmi
          params:
            module: default
          scrape_interval: 1m
          scrape_timeout: 30s
          metrics_path: /ipmi
          scheme: http
          file_sd_configs:
          - files:
            - /etc/prometheus/extras/file_sd/ipmi-exporter-targets.yml
            refresh_interval: 5m
      
      Change-Id: Ie2f085204b71725b901a179ee51541f1f383c6fa
      Related: blueprint custom-prometheus-targets
      d05578f5
Loading