Example #1
0
 /// <summary>
 /// Write a metric sample with the provided data immediately, for non-fraction sampling types.
 /// </summary>
 /// <remarks>Sampled metrics using any fraction sampling type should instead use an overload providing both values.</remarks>
 /// <example>
 ///     For examples, see the <see cref="SampledMetric">Sampled Metric</see> class
 ///     overview.
 /// </example>
 /// <param name="rawValue">The raw data value.</param>
 public void WriteSample(double rawValue)
 {
     //Create a new custom sampled metric and write it out to the log
     m_WrappedMetric.CreateSample(rawValue).Write();
 }