Skip to content

Conversation

@narsaynorath
Copy link
Member

@narsaynorath narsaynorath commented Apr 24, 2023

Replaces usages of "Encoded Body Size", "Decoded Body Size", "Transfer Size" with their snake case counterparts. This is for standardizing with OTel formatting in SDKs.

Should be merged after #47850

Motivating discussion: getsentry/sentry-javascript#7935 (comment)

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 24, 2023
@narsaynorath narsaynorath marked this pull request as ready for review April 24, 2023 19:17
@narsaynorath narsaynorath requested a review from a team April 24, 2023 19:17
@narsaynorath narsaynorath marked this pull request as draft April 25, 2023 17:49
@narsaynorath
Copy link
Member Author

Converting to draft until I resolve the new name change

@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Merging #47830 (8a0f0be) into master (bc8ab8b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #47830   +/-   ##
=======================================
  Coverage   80.84%   80.85%           
=======================================
  Files        4765     4765           
  Lines      201456   201421   -35     
  Branches    11570    11566    -4     
=======================================
- Hits       162874   162850   -24     
+ Misses      38326    38315   -11     
  Partials      256      256           
Impacted Files Coverage Δ
static/app/components/actions/resolve.tsx 75.00% <ø> (+6.14%) ⬆️
static/app/views/issueDetails/actions/index.tsx 60.82% <ø> (ø)
static/app/views/issueList/actions/actionSet.tsx 77.55% <ø> (ø)
...tic/app/views/issueList/actions/resolveActions.tsx 100.00% <ø> (ø)
...settings/projectPerformance/projectPerformance.tsx 85.45% <ø> (ø)
src/sentry/dynamic_sampling/rules/utils.py 100.00% <100.00%> (ø)
...ormance_issues/detectors/large_payload_detector.py 98.07% <100.00%> (ø)
...s/detectors/render_blocking_asset_span_detector.py 98.46% <100.00%> (ø)
...ce_issues/detectors/uncompressed_asset_detector.py 93.44% <100.00%> (ø)

... and 2 files with indirect coverage changes

@narsaynorath narsaynorath marked this pull request as ready for review April 27, 2023 14:57
narsaynorath added a commit that referenced this pull request Apr 27, 2023
…47850)

Converts:
Encoded Body Size -> http.response_content_length
Decoded Body Size -> http.decoded_response_content_length
Transfer Size -> http.response_transfer_size

Also ensures that call sites fallback to old keys if the new keys aren't
accessible.

This PR should land before the backend PR: #47830
@narsaynorath narsaynorath merged commit 072a4f9 into master Apr 27, 2023
@narsaynorath narsaynorath deleted the nar/feat/performance-issues-replace-sentence-keys-with-snake-case-backend branch April 27, 2023 17:15
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants