vrajat opened a new issue, #15017: URL: https://github.com/apache/pinot/issues/15017
The o/p of the api is not easily machine readable. An example o/p is: ``` (Server=NumInFlightRequests,NumInFlightRequestsEMA,LatencyEMA,Score);Server_100.81.71.117_7050=0,6.349956168651998E-148,2.5324251579231667E-148,0.0;Server_100.81.71.117_7051=0,6.150450664351991E-147,5.482000636051586E-147,0.0;Server_100.81.71.117_7052=0,6.861196743124505E-148,2.526062961096265E-148,0.0;Server_100.81.71.117_7053=0,3.343930442767001E-147,5.466877618135145E-145,0.0 ``` Instead return a json since its more easily analyzed using scripts. For example, the following json o/p of the same data: ``` { "Server_100.81.71.117_7050": { "latencyEMA": 2.6305286728948865, "numInFlightRequests": 10, "inFlightRequestsEMA": 10.83252545140485, "hybridScore": 23783.118690453754 }, "Server_100.81.71.117_7051": { "latencyEMA": 2.546575260838141, "numInFlightRequests": 10, "inFlightRequestsEMA": 10.832524167798587, "hybridScore": 23024.07539269138 }, "Server_100.81.71.117_7052": { "latencyEMA": 2.8777880660250883, "numInFlightRequests": 10, "inFlightRequestsEMA": 10.83252545140485, "hybridScore": 26018.638703878878 }, "Server_100.81.71.117_7053": { "latencyEMA": 1603.1813971374418, "numInFlightRequests": 0, "inFlightRequestsEMA": 18.5040581516264, "hybridScore": 10157424.86651867 } } "numInFlightRequests": 19, "inFlightRequestsEMA": 18.5040581516264, "hybridScore": 105090.32926319409 } } ``` Can be processed by shell scripts to create csv files and plot them. Examples: ``` Timestamp,Server_100.81.71.117_7050,Server_100.81.71.117_7051,Server_100.81.71.117_7052,Server_100.81.71.117_7053 2025-02-10 14:43:01,9.102309117440438E-105,4.180077028859045E-104,7.986225000482492E-105,5.585514474012544E-102 2025-02-10 14:43:07,4.265312812726154,3.5317370398544052,3.6048442587103673,30.90103603199999 2025-02-10 14:43:12,1.0161681340138693,0.5858721376188881,1.0161570419379322,1042.03650978205 ```  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org