Debian Codegraph @

releasenotes/notes/global_request_id-f30e900f20752c2b.yaml

raw
1 ---
2 features:
3 - |
4 Adds support for `global_request_id`_ to the ``RequestId`` middleware. An
5 inbound header of ``X-OpenStack-Request-ID`` is accepted as long as it is
6 of the format ``req-$uuid``, and made available to oslo.context. This
7 allows for cross-project request ID tracking. By default, global request
8 IDs will not appear in the Blazar service logs. Operators need to add
9 global_request_id in the `logging_context_format_string`_ configuration
10 option.
11
12 .. _`global_request_id`: https://developer.openstack.org/api-ref/reservation/v1/index.html#global-request-id
13 .. _`logging_context_format_string`: https://docs.openstack.org/oslo.log/latest/configuration/index.html#DEFAULT.logging_context_format_string