64933fea17
Other applications or services sometimes expose a header containing a unique ID, which can then be included in logging or response information to allow an operator to link inter-service requests. The most common header name used by services in the wild appears to be `X-Request-ID`, but `Request-Id` is also used. This commit adds support for specifying either `X-Request-ID` or `Request-Id` headers, which will then be used by InfluxDB when logging request information, and also in the `X-Request-ID` and `Request-Id` response headers. We populate both `X-Request-ID` and `Request-Id` to maintain backwards compatibility with previous version, and to support the more common `X-Request-ID` header name. If both `X-Request-ID` and `Request-Id` are specified, then `X-Request-ID` is used. If neither header is specified, then in line with previous behaviour, we generate a v1 UUID. |
||
---|---|---|
.. | ||
collectd | ||
continuous_querier | ||
graphite | ||
httpd | ||
meta | ||
opentsdb | ||
precreator | ||
retention | ||
snapshotter | ||
subscriber | ||
udp |