Group "http_traces" metrics legend?


Please tell me how to do the following. I have to ask here, since Google did not help me, there is very little documentation on this topic. Found similar topics, but they don’t answer my question.

I am working with Prometheus as a date source.

I want to see all my http requests in the panel and group the legend. That is, I want to see only one grouped label instead of the same labels for each metric(request). I attach the screen as it is.
Is it possible to somehow group the legend?