Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / SampledMetricDefinition Class / WriteSample Method

WriteSample Method (SampledMetricDefinition)
Write a metric sample to the specified metric instance with the provided data, for non-fraction sampling types.
Overload List
OverloadDescription
Write a metric sample to the specified metric instance with the provided data, for non-fraction sampling types.  
Write a metric sample to the specified metric instance with the provided data and recent timestamp, for non-fraction sampling types.  
Write a metric sample to the specified metric instance with the provided data pair, for fraction sampling types.  
Write a metric sample to the specified metric instance with the provided data pair and recent timestamp, for fraction sampling types.  
Write a metric sample to an automatically-determined instance of this metric definition using the provided data object, with a fall-back instance name.  
Write a metric sample to an automatically-determined instance of this metric definition using the provided data object.  
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