monitoring-mixins / mixtool

mixtool is a helper for easily working with jsonnet mixins.
Apache License 2.0
138 stars 15 forks source link

Not able to install mixtool to get cortex dashboards #35

Closed vicmania2007 closed 2 years ago

vicmania2007 commented 3 years ago

I am trying to get Cortex block storage dashboards from https://github.com/grafana/cortex-jsonnet/tree/master/cortex-mixin/dashboards and i am trying to replicate the steps in https://github.com/grafana/cortex-jsonnet#monitoring-for-cortex. While installing mixtool, i am not able to get the module. I am getting the following error. This issue is covered here in https://github.com/monitoring-mixins/mixtool/issues/27, but I am getting the same problem last cited.

Here is what i am seeing!

➜  Documents GO111MODULE=on go get -u github.com/monitoring-mixins/mixtool/cmd/mixtool
go: found github.com/monitoring-mixins/mixtool/cmd/mixtool in github.com/monitoring-mixins/mixtool v0.0.0-20210104103825-ae18e31161ea
go: github.com/mattn/go-colorable upgrade => v0.1.8
go: golang.org/x/sys upgrade => v0.0.0-20210124154548-22da62e12c0c
go: github.com/Unknwon/com upgrade => v1.0.1
go: github.com/imdario/mergo upgrade => v0.3.11
go: github.com/mattn/go-isatty upgrade => v0.0.12
go: golang.org/x/crypto upgrade => v0.0.0-20201221181555-eec23a3978ad
go: github.com/rogpeppe/go-internal upgrade => v1.7.0
go: github.com/stretchr/objx upgrade => v0.3.0
go: github.com/russross/blackfriday/v2 upgrade => v2.1.0
go: github.com/urfave/cli upgrade => v1.22.5
go: github.com/uber/jaeger-lib upgrade => v2.4.0+incompatible
go: gopkg.in/yaml.v2 upgrade => v2.4.0
go: github.com/golang/protobuf upgrade => v1.4.3
go: sigs.k8s.io/yaml upgrade => v1.2.0
go: golang.org/x/tools upgrade => v0.1.0
go: go.uber.org/atomic upgrade => v1.7.0
go: github.com/fatih/color upgrade => v1.10.0
go: github.com/pkg/errors upgrade => v0.9.1
go: github.com/davecgh/go-spew upgrade => v1.1.1
go: golang.org/x/lint upgrade => v0.0.0-20201208152925-83fdc39ff7b5
go: google.golang.org/protobuf upgrade => v1.25.0
go: golang.org/x/sync upgrade => v0.0.0-20201207232520-09787c993a3a
go: github.com/spf13/cast upgrade => v1.3.1
go: github.com/gosimple/slug upgrade => v1.9.0
go: github.com/mitchellh/copystructure upgrade => v1.1.1
go: github.com/opentracing/opentracing-go upgrade => v1.2.0
go: github.com/gobuffalo/packd upgrade => v1.0.0
go: gopkg.in/macaron.v1 upgrade => v1.4.0
go: github.com/google/go-jsonnet upgrade => v0.17.0
go: github.com/prometheus/client_golang upgrade => v1.9.0
go: github.com/prometheus/common upgrade => v0.15.0
go: github.com/go-logfmt/logfmt upgrade => v0.5.0
go: github.com/cpuguy83/go-md2man/v2 upgrade => v2.0.0
go: github.com/Masterminds/semver/v3 upgrade => v3.1.1
go: github.com/prometheus/client_model upgrade => v0.2.0
go: github.com/google/uuid upgrade => v1.2.0
go: github.com/teris-io/shortid upgrade => v0.0.0-20201117134242-e59966efd125
go: github.com/ghodss/yaml upgrade => v1.0.0
go: github.com/grafana/grafana upgrade => v6.1.6+incompatible
go: github.com/bradfitz/gomemcache upgrade => v0.0.0-20190913173617-a41fca850d0b
go: github.com/prometheus/procfs upgrade => v0.4.1
go: github.com/inconshreveable/log15 upgrade => v0.0.0-20201112154412-8562bdadbbac
go: github.com/lib/pq upgrade => v1.9.0
go: github.com/go-kit/kit upgrade => v0.10.0
go: github.com/go-sql-driver/mysql upgrade => v1.5.0
go: github.com/golang/snappy upgrade => v0.0.2
go: github.com/beorn7/perks upgrade => v1.0.1
go: gopkg.in/ini.v1 upgrade => v1.62.0
go: github.com/mitchellh/reflectwalk upgrade => v1.0.1
go: github.com/Masterminds/goutils upgrade => v1.1.1
go: github.com/go-macaron/session upgrade => v1.0.2
go: github.com/Masterminds/semver upgrade => v1.5.0
go: github.com/gobuffalo/envy upgrade => v1.9.0
go: github.com/go-macaron/inject upgrade => v0.0.0-20200308113650-138e5925c53b
go: github.com/huandu/xstrings upgrade => v1.3.2
go: gopkg.in/yaml.v3 upgrade => v3.0.0-20210107192922-496545a6307b
go: github.com/Masterminds/sprig/v3 upgrade => v3.2.2
go: github.com/grafana/tanka upgrade => v0.14.0
go get: github.com/Unknwon/com@v0.0.0-20180617003950-da59b551951d updating to
    github.com/Unknwon/com@v1.0.1: parsing go.mod:
    module declares its path as: github.com/unknwon/com
            but was required as: github.com/Unknwon/com
chezgi commented 3 years ago

i have same problem.

GO111MODULE=on go get -u github.com/monitoring-mixins/mixtool/cmd/mixtool
chezgi commented 3 years ago

it works without -u

GO111MODULE=on go get github.com/monitoring-mixins/mixtool/cmd/mixtool