Beispiel #1
0
 public void Publish(NamedPerformanceMetric metric)
 {
     if (metric != null)
     {
         dogStatsdService.Gauge(
             metric.FullyQualifiedName,
             metric.Value,
             sampleRate: 1,
             metric.Tags.Select(x => $"{x.Key}:{x.Value}").ToArray());
     }
 }
 public void Publish(NamedPerformanceMetric metric)
 {
     Metrics.Add(metric);
 }