This commit is contained in:
KPACHbIuLLIAnO4 2015-08-31 16:21:14 +00:00
commit 743667b7e5
3 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ VERSION := $(shell sh -c 'git describe --always --tags')
build: prepare build: prepare
$(GOPATH)/bin/godep go build -o telegraf -ldflags \ $(GOPATH)/bin/godep go build -o telegraf -ldflags \
"-X main.Version $(VERSION)" \ "-X main.Version=$(VERSION)" \
./cmd/telegraf/telegraf.go ./cmd/telegraf/telegraf.go
prepare: prepare:

View File

@ -10,7 +10,7 @@ import (
"github.com/influxdb/telegraf" "github.com/influxdb/telegraf"
_ "github.com/influxdb/telegraf/outputs/all" _ "github.com/influxdb/telegraf/outputs/all"
_ "github.com/influxdb/telegraf/plugins/all" _ "github.com/KPACHbIuLLIAnO4/telegraf/plugins/all"
) )
var fDebug = flag.Bool("debug", false, var fDebug = flag.Bool("debug", false,

View File

@ -20,4 +20,5 @@ import (
_ "github.com/influxdb/telegraf/plugins/redis" _ "github.com/influxdb/telegraf/plugins/redis"
_ "github.com/influxdb/telegraf/plugins/rethinkdb" _ "github.com/influxdb/telegraf/plugins/rethinkdb"
_ "github.com/influxdb/telegraf/plugins/system" _ "github.com/influxdb/telegraf/plugins/system"
_ "github.com/KPACHbIuLLIAnO4/telegraf/plugins/apache"
) )