Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

forwards server timings up to context #69

Merged
merged 1 commit into from
Mar 31, 2023
Merged

Conversation

willscott
Copy link
Contributor

  • add a timing metric for each caboose request around fetches when a timing key is present on the context
  • forwards with a tag any timing keys in the response of the request onto the context timing key

@willscott
Copy link
Contributor Author

Example observed final metrics:

Server-Timing: fetch;dur=1657.943375,nginx;dur=72;subreq="b36e4244";attempt=0,nginx_uct;subreq="b36e4244";attempt=0,nginx_uht;subreq="b36e4244";attempt=0,nginx_urt;subreq="b36e4244";attempt=0

@aarshkshah1992 aarshkshah1992 merged commit ba65f75 into main Mar 31, 2023
@aarshkshah1992 aarshkshah1992 deleted the feat/server-timing branch March 31, 2023 09:20
lidel added a commit to ipfs-inactive/bifrost-gateway that referenced this pull request Apr 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants