Skip to content

Instantly share code, notes, and snippets.

@alexandrem
Created May 5, 2014 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexandrem/60018eb0428da7e713da to your computer and use it in GitHub Desktop.
Save alexandrem/60018eb0428da7e713da to your computer and use it in GitHub Desktop.
graphite-ng test metrics error
writing to template {1399232203 1399318603 [{test.metric2 ReadMetric("test.metric2")} {derivative(test.metric1) functions.ProcessDerivative(
ReadMetric("test.metric1"))}]}
executing: go run executor-5577006791947779410.go data.go
stdout:
sterr: # command-line-arguments
./executor-5577006791947779410.go:21: cannot use config (type "_/root/go/src/github.com/graphite-ng/graphite-ng/config".Main) as type "github.com/graphite-ng/graphite-ng/config".Main in function argument
./executor-5577006791947779410.go:30: cannot use ReadMetric("test.metric2") (type "github.com/graphite-ng/graphite-ng/chains".ChainEl) as type "_/root/go/src/github.com/graphite-ng/graphite-ng/chains".ChainEl in assignment
./executor-5577006791947779410.go:34: cannot use dep_el (type "_/root/go/src/github.com/graphite-ng/graphite-ng/chains".ChainEl) as type "github.com/graphite-ng/graphite-ng/chains".ChainEl in function argument
./executor-5577006791947779410.go:40: cannot use functions.ProcessDerivative(ReadMetric("test.metric1")) (type "github.com/graphite-ng/graphite-ng/chains".ChainEl) as type "_/root/go/src/github.com/graphite-ng/graphite-ng/chains".ChainEl in assignment
./executor-5577006791947779410.go:44: cannot use dep_el (type "_/root/go/src/github.com/graphite-ng/graphite-ng/chains".ChainEl) as type "github.com/graphite-ng/graphite-ng/chains".ChainEl in function argument
@medcl
Copy link

medcl commented May 7, 2014

hi,i got same error,can u solved your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment