Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target vs Complex Target #79

Open
SiM22 opened this issue May 29, 2019 · 0 comments
Open

Target vs Complex Target #79

SiM22 opened this issue May 29, 2019 · 0 comments

Comments

@SiM22
Copy link

SiM22 commented May 29, 2019

Been trying to get a complex target to work. like the below but with sensitive words renamed.

'scale(divideSeries(env.app-name.env.ab.cd.ef.metrics.CounterMetrics.statistic.count, sumSeries(env.app-name.env.ab.cd.ef.metrics.CounterMetrics.*.count)), 100)'

When i run that as follows

check-graphite.rb -t'scale(divideSeries(env.app-name.env.ab.cd.ef.metrics.CounterMetrics.statistic.count, sumSeries(env.app-name.env.ab.cd.ef.metrics.CounterMetrics.*.count)), 100)' -h https://graphite.env.example.net -x 'scale(divideSeries(env.app-name.env.ab.cd.ef.metrics.CounterMetrics.Statistic.count, sumSeries(env.app-name.env.ab.cd.ef.metrics.CounterMetrics.*.count)), 100)' -p 6000mins -l 100

This always returns Zero, but running that same target in graphite returns data. How is the complex target supposed to be laid out and/or what am i doing wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant