-
Notifications
You must be signed in to change notification settings - Fork 311
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
Group events in (live) data view #3713
Comments
In the console meeting today, we concluded that we will want to solve the immediate issue by adding event filters first (which will be set by default, based on the number of entities in the event scope). Also we need to look into solving some performance issues of the event stream that might warrant some store and display logic refactors (see #2887). After this we should be good to take a look into grouping, which is unfortunately not straightforward and needs some proper planning both in terms of UX and implementation-wise. |
Related: #3817 |
Planning gets tracked in #3817 |
Given the new verbose filter, which addresses some of the issues, this is not in the current plan |
Summary
Group events in (live) data view.
Why do we need this?
With multiple active devices, the application and gateway live traffic view becomes quite overwhelming soon.
What is already there? What do you see now?
One gateway uplink message emits three events: the receive, and two identical forwards (NS and PB, but that isn't shown). The gateway status also comes in threefold, one receive and two forwards:
One data uplink message emits at least six events, including storage. We may emit more events from integrations and packages.
With data downlink message we also have a bunch:
Same with join-request and join-accept.
What is missing? What do you want to see?
I would like to see grouping of events. Suggesting the following:
Gateway live data
gs.{up,status}.{receive,forward,drop}
by correlation IDgs:uplink:XXX
gs.down.*
events yet. Needs Send Tx events upstream #76, specifically that GS needs to correlate the correlation ID of the downlink message to the TX acknowledgmentApplication and end device live data
ns.up.join.{receive,drop,process,accept.forward}
,ns.up.join.{cluster,interop}.{attempt,success,fail}
andns.down.join.schedule.{attempt,success,fail}
by correlation IDns:uplink:XXX
ns.up.data.{receive,process,drop,forward}
,as.up.data.{receive,drop,forward}
,as.up.service.forward
andas.up.data.decode.{fail,warning}
events by correlation IDns:uplink:XXX
as.down.data.{receive,forward,drop}
,as.down.data.encode.{fail,warning}
andns.down.data.schedule.{attempt,success,fail}
events by correlation IDas:downlink:XXX
Notes:
How do you propose to implement this?
For each of the groupings above, show one row, with icons and text to show what happened. For example, for each
gs.up.forward
event, put a forward icon in the row, and same for a failure.It should still be possible to somehow expand or list the grouped events.
Implementation notes:
How do you propose to test this?
Integration testing.
@rvolosatovs @adriansmares can help with all the scenarios and see if everything works as expected.
Can you do this yourself and submit a Pull Request?
Can review, test and provide input here if needed.
The text was updated successfully, but these errors were encountered: