예제 #1
0
파일: graphite.go 프로젝트: replay/grafana
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,
	}
}
예제 #2
0
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,
	}
}
예제 #3
0
func init() {
	plog = log.New("tsdb.prometheus")
	tsdb.RegisterExecutor("prometheus", NewPrometheusExecutor)
}
예제 #4
0
func init() {
	plog = log.New("tsdb.opentsdb")
	tsdb.RegisterExecutor("opentsdb", NewOpenTsdbExecutor)
}
예제 #5
0
파일: testdata.go 프로젝트: CamJN/grafana
func init() {
	tsdb.RegisterExecutor("grafana-testdata-datasource", NewTestDataExecutor)
}
예제 #6
0
파일: mqe.go 프로젝트: mapr/grafana
func init() {
	tsdb.RegisterExecutor("mqe-datasource", NewMQEExecutor)
}
예제 #7
0
func init() {
	glog = log.New("tsdb.influxdb")
	tsdb.RegisterExecutor("influxdb", NewInfluxDBExecutor)

	HttpClient = tsdb.GetDefaultClient()
}
예제 #8
0
파일: prometheus.go 프로젝트: CamJN/grafana
func init() {
	plog = log.New("tsdb.prometheus")
	tsdb.RegisterExecutor("prometheus", NewPrometheusExecutor)
	legendFormat = regexp.MustCompile(`\{\{\s*(.+?)\s*\}\}`)
}
예제 #9
0
파일: graphite.go 프로젝트: CamJN/grafana
func init() {
	glog = log.New("tsdb.graphite")
	tsdb.RegisterExecutor("graphite", NewGraphiteExecutor)
}
예제 #10
0
파일: graphite.go 프로젝트: wk66/grafana
func init() {
	glog = log.New("tsdb.graphite")
	tsdb.RegisterExecutor("graphite", NewGraphiteExecutor)

	HttpClient = tsdb.GetDefaultClient()
}
예제 #11
0
파일: opentsdb.go 프로젝트: wk66/grafana
func init() {
	plog = log.New("tsdb.opentsdb")
	tsdb.RegisterExecutor("opentsdb", NewOpenTsdbExecutor)

	HttpClient = tsdb.GetDefaultClient()
}
예제 #12
0
파일: influxdb.go 프로젝트: CamJN/grafana
func init() {
	glog = log.New("tsdb.influxdb")
	tsdb.RegisterExecutor("influxdb", NewInfluxDBExecutor)
}