func init() { glog = log.New("tsdb.graphite") tsdb.RegisterExecutor("graphite", NewGraphiteExecutor) tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } HttpClient = http.Client{ Timeout: time.Duration(10 * time.Second), Transport: tr, } }
func init() { glog = log.New("tsdb.influxdb") tsdb.RegisterExecutor("influxdb", NewInfluxDBExecutor) tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } HttpClient = &http.Client{ Timeout: time.Duration(15 * time.Second), Transport: tr, } }
func init() { plog = log.New("tsdb.prometheus") tsdb.RegisterExecutor("prometheus", NewPrometheusExecutor) }
func init() { plog = log.New("tsdb.opentsdb") tsdb.RegisterExecutor("opentsdb", NewOpenTsdbExecutor) }
func init() { tsdb.RegisterExecutor("grafana-testdata-datasource", NewTestDataExecutor) }
func init() { tsdb.RegisterExecutor("mqe-datasource", NewMQEExecutor) }
func init() { glog = log.New("tsdb.influxdb") tsdb.RegisterExecutor("influxdb", NewInfluxDBExecutor) HttpClient = tsdb.GetDefaultClient() }
func init() { plog = log.New("tsdb.prometheus") tsdb.RegisterExecutor("prometheus", NewPrometheusExecutor) legendFormat = regexp.MustCompile(`\{\{\s*(.+?)\s*\}\}`) }
func init() { glog = log.New("tsdb.graphite") tsdb.RegisterExecutor("graphite", NewGraphiteExecutor) }
func init() { glog = log.New("tsdb.graphite") tsdb.RegisterExecutor("graphite", NewGraphiteExecutor) HttpClient = tsdb.GetDefaultClient() }
func init() { plog = log.New("tsdb.opentsdb") tsdb.RegisterExecutor("opentsdb", NewOpenTsdbExecutor) HttpClient = tsdb.GetDefaultClient() }
func init() { glog = log.New("tsdb.influxdb") tsdb.RegisterExecutor("influxdb", NewInfluxDBExecutor) }