Skip to content

Commit

Permalink
Merge pull request prometheus-community#36 from jvrplmlmn/remove-prommod
Browse files Browse the repository at this point in the history
Remove prommod metrics
  • Loading branch information
povilasv authored Jul 29, 2020
2 parents 3aa40b4 + cf138fd commit d4b0648
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ require (
github.com/golang/protobuf v1.3.5 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/pkg/errors v0.9.1
github.com/povilasv/prommod v0.0.12
github.com/prometheus/client_golang v1.5.1
github.com/prometheus/common v0.9.1
github.com/prometheus/procfs v0.0.11
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/povilasv/prommod v0.0.12 h1:0bk9QJ7kD6SmSsk9MeHhz5Qe6OpQl11Fvo7cvvmNUQM=
github.com/povilasv/prommod v0.0.12/go.mod h1:GnuK7wLoVBwZXj8bhbJNx/xFSldy7Q49A44RJKNM8XQ=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
github.com/prometheus/client_golang v1.5.1 h1:bdHYieyGlH+6OLEk2YQha8THib30KP0/yD0YH9m6xcA=
Expand Down
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"net/http"
_ "net/http/pprof"

"github.com/povilasv/prommod"
"github.com/povilasv/systemd_exporter/systemd"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
Expand Down Expand Up @@ -34,7 +33,7 @@ func main() {
)

log.AddFlags(kingpin.CommandLine)
kingpin.Version(prommod.Print(version.Print("systemd_exporter")))
kingpin.Version(version.Print("systemd_exporter"))
kingpin.HelpFlag.Short('h')
kingpin.Parse()

Expand All @@ -45,7 +44,6 @@ func main() {
r := prometheus.NewRegistry()

r.MustRegister(version.NewCollector("systemd_exporter"))
r.MustRegister(prommod.NewCollector("systemd_exporter"))

collector, err := systemd.NewCollector(log.Base())
if err != nil {
Expand Down

0 comments on commit d4b0648

Please sign in to comment.