Exemplo n.º 1
0
 public DogMetric(string metric, double value)
 {
     Metric = metric;
     Points = new DogMetricPoint[] { new DogMetricPoint(DateTimeOffset.Now, value) };
 }
Exemplo n.º 2
0
 public DogMetric(string metric, DateTimeOffset timestamp, double value) : this(metric, new DogMetricPoint[] { new DogMetricPoint(timestamp, value) })
 {
     Metric = metric;
     Points = new DogMetricPoint[] { new DogMetricPoint(timestamp, value) };
 }