Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Metric Class / CalculateOffsetTolerance Method

In This Topic
    CalculateOffsetTolerance Method
    In This Topic
    Calculates the amount we will "pull forward" a future sample by to fit it to our requested interval.
    Syntax
    'Declaration
     
    
    Public Shared Function CalculateOffsetTolerance( _
       ByVal interval As MetricSampleInterval _
    ) As TimeSpan
    public static TimeSpan CalculateOffsetTolerance( 
       MetricSampleInterval interval
    )

    Parameters

    interval
    Remarks
    Tolerance allows for us to ignore small variations in exact timestamps for the purposes of fitting the best data.
    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