summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/telemetry-dynamic-pollster.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/source/admin/telemetry-dynamic-pollster.rst b/doc/source/admin/telemetry-dynamic-pollster.rst
index 6ed1faa2..62e6dc3e 100644
--- a/doc/source/admin/telemetry-dynamic-pollster.rst
+++ b/doc/source/admin/telemetry-dynamic-pollster.rst
@@ -171,6 +171,16 @@ attributes to define a dynamic pollster:
``response_entries_key`` elements that will be mapped to ``id`` attribute
that is sent to Gnocchi.
+* ``headers``: optional parameter. It is a map (similar to the
+ metadata_mapping) of key and value that can be used to customize the header
+ of the request that is executed against the URL. This configuration works
+ for both OpenStack and non-OpenStack dynamic pollster configuration.
+
+ .. code-block:: yaml
+
+ headers:
+ "x-openstack-nova-api-version": "2.46"
+
The complete YAML configuration to gather data from Magnum (that has been used
as an example) is the following: