Merge f993302a20
into e2bc5d80c9
This commit is contained in:
commit
743667b7e5
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ VERSION := $(shell sh -c 'git describe --always --tags')
|
|||
|
||||
build: prepare
|
||||
$(GOPATH)/bin/godep go build -o telegraf -ldflags \
|
||||
"-X main.Version $(VERSION)" \
|
||||
"-X main.Version=$(VERSION)" \
|
||||
./cmd/telegraf/telegraf.go
|
||||
|
||||
prepare:
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
"github.com/influxdb/telegraf"
|
||||
_ "github.com/influxdb/telegraf/outputs/all"
|
||||
_ "github.com/influxdb/telegraf/plugins/all"
|
||||
_ "github.com/KPACHbIuLLIAnO4/telegraf/plugins/all"
|
||||
)
|
||||
|
||||
var fDebug = flag.Bool("debug", false,
|
||||
|
|
|
@ -20,4 +20,5 @@ import (
|
|||
_ "github.com/influxdb/telegraf/plugins/redis"
|
||||
_ "github.com/influxdb/telegraf/plugins/rethinkdb"
|
||||
_ "github.com/influxdb/telegraf/plugins/system"
|
||||
_ "github.com/KPACHbIuLLIAnO4/telegraf/plugins/apache"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue