Skip to content

Add metric tracking procedure HTTP request wait time - #5862

Open
gefjon wants to merge 1 commit into
masterfrom
phoebe/procedure-http-wait-time-metric
Open

Add metric tracking procedure HTTP request wait time#5862
gefjon wants to merge 1 commit into
masterfrom
phoebe/procedure-http-wait-time-metric

Conversation

@gefjon

@gefjon gefjon commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

I initially set out to resolve a TODO instructing us to: // TODO(procedure-metrics): record size in bytes of response, time spent awaiting response. It turns out we already are tracking size in bytes of request and response, so all that's left was to track time.

I also added a unit test of the existing and new functionality. Note that the test is entirely vibe-coded.

API and ABI breaking changes

n/a

Rollback safety impact

n/a

Expected complexity level and risk

1: metrics, and not even complicated ones.

Testing

  • Unit test

I initially set out to resolve a TODO instructing us to:
`// TODO(procedure-metrics): record size in bytes of response, time spent awaiting response.`
It turns out we already are tracking size in bytes of request and response,
so all that's left was to track time.
I also added a unit test of the existing functionality.
Note that the test is entirely vibe-coded.
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.

1 participant