raintank/fakemetrics

Install failed with go get

Closed this issue · 1 comments

$ go get -u github.com/raintank/fakemetrics
# github.com/raintank/fakemetrics/out/kafkamdm
$GOPATH/src/github.com/raintank/fakemetrics/out/kafkamdm/kafkamdm.go:40:11: m.KeyBySeries undefined (type "github.com/raintank/schema".PartitionedMetric has no field or method KeyBySeries)
$GOPATH/src/github.com/raintank/fakemetrics/out/kafkamdm/kafkamdm.go:54:10: m.KeyBySeries undefined (type "github.com/raintank/schema".PartitionedMetric has no field or method KeyBySeries)
$GOPATH/src/github.com/raintank/fakemetrics/out/kafkamdm/kafkamdm.go:171:38: cannot use metric (type *"github.com/raintank/schema".MetricData) as type "github.com/grafana/metrictank/vendor/github.com/raintank/schema".PartitionedMetric in argument to k.part.GetPartitionKey:
        *"github.com/raintank/schema".MetricData does not implement "github.com/grafana/metrictank/vendor/github.com/raintank/schema".PartitionedMetric (missing KeyByOrgId method)

hmm yeah this change was just implemented in schema, we need to adjust fakemetrics (or better: adopt go dep)