public static NewRelicMetric CreateSummaryMetric(string name, long?timestamp, Dictionary <string, object>?attributes, long interval, NewRelicMetricSummaryValue summaryValue)
 {
     return(new NewRelicMetric("summary", timestamp, name, attributes, interval, null, summaryValue));
 }
        public static NewRelicMetric CreateSummaryMetric(string name, long?timestamp, Dictionary <string, object>?attributes, long interval, double count, double sum, double?min, double?max)
        {
            var summary = new NewRelicMetricSummaryValue(count, sum, min, max);

            return(CreateSummaryMetric(name, timestamp, attributes, interval, summary));
        }