kruize / autotune

Autonomous Performance Tuning for Kubernetes!
Apache License 2.0
165 stars 54 forks source link

Bulk api new json #1361

Closed msvinaykumar closed 2 weeks ago

msvinaykumar commented 2 weeks ago

Description

Following new format incorporated

{ "status": "IN_PROGRESS", "total_experiments": 23, "processed_experiments": 22, "job_id": "54905959-77d4-42ba-8e06-90bb97b823b9", "job_start_time": "2024-10-10T06:07:09.066Z", "job_end_time": "2024-10-10T06:07:17.471Z", "notification":{ }, "experiments":[ { "name" : "prometheus-1|default|kube-system|coredns(deployment)|coredns", "notification":{ } "recommendation":{ "status" : "unprocessed", "notification" : {} } }, { "name":"prometheus-1|default|kube-system|kindnet(deployment)|kindnet-cni", "notification":{ } "recommendation":{ "status" : "processed", "notification" : {} } }, { "name":"prometheus-1|default|monitoring|kruize(deployment)|kruize", "notification":{ } "recommendation":{ "status" : "processing", "notification" : {} } }, { "name":"prometheus-1|default|monitoring|kruize(deployment)|kruize", "recommendation:{ "status" : "failed", "notifications": { "400": { "type": "error", "message": "Not able to fetch metrics", "code": 400 } } } }, { "name":"prometheus-1|default|monitoring|kruize(deployment)|kruize", "notifications": { "400": { "type": "error", "message": "Metric Profile not found", "code": 400 } } , "recommendation:{ "status" : "failed", "notifications": { "400": { "type": "error", "message": "Not able to fetch metrics", "code": 400 } } } } ] }

Fixes # (issue)

Type of change

How has this been tested?

Please describe the tests that were run to verify your changes and steps to reproduce. Please specify any test configuration required.

Test Configuration

Checklist :dart:

Additional information

Include any additional information such as links, test results, screenshots here

msvinaykumar commented 2 weeks ago

duplicate of https://github.com/kruize/autotune/pull/1368