Skip to content

Upgrade Prometheus

Andrew Newdigate requested to merge an/prometheus into master

Upgrades the following packages, required for !279 (merged).

github.com/golang/protobuf/proto

github.com/prometheus/client_golang/prometheus
github.com/prometheus/client_golang/prometheus/promhttp
github.com/prometheus/client_model/go

github.com/prometheus/common/expfmt
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/prometheus/common/model
github.com/prometheus/procfs

Also adds the following packages (as new dependencies of the above upgrades):

github.com/prometheus/procfs/internal/util
github.com/prometheus/procfs/nfs
github.com/prometheus/procfs/xfs

The github.com/golang/protobuf/proto upgrade may seem strange, but was required due to compiler errors on the current version:

_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:96:31: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:141:27: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:179:29: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:218:30: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:265:29: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:317:29: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:357:31: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:410:28: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:461:28: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:544:34: undefined: proto.InternalMessageInfo
_build/src/gitlab.com/gitlab-org/gitlab-workhorse/vendor/github.com/prometheus/client_model/go/metrics.pb.go:544:34: too many errors
Edited by Andrew Newdigate

Merge request reports