kruize / autotune

Autonomous Performance Tuning for Kubernetes!
Apache License 2.0
153 stars 52 forks source link

added timer for plots #1196

Closed msvinaykumar closed 1 month ago

msvinaykumar commented 1 month ago

Timer for box plots added

Sample output

HELP KruizeMethod_max Time taken for Kruize methods

TYPE KruizeMethod_max gauge

KruizeMethod_max{application="Kruize",method="generatePlots",status="success",} 0.036112854

HELP KruizeMethod Time taken for Kruize methods

TYPE KruizeMethod summary

KruizeMethod_count{application="Kruize",method="generatePlots",status="success",} 2.0 KruizeMethod_sum{application="Kruize",method="generatePlots",status="success",} 0.050705769

dinogun commented 1 month ago

@msvinaykumar Can you please update this doc to show how the timer can be used