Skip to content

Conversation

@MAhmadShah
Copy link
Contributor

@MAhmadShah MAhmadShah commented Apr 30, 2025

DEVPROD-17319

Summary

The perf.send command is no longer being maintained and is actually 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.

Background & Motivation

Update the Mongo-Go-Driver project to send performance data downstream using the newest supported method.

Successful patch test with changes can be found here: https://spruce.mongodb.com/version/68124eebfead0f0007f06d23/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

Updated patch without needing to use expansions:
https://spruce.mongodb.com/version/681289a627095700079a00a4/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

@MAhmadShah MAhmadShah requested a review from a team as a code owner April 30, 2025 17:32
@MAhmadShah MAhmadShah requested a review from qingyang-hu April 30, 2025 17:32
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the review-priority-low Low Priority PR for Review: within 3 business days label Apr 30, 2025
@mongodb-drivers-pr-bot
Copy link
Contributor

API Change Report

No changes found!

@prestonvasquez prestonvasquez requested review from prestonvasquez and removed request for qingyang-hu April 30, 2025 17:47
@MAhmadShah MAhmadShah changed the title DEVPROD-17319 - update perf.send command to new results end poinr DEVPROD-17319 - update perf.send command to new results end point Apr 30, 2025
prestonvasquez
prestonvasquez previously approved these changes Apr 30, 2025
Copy link
Member

@prestonvasquez prestonvasquez left a comment

Choose a reason for hiding this comment

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

LGTM 👍

parsed_order_id=$(echo "${revision_order_id}" | awk -F'_' '{print $NF}')
# Submit the performance data to the SPS endpoint
response=$(curl -s -w "\nHTTP_STATUS:%{http_code}" -X 'POST' \
"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" \
Copy link
Member

Choose a reason for hiding this comment

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

Why doesn't is_mainline need to be wrapped: ${is_mainline}?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@prestonvasquez prestonvasquez merged commit f7f3635 into mongodb:master May 2, 2025
31 of 34 checks passed
prestonvasquez added a commit to prestonvasquez/mongo-go-driver that referenced this pull request May 2, 2025
prestonvasquez added a commit to prestonvasquez/mongo-go-driver that referenced this pull request May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-priority-low Low Priority PR for Review: within 3 business days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants