예제 #1
0
        public DatadogSink(string apiKey, string source, string service, string host, string[] tags, DatadogConfiguration config) : base(BatchSizeLimit, Period)
        {
            _apiKey  = apiKey;
            _source  = source;
            _service = service;
            _host    = host;
            _tags    = tags != null?string.Join(",", tags) : null;

            _client = new DatadogClient(config);
        }
 public DatadogSink(string apiKey, DatadogConfiguration config) : base(BatchSizeLimit, Period)
 {
     _apiKey = apiKey;
     _client = new DatadogClient(config);
 }