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;
 }
Ejemplo n.º 3
0
 public MetricsHostedMetricsJsonOutputFormatter(MetricsHostedMetricsOptions options)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
 }
 public MetricsHostedMetricsJsonOutputFormatter(TimeSpan flushInterval)
 {
     _flushInterval = flushInterval;
     _options       = new MetricsHostedMetricsOptions();
 }
Ejemplo n.º 5
0
 public MetricsHostedMetricsJsonOutputFormatter()
 {
     _options = new MetricsHostedMetricsOptions();
 }