File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 22GOTEST =$(GOCMD ) test
33GOVET =$(GOCMD ) vet
44BINARY_NAME =uptimerobot-exporter
5- VERSION? =0.2.0
5+ VERSION? =0.3.1
66DOCKER_REGISTRY? =ez3kiel
77
88GREEN := $(shell tput -Txterm setaf 2)
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import (
1818 "github.com/prometheus/client_golang/prometheus/promauto"
1919 "github.com/prometheus/client_golang/prometheus/promhttp"
2020 "github.com/rs/zerolog"
21- "github.com/sirupsen/logrus"
2221)
2322
2423type app struct {
@@ -189,7 +188,7 @@ func (a app) fetchMonitors() {
189188 ticker := time .NewTicker (time .Duration (a .scrapeInterval ) * time .Second )
190189 for {
191190 <- ticker .C
192- logrus . Info ("fetching monitors" )
191+ a . logger . Info (). Msg ("fetching monitors" )
193192 data := url.Values {
194193 "api_key" : {a .apiKey },
195194 "format" : {"json" },
You can’t perform that action at this time.
0 commit comments