Skip to content

Commit

Permalink
force procfs version to initial version embedded to retain FreeBSD su…
Browse files Browse the repository at this point in the history
…pport
  • Loading branch information
rfratto committed Aug 11, 2020
1 parent 7107f64 commit 6574ae7
Show file tree
Hide file tree
Showing 33 changed files with 93 additions and 2,438 deletions.
70 changes: 37 additions & 33 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,56 @@ module github.com/grafana/agent
go 1.12

require (
github.com/cortexproject/cortex v1.2.1-0.20200803161316-7014ff11ed70
github.com/go-kit/kit v0.10.0
github.com/gogo/protobuf v1.3.1
github.com/golang/protobuf v1.4.2
github.com/gorilla/mux v1.7.3
github.com/grafana/loki v1.5.1-0.20200810203821-80693cae6f60
github.com/oklog/run v1.1.0
github.com/opentracing-contrib/go-grpc v0.0.0-20180928155321-4b5a12d3ff02
github.com/opentracing/opentracing-go v1.2.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.7.1
github.com/prometheus/common v0.10.0
github.com/prometheus/node_exporter v1.0.0
github.com/prometheus/procfs v0.1.3
github.com/prometheus/prometheus v1.8.2-0.20200727090838-6f296594a852
github.com/spf13/cobra v0.0.3
github.com/stretchr/testify v1.5.1
github.com/weaveworks/common v0.0.0-20200625145055-4b1847531bc9
go.uber.org/atomic v1.6.0
google.golang.org/grpc v1.30.0
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/yaml.v2 v2.3.0
github.com/cortexproject/cortex v1.2.1-0.20200803161316-7014ff11ed70
github.com/go-kit/kit v0.10.0
github.com/gogo/protobuf v1.3.1
github.com/golang/protobuf v1.4.2
github.com/gorilla/mux v1.7.3
github.com/grafana/loki v1.5.1-0.20200810203821-80693cae6f60
github.com/oklog/run v1.1.0
github.com/opentracing-contrib/go-grpc v0.0.0-20180928155321-4b5a12d3ff02
github.com/opentracing/opentracing-go v1.2.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.7.1
github.com/prometheus/common v0.10.0
github.com/prometheus/node_exporter v1.0.0
github.com/prometheus/procfs v0.1.3
github.com/prometheus/prometheus v1.8.2-0.20200727090838-6f296594a852
github.com/spf13/cobra v0.0.3
github.com/stretchr/testify v1.5.1
github.com/weaveworks/common v0.0.0-20200625145055-4b1847531bc9
go.uber.org/atomic v1.6.0
google.golang.org/grpc v1.30.0
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/yaml.v2 v2.3.0
)

// Needed for Cortex's dependencies to work properly.
replace (
github.com/sercand/kuberesolver => github.com/sercand/kuberesolver v2.1.0+incompatible
go.etcd.io/etcd => go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738
google.golang.org/api => google.golang.org/api v0.14.0
google.golang.org/grpc => google.golang.org/grpc v1.25.1
k8s.io/client-go => k8s.io/client-go v0.17.5
github.com/sercand/kuberesolver => github.com/sercand/kuberesolver v2.1.0+incompatible
go.etcd.io/etcd => go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738
google.golang.org/api => google.golang.org/api v0.14.0
google.golang.org/grpc => google.golang.org/grpc v1.25.1
k8s.io/client-go => k8s.io/client-go v0.17.5
)

// Replace directives from Prometheus
replace k8s.io/klog => github.com/simonpasquier/klog-gokit v0.1.0

// Replace directives from Cortex
replace (
git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999
github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v36.2.0+incompatible
github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.3.0+incompatible
github.com/gocql/gocql => github.com/grafana/gocql v0.0.0-20200605141915-ba5dc39ece85
github.com/hpcloud/tail => github.com/grafana/tail v0.0.0-20191024143944-0b54ddf21fe7
github.com/satori/go.uuid => github.com/satori/go.uuid v1.2.0
git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999
github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v36.2.0+incompatible
github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.3.0+incompatible
github.com/gocql/gocql => github.com/grafana/gocql v0.0.0-20200605141915-ba5dc39ece85
github.com/hpcloud/tail => github.com/grafana/tail v0.0.0-20191024143944-0b54ddf21fe7
github.com/satori/go.uuid => github.com/satori/go.uuid v1.2.0
)

replace github.com/prometheus/prometheus => github.com/grafana/prometheus v1.8.2-0.20200518163447-007aa83a0a1f

replace gopkg.in/yaml.v2 => github.com/rfratto/go-yaml v0.0.0-20200521142311-984fc90c8a04

// Needed to keep FreeBSD builds working; newer versions of procfs use
// syscall.ENODATA which doesn't work with FreeBSD.
replace github.com/prometheus/procfs => github.com/prometheus/procfs v0.0.11
11 changes: 0 additions & 11 deletions vendor/github.com/prometheus/procfs/Makefile.common

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 4 additions & 16 deletions vendor/github.com/prometheus/procfs/bcache/bcache.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

109 changes: 0 additions & 109 deletions vendor/github.com/prometheus/procfs/bcache/get.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6574ae7

Please sign in to comment.