aboutsummaryrefslogtreecommitdiff
path: root/releasenotes/notes/feature-1968597-4b414566f82c90fa.yaml
blob: bab72f91e37beedc9105410a54121d28441bbe9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
features:
  - |
    Adds a new variable ``ceilometer_prometheus_pushgateway_options``.

    It is dictionary whose keys and respective values are added to
    the pushgateway's URL, checking that no "None" value is being set.

    For example, the following configurations:

    .. code-block:: yaml

      ceilometer_prometheus_pushgateway_host: "127.0.0.1"
      ceilometer_prometheus_pushgateway_port: "9091"
      ceilometer_prometheus_pushgateway_options:
          timeout: 180
          max_retries:
          verify_ssl: yes

    Result in the following URL:
    ``prometheus://127.0.0.1:9091/ \
    metrics/job/openstack-telemetry/?timeout=180&verify_ssl=True``

    `LP#1968597 <https://bugs.launchpad.net/kolla-ansible/+bug/1968597>`__