Skip to content

Add performance metrics to the result class and method#16

Open
Bmete7 wants to merge 4 commits into
developfrom
feat/aa/add-performance-metrics
Open

Add performance metrics to the result class and method#16
Bmete7 wants to merge 4 commits into
developfrom
feat/aa/add-performance-metrics

Conversation

@Bmete7
Copy link
Copy Markdown
Collaborator

@Bmete7 Bmete7 commented Nov 24, 2025

Fixes #15

@Bmete7 Bmete7 requested a review from mnfarooqi November 24, 2025 16:35
@Bmete7 Bmete7 added the enhancement New feature or request label Nov 24, 2025
Comment thread mqss_client/mqss_client.py Outdated
metrics_json = None
if isinstance(job_type, CircuitJobRequest):
result_json = self.client.get(f"job/{uuid}/result")
metrics_json = self.client.get(f"job_metrics/{uuid}/stats")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

job/<uuid>/stats or job/<uuid>/metrics would be better. Also suggested it in MQP_API.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done, changed to job/<uuid>/stats as suggested. FYI: @armalikhani

Copy link
Copy Markdown
Collaborator

@mnfarooqi mnfarooqi left a comment

Choose a reason for hiding this comment

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

Added a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extending the Job Requests with Job Metrics

3 participants