/// <summary>
 ///     Determines whether or not a metric is in the format of a Wavefront Histogram by
 ///     looking for a particular metric tag.
 /// </summary>
 /// <returns>
 ///     <c>true</c>, if the tags identify a Wavefront Histogram, <c>false</c> otherwise.
 /// </returns>
 /// <param name="tags">The metric tags.</param>
 public static bool IsWavefrontHistogram(MetricTags tags)
 {
     return(WavefrontConstants.IsWavefrontMetricType(tags, WavefrontMetricTypeTagValue));
 }
コード例 #2
0
 /// <summary>
 ///     Determines whether or not a metric is in the format of a delta counter by
 ///     looking for a particular metric tag.
 /// </summary>
 /// <returns>
 ///     <c>true</c>, if the tags identify a delta counter, <c>false</c> otherwise.
 /// </returns>
 /// <param name="tags">The metric tags.</param>
 public static bool IsDeltaCounter(MetricTags tags)
 {
     return(WavefrontConstants.IsWavefrontMetricType(tags, WavefrontMetricTypeTagValue));
 }