How do i set a Custom metrics like qps

It’s a bit difficult for me…

Can you please give some more details on exactly what you want to achieve?

I want to be able to get 2 metrics, which are the number of requests per second and the number of requests from request to response per second