Skip to content

Target vs Complex Target #79

Description

@SiM22

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions