From what I read, I understood that I can go with Histogram metric type if I want to measure the time taken of a single request. But If I want to measure the time taken between two different requests, which approach I can go with?
for example, let's say, in one of the API requests, there is an event that occurs (let's call it A) for an entity (let's call it Order) and in one of the other request, there is another event that occurs (let's call it B) for the same order.
Now, I would like to measure the time duration between events A and B for all the orders.
I would like to understand how I can achieve this using Prometheus.