brancz/prometheus-example-app

seems unnecessary replace usage left in go.mod

Morty-luo opened this issue · 2 comments

It seems that module github.com/brancz/prometheus-example-app at now directly depends on v1.3.0 of github.com/prometheus/client_golang.

https://github.com/brancz/prometheus-example-app/blob/master/go.mod#L6

github.com/prometheus/client_golang v1.3.0

So, replace usage left in go.mod makes no sense. Should it be dropped?

https://github.com/brancz/prometheus-example-app/blob/master/go.mod#L10

replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.3.0

Huh I don’t even understand how that got there. Absolutely! Do you want to open a PR to remove it?

Simply run go mod edit -dropreplace=github.com/prometheus/client_golang should be able to remove it.