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

In This Topic
    ActionDuration Property
    In This Topic
    The duration the Action took to execute
    Syntax
    'Declaration
     
    
    <EventMetricValueAttribute("actionDuration", 
       SummaryFunction.Average, 
       "ms", 
       Caption="Action Duration", 
       Description="The time spent in the Action or Page")>
    <JsonIgnoreAttribute()>
    Public ReadOnly Property ActionDuration As Nullable(Of TimeSpan)
    [EventMetricValue("actionDuration", 
       SummaryFunction.Average, 
       "ms", 
       Caption="Action Duration", 
       Description="The time spent in the Action or Page")]
    [JsonIgnore()]
    public Nullable<TimeSpan> ActionDuration {get;}
    Remarks
    The action is typically the controller or page's internal code.
    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