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

Request queue support #143

Merged
merged 6 commits into from Oct 10, 2019
Merged

Request queue support #143

merged 6 commits into from Oct 10, 2019

Conversation

binaryseed
Copy link
Collaborator

@binaryseed binaryseed commented Oct 10, 2019

This PR adds support for tracking Request Queuing based on the x-request-start header that can optionally be added when a request first hits a load balancer

Thanks for contributing @sb8244 !
sidekick/ @mattbaker

closes #141

sb8244 and others added 6 commits October 9, 2019 21:12
* Collect queue_duration_us in Transaction.Plug

The headers are always lowercase, so this will resolve any case sensitivity issues

* Derive the queue duration when a transaction is completed

* Include the queueDuration in the `Transaction.Event`

* Extract request queue time like the Ruby agent does

* Include both micro and fractional seconds

* Report queueDuration in seconds with the TransactionEvent

* Collect a WebFrontend/QueueDuration metric

* mix format

* Review feedback (tests failing currently)

* Use the proper metric to report queue time
@sb8244
Copy link
Contributor

sb8244 commented Oct 10, 2019

Pumped! Thanks for getting this in so quickly.

@binaryseed
Copy link
Collaborator Author

I wanna spin up an app running this branch before merging just to verify the UI lights up as expected

@binaryseed
Copy link
Collaborator Author

works!

@binaryseed binaryseed merged commit dc22f8f into master Oct 10, 2019
@binaryseed binaryseed deleted the request-queue branch October 10, 2019 20:20
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

Successfully merging this pull request may close these issues.

Track request queueing
3 participants