Skip to content

DEVPROD-17371 - Replace perf.send with direct data submission to new end point #1370

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

Merged
merged 1 commit into from
May 2, 2025

Conversation

MAhmadShah
Copy link
Contributor

@MAhmadShah MAhmadShah commented May 1, 2025

The perf.send command is no longer being maintained and is in a maintenance state and will be decommissioned eventually. It has been replaced instead by a new end point that users are able to call from their evergreen files; this doc outlines a drop in solution that we apply to the existing evergreen config file in this PR.

This PR updats the Mongo-Rust-Driver project to send performance data downstream using the newest supported method.

Successful patch: http://spruce.mongodb.com/version/6813c9b160135a00074a9f7c/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

@MAhmadShah MAhmadShah requested a review from a team as a code owner May 1, 2025 20:21
@MAhmadShah MAhmadShah requested a review from isabelatkinson May 1, 2025 20:21

parsed_order_id=$(echo "${revision_order_id}" | awk -F'_' '{print $NF}')

ENCODED_URL=$(echo "https://performance-monitoring-api.corp.mongodb.com/raw_perf_results/cedar_report?project=${project_id}&version=${version_id}&variant=${build_variant}&order=$parsed_order_id&task_name=${task_name}&task_id=${task_id}&execution=${execution}&mainline=$is_mainline" | sed -e 's/ /%20/g')
Copy link
Contributor Author

@MAhmadShah MAhmadShah May 1, 2025

Choose a reason for hiding this comment

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

Your variant name has a space in it, hence we need to encode the URL

Copy link
Contributor

@isabelatkinson isabelatkinson left a comment

Choose a reason for hiding this comment

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

lgtm, thanks! I'll merge this

@isabelatkinson isabelatkinson merged commit 5077ae5 into mongodb:main May 2, 2025
13 of 18 checks passed
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