Skip to content

Conversation

vittoriasalim
Copy link
Contributor

@vittoriasalim vittoriasalim commented Sep 4, 2025

  • randomize get to randomize target endpoint, so we can have a more realistic workload
  • add get into latency aggregation, this is to aggregate the latency of all target endpoints

// Aggregates for DELETE and PATCH methods, replaces the last path segment
// for DELETE and PATCH requests so they can be aggregated (e.g. in metrics)
if reqr.method == http.MethodDelete || reqr.method == http.MethodPatch {
// Aggregates for DELETE, PATCH, and GET methods, replaces the last path segment
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove the comment in either line 42 or line 46 and only keep one?

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.

2 participants