Skip to content

Conversation

@MAhmadShah
Copy link
Contributor

The perf.send command is no longer being maintained and will be decommissioned soon. Users can now submit performance data using the "raw_perf_results" end point provided by the performance-monitoring-api. This PR migrates the latest release project over to that API.

@MAhmadShah MAhmadShah requested a review from a team as a code owner July 29, 2025 19:35
@MAhmadShah MAhmadShah requested a review from eramongodb July 29, 2025 19:35
@MAhmadShah
Copy link
Contributor Author

Copy link
Contributor

@eramongodb eramongodb left a comment

Choose a reason for hiding this comment

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

Thank you very much!

Feedback primarily concerns minor code quality suggestions/improvements.

Comment on lines +21 to +22
http_status=$(echo "$response" | grep "HTTP_STATUS" | awk -F':' '{print $2}')
response_body=$(echo "$response" | sed '/HTTP_STATUS/d')
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
http_status=$(echo "$response" | grep "HTTP_STATUS" | awk -F':' '{print $2}')
response_body=$(echo "$response" | sed '/HTTP_STATUS/d')
http_status="$(echo "$response" | grep "HTTP_STATUS" | awk -F':' '{print $2}')"
response_body="$(echo "$response" | sed '/HTTP_STATUS/d')"

SC2086. Also applies to other instances of var=$(...) above.

MAhmadShah and others added 4 commits July 29, 2025 16:30
Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
@MAhmadShah
Copy link
Contributor Author

Thank you very much!

Feedback primarily concerns minor code quality suggestions/improvements.

Thanks for the suggestions and feedback! I've applied the changes

@MAhmadShah MAhmadShah requested a review from eramongodb July 29, 2025 20:31
@eramongodb eramongodb merged commit 3cb052e into mongodb:releases/v4.1 Jul 29, 2025
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