Created
February 8, 2017 18:48
Compiling remote_storage_bridge issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@c1ad2f3f2a73:/usr/src/myapp# go build -v | |
_/usr/src/myapp | |
# _/usr/src/myapp | |
./myapp.go:164: cannot use conf (type "github.com/influxdata/influxdb/client".Config) as type "github.com/prometheus/prometheus/vendor/github.com/influxdb/influxdb/client".Config in argument to influxdb.NewClient | |
./myapp.go:165: cannot use c (type *influxdb.Client) as type "github.com/prometheus/client_golang/prometheus".Collector in argument to "github.com/prometheus/client_golang/prometheus".MustRegister: | |
*influxdb.Client does not implement "github.com/prometheus/client_golang/prometheus".Collector (wrong type for Collect method) | |
have Collect(chan<- "github.com/prometheus/prometheus/vendor/github.com/prometheus/client_golang/prometheus".Metric) | |
want Collect(chan<- "github.com/prometheus/client_golang/prometheus".Metric) | |
./myapp.go:223: cannot use samples (type "github.com/prometheus/common/model".Samples) as type "github.com/prometheus/prometheus/vendor/github.com/prometheus/common/model".Samples in argument to c.Store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment