Difference in performance between using metric path parameter and filter_path query parameter in note stats

How is the computation of a query done. So, for example if I specify a metric path parameter in GET _nodes/stats/<metric> api, are the computations being done for metrics that I passed, or whether it's just another filter in response like the filter_path query parameter. I guess what I wanna ask is suppose I use GET _nodes/stats/<metric> and GET _nodes/stats?filter_path=<field1>,<field2>,<field3> to get a response, and if the size of the response is equal in both cases, which api call would be more performant?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.