newrelic / nr1-neon

NR1 Neon allows you to create a status board based on New Relic alert statuses or event values.
https://discuss.newrelic.com/t/neon-alerting-nerdpack/83272
Apache License 2.0
3 stars 14 forks source link

Add a WHERE clause for attribute #12

Open danifitz opened 4 years ago

danifitz commented 4 years ago

Summary

When checking upon an attribute, you might need to filter using a WHERE clause. For example if you're sending alerts for multiple sub-accounts to a single account, you need a way to filter on which account you are displaying in a row/column

Desired Behaviour

Filter the result of an attribute based on some value.

Possible Solution

When selecting a row/column/attribute/operator and value, there could be a tickbox to define a WHERE clause where you pick an attribute, operator (IN, NOT IN, LIKE) and a value.

Additional context

Sending alerts from multiple new relic sub accounts to a single account.

paulsewardasc commented 4 years ago

We do this very thing and having a where or facet would be really useful is showing which account the issue is in, the facet function would allow us to be more dynamic but a where clause would work.

danifitz commented 4 years ago

I've forked the repo and am currently working on an enhancement to allow this.

tangollama commented 4 years ago

@danifitz excited to see that you were working on this feature. If you have a PR, @glitton or @amit-y would be happy to review and merge it so that functionality can find it's way into the New Relic One Catalog.