-
Notifications
You must be signed in to change notification settings - Fork 3
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
Incorrect TTFB and request duration #54
Comments
I am proposing the following changes: In Spark checker (this repo):
In spark-api & spark-publish:
In spark-evaluate:
@juliangruber WDYT? |
I think it's a good idea to rename the ttfb field, to make it clear that it has new semantics now. Otoh, "firstByteAt" and "timeToFirstByte" are so similar that the renaming seems arbitrary. Therefore I'm +-0. I definitely agree with adding |
TTFB & retrieval duration is now calculated correctly. I am closing this issue as done. Let's open new issues for recording the duration of other requests performed as part of the retrieval checks if we ever need those metrics. |
The PR #51 introduced a bug: we initialise
stats.startAt
before querying the indexer, and we don't measure how long the indexer query took.As a result, our dashboards include "time to query IPNI" in the values for "time to first byte" and "request duration".
I discovered this problem while looking at #44.
The text was updated successfully, but these errors were encountered: