PagerDuty / pdpyras

Low-level PagerDuty REST/Events API client for Python
MIT License
129 stars 29 forks source link

Needs to log the `X-Request-Id` response header for easier diagnostics #16

Closed Deconstrained closed 4 years ago

Deconstrained commented 4 years ago

The X-Request-Id response header should always contain a UUID that PagerDuty Support can use to track down the full trace of a HTTP request through the public API, so that the reason for a 5XX can be more quickly investigated.

This API client should really be logging this response header, at the very least for server error responses.