-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: add request measurement for requests #270
feat: add request measurement for requests #270
Conversation
✔️ Deploy Preview for arcus-observability ready! 🔨 Explore the source changes: 730bb27 🔍 Inspect the deploy log: https://app.netlify.com/sites/arcus-observability/deploys/61efa4f6ba241c000856953d 😎 Browse the preview: https://deploy-preview-270--arcus-observability.netlify.app |
Point of notice: the current |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, nice implementation & docs!
I just wonder why the LogHttpRequest
methods do take a Timespan
as argument instead of a RequestMeasurement
?
Co-authored-by: Frederik Gheysels <[email protected]>
They use But you're actually right. We could have additional extension methods that takes in this measurement. But since there's nobody yet asking about it, I'm not sure if we should. On the other hand, one could argue if we should then include it here 😉 . |
I was just thinking: why not being consistent and use the measurements types there as well. But if you have a good reason we can leave it as is. If we have a request for this, we can add it indeed. |
Use a new
RequestMeasurement
object to measure requests.Closes #268