Skip to content

Commit

Permalink
chore: update prometheus dependencies, import logrus directly (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
dswarbrick authored and fffonion committed Oct 12, 2022
1 parent 4a004ec commit eb68b73
Show file tree
Hide file tree
Showing 4 changed files with 437 additions and 28 deletions.
2 changes: 1 addition & 1 deletion exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package exporter
import (
"github.com/fffonion/tplink-plug-exporter/kasa"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/log"
log "github.com/sirupsen/logrus"
)

type Exporter struct {
Expand Down
22 changes: 15 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
module github.com/fffonion/tplink-plug-exporter

go 1.12
go 1.18

require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
github.com/mitchellh/mapstructure v1.1.2
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/prometheus/client_golang v1.1.0
github.com/prometheus/common v0.6.0
github.com/prometheus/client_golang v1.13.0
github.com/sirupsen/logrus v1.7.0
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
google.golang.org/protobuf v1.28.1 // indirect
)
Loading

0 comments on commit eb68b73

Please sign in to comment.