Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add telemetry #29

Open
ianagne opened this issue Nov 8, 2021 · 0 comments
Open

Add telemetry #29

ianagne opened this issue Nov 8, 2021 · 0 comments
Assignees

Comments

@ianagne
Copy link
Contributor

ianagne commented Nov 8, 2021

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
@ianagne ianagne self-assigned this Nov 8, 2021
ianagne added a commit that referenced this issue Nov 17, 2021
ianagne added a commit that referenced this issue Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant