ChronixDB / chronix.server

The Chronix Server implementation that is based on Apache Solr.
Apache License 2.0
263 stars 29 forks source link

Unable to compile chronix.ingester #122

Closed rajendrakumara closed 7 years ago

rajendrakumara commented 7 years ago

_/home/kodiak/metrics/chronix.ingester-master

./handler.go:40: cannot use "github.com/prometheus/common/model".Sample literal (type "github.com/prometheus/common/model".Sample) as type "github.com/prometheus/prometheus/vendor/github.com/prometheus/common/model".Sample in argument to appender.Append ./main.go:45: cannot use chronixStore literal (type chronixStore) as type ingester.ChunkStore in argument to ingester.NewIngester: chronixStore does not implement ingester.ChunkStore (wrong type for Put method) have Put("github.com/prometheus/common/model".Metric, []"github.com/prometheus/prometheus/storage/local/chunk".Desc) error want Put("github.com/ChronixDB/chronix.ingester/vendor/github.com/prometheus/common/model".Metric, []"github.com/ChronixDB/chronix.ingester/vendor/github.com/prometheus/prometheus/storage/local/chunk".Desc) error ./main.go:52: cannot use ing (type ingester.Ingester) as type "github.com/prometheus/client_golang/prometheus".Collector in argument to "github.com/prometheus/client_golang/prometheus".Register: ingester.Ingester does not implement "github.com/prometheus/client_golang/prometheus".Collector (wrong type for Collect method) have Collect(chan<- "github.com/ChronixDB/chronix.ingester/vendor/github.com/prometheus/client_golang/prometheus".Metric) want Collect(chan<- "github.com/prometheus/client_golang/prometheus".Metric) ./main.go:55: cannot use ing (type ingester.Ingester) as type storage.SampleAppender in argument to ingestHandler: ingester.Ingester does not implement storage.SampleAppender (wrong type for Append method) have Append("github.com/ChronixDB/chronix.ingester/vendor/github.com/prometheus/common/model".Sample) error want Append("github.com/prometheus/prometheus/vendor/github.com/prometheus/common/model".Sample) error

rajendrakumara commented 7 years ago

Have raised the issue in appropriate module