public DogMetric(string metric, double value) { Metric = metric; Points = new DogMetricPoint[] { new DogMetricPoint(DateTimeOffset.Now, value) }; }
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) }; }