Loupe - Log - Monitor - Resolve
Loupe.Agent.AspNetCore.Metrics Namespace / ActionMetricBase Class / Duration Property

In This Topic
    Duration Property (ActionMetricBase)
    In This Topic
    The duration the request has been running
    Syntax
    'Declaration
     
    
    <EventMetricValueAttribute("totalDuration", 
       SummaryFunction.Average, 
       "ms", 
       Caption="Total Request Duration", 
       Description="The entire time spent processing the request, excluding time to return the response", 
       IsDefaultValue=True)>
    <JsonIgnoreAttribute()>
    Public ReadOnly Property Duration As TimeSpan
    [EventMetricValue("totalDuration", 
       SummaryFunction.Average, 
       "ms", 
       Caption="Total Request Duration", 
       Description="The entire time spent processing the request, excluding time to return the response", 
       IsDefaultValue=true)]
    [JsonIgnore()]
    public TimeSpan Duration {get;}
    Remarks
    Once the request has been told to record it the timer duration will stop increasing.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also