Visualize Process Duration

Hi, everyone.
Could you describe how to do something like that:

I have two handler, triggered by event. How can I measure and display duration (horizontal line at any level)
I tried to use .Measure.Timer.Time() (AppMetrics lib, C#) but failed.
What metric type should I use?
How to configure dashboard in Grafana to display it properly?
Thanks.

I find temporally solution in using Percentile instead of Last . In this case graphic falls dawn to zero as I’d like to see. You can compare: