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

Remove some of the http metrics #916

Merged
merged 1 commit into from
Jun 1, 2023
Merged

Remove some of the http metrics #916

merged 1 commit into from
Jun 1, 2023

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented May 31, 2023

Description of changes

The motivation for this came from analysing and working on removing the web vital rating metrics. It became apparent that we didn't need to expose all these http metrics just yet and instead should focus on the ones that are most used. We used k6 for guidance on this and they have suggested that browser_http_req_duration and browser_http_req_failed are the most useful. We can add metrics back in when users show interest in them. This will also reduce the overall number of time series metrics.

Testing

When you run any of the example test scripts, you should find that we now only display browser_http_req_duration and browser_http_req_failed http based metrics:

     browser_http_req_duration.....: avg=216.97ms min=102.97ms med=208.59ms max=339.36ms p(90)=313.21ms p(95)=326.28ms
     browser_http_req_failed.......: 0.00%  ✓ 0        ✗ 3 

Please describe your pull request

Checklist

Tasks

The motivation for this came from analysing and working on removing the
web vital rating metrics. It became apparent that we didn't need to
expose all these http metrics just yet and instead should focus on the
ones that are most used. We used k6 for guidance on this and they have
suggested that browser_http_req_duration and browser_http_req_failed
are the most useful. We can add metrics back in when users show
interest in them. This will for now also reduce the overall number of
time series metrics.
@ankur22 ankur22 added the breaking PRs that need to be mentioned in the breaking changes section of the release notes label May 31, 2023
@ankur22 ankur22 added this to the v0.10.0 milestone May 31, 2023
@ankur22 ankur22 requested review from inancgumus and ka3de May 31, 2023 11:44
@ankur22 ankur22 self-assigned this May 31, 2023
Copy link
Collaborator

@ka3de ka3de left a comment

Choose a reason for hiding this comment

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

Thanks for reviewing this! LGTM.

@ankur22 ankur22 merged commit 81f9718 into main Jun 1, 2023
@ankur22 ankur22 deleted the remove/some-http-metrics branch June 1, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking PRs that need to be mentioned in the breaking changes section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants