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

fix: rest collector should include endpoint api_times #2679

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Feb 16, 2024

The rest collector's api_time only records how long it took for the first query in the rest template to execute, ignoring any endpoint times. Templates with multiple endpoints undercount the api_time. This pull request fixes the bug by including all endpoints api_times in the reported api_time.

Thanks to Christopher Wilcox for reporting

The rest collector's `api_time` only records how long it took for the first query in the rest template to execute, ignoring any endpoint times. Templates with multiple endpoints undercount the `api_time`. This pull request fixes the bug by including all endpoints `api_time`s in the reported `api_time`.
@cgrinds cgrinds merged commit 625cdef into release/24.02.0 Feb 16, 2024
8 checks passed
@cgrinds cgrinds deleted the cbg-rest-api-time branch February 16, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REST collector's api_time undercounts total time because endpoints are ignored
2 participants