public MetricsHostedMetricsJsonOutputFormatter(
     TimeSpan flushInterval,
     MetricsHostedMetricsOptions options,
     MetricFields metricFields)
 {
     _flushInterval = flushInterval;
     _options       = options ?? throw new ArgumentNullException(nameof(options));
     MetricFields   = metricFields;
 }
 public MetricsHostedMetricsJsonOutputFormatter(TimeSpan flushInterval, MetricFields metricFields)
 {
     _flushInterval = flushInterval;
     _options       = new MetricsHostedMetricsOptions();
     MetricFields   = metricFields;
 }
Exemple #3
0
 public MetricsHostedMetricsJsonOutputFormatter(MetricsHostedMetricsOptions options)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
 }
 public MetricsHostedMetricsJsonOutputFormatter(TimeSpan flushInterval)
 {
     _flushInterval = flushInterval;
     _options       = new MetricsHostedMetricsOptions();
 }
Exemple #5
0
 public MetricsHostedMetricsJsonOutputFormatter()
 {
     _options = new MetricsHostedMetricsOptions();
 }