chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

As a user I can see selected values on the alerts config for relative values

Open nhaugo opened this issue 9 years ago • 4 comments

nhaugo avatar Dec 20 '16 17:12 nhaugo

@cryptoquick can we get your notes on the issues that came up with this?

nhaugo avatar Jan 04 '17 01:01 nhaugo

So, the primary issue in my mind is that there's multiple Operators that this could be set to under the Relative values, and the AC for this ticket isn't quite clear enough. I apologize if there's a bit of hand-holding needed here.

I'd like to do some discussion / brainstorming / design as to how this feature should look and work, especially when different operators are set.

The other issue is that, as we determined before the Winter break, there are at least two approaches to displaying this data. We could run a query on the backend that shows us the points where we should be drawing the selected values within the set operator value, although I'm not sure how that would play out in real-time. When I was trying to implement this, however, there's some complexity in data management and latency. Ideally this query data could be side-loaded along with the user selected query, but I'm not sure if that'd require a bit of backend. Either way, latency would likely take a hit.

The other approach is to just think through some frontend logic in the LineGraph and RuleGraph code for each of these operators, similar to what we were working with for #705, but with a necessity for more data context and math. This is my favored approach, although running a query as per the other approach could possibly save effort and maintenance in this code.

Of course, all this depends on what this should actually look like for each operator. Perhaps that will become clearer as I mover forward with the implementation? I'll keep hammering away, but since I put some time into the backend approach, I'll try to see if I can't get some movement on the frontend approach.

cc @121watts

cryptoquick avatar Jan 04 '17 15:01 cryptoquick

@nhaugo put together mocks of each operators graph.

nhaugo avatar Jan 04 '17 21:01 nhaugo

closing due to inactivity

russorat avatar Dec 04 '18 17:12 russorat