public MetricsGraphitePlainTextProtocolOutputFormatter(MetricsGraphitePlainTextProtocolOptions options, MetricFields metricFields)
 {
     _options     = options ?? throw new ArgumentNullException(nameof(options));
     MetricFields = metricFields ?? throw new ArgumentNullException(nameof(metricFields));
 }
 public MetricsGraphitePlainTextProtocolOutputFormatter()
 {
     _options     = new MetricsGraphitePlainTextProtocolOptions();
     MetricFields = new MetricFields();
     MetricFields.DefaultGraphiteMetricFieldNames();
 }
 public MetricsGraphitePlainTextProtocolOutputFormatter(MetricsGraphitePlainTextProtocolOptions options)
 {
     _options     = options ?? throw new ArgumentNullException(nameof(options));
     MetricFields = new MetricFields();
     MetricFields.DefaultGraphiteMetricFieldNames();
 }
Пример #4
0
 public MetricsGraphitePlainTextProtocolOutputFormatter()
 {
     _options = new MetricsGraphitePlainTextProtocolOptions();
 }