Skip to content

Add telemetry #29

@ianagne

Description

@ianagne

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions