Adding this for posterity, I will work on this issue shortly.
It would be useful to emit events with metadata around the success or failure of HTTP requests to the Prismic API to enhance spans.
Specifically, I would like to see the following attributes:
status - ok/error
attempt - The current attempt number
method - HTTP method of request
url - url of request
status_code - HTTP status code of the response
Adding this for posterity, I will work on this issue shortly.
It would be useful to emit events with metadata around the success or failure of HTTP requests to the Prismic API to enhance spans.
Specifically, I would like to see the following attributes:
status- ok/errorattempt- The current attempt numbermethod- HTTP method of requesturl- url of requeststatus_code- HTTP status code of the response