We have create a lot of custom metrics based on sensu monitoring. These metrics can have a value of either 0 (ok), 1 (warning), or 2 (critical) I want to build a chart base on a query like data('sensu_*', filter=filter('sf_environment', 'prd') and (filter('owner', 'teamA') or filter('type','platform')) this query returns over 3000 timeseries so results are sampled: (Rendering 1000 out of 3270 time series. Values displayed may not be representative; consider filtering your chart or applying aggregation analytics.) In the end I want to have something like this: A = data('sensu_*', filter=filter('sf_environment', 'prd') and (filter('owner', 'teamA') or filter('type','platform')), rollup='max').between(1,3).count(by='host.name').above(0).publish(label='Critical', enable=True) but now the result from this query isn't trustworthy. There no extra dimensions to filter upon, but I want to filter all the results where value is 0. when I use methods like above(), between or when i create a new stream with when() I keep getting this warning. Does anyone have a suggestion what I can try.
... View more