Skip to content
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

Console Live Data different between Application level and Device level #5400

Closed
jpmeijers opened this issue Apr 20, 2022 · 2 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jpmeijers
Copy link

Summary

Per-device Live Data has uplinks and join at correct times:
Screenshot from 2022-04-20 16-41-33

Per-application Live Data has joins from yesterday, but join from today and uplinks from today are missing:
Screenshot from 2022-04-20 16-41-45

Comparing these two Live Data view, things do not tie up. The per-device view shows three uplinks - which I also see in the storage integration. The per-application Live Data shows two joins and an uplink after each join. The joins are from yesterday around 16h. The three uplinks were all three today around 13h (according to the storage integration too).

The per-application Live Data has the uplinks from today missing - and I think a join from today is missing too.

Steps to Reproduce

  1. Not sure

What do you see now?

Live Data views do not agree.

What do you want to see instead?

They should show the same data

Environment

Ubuntu 20.04
Chrome Version 100.0.4896.88 (Official Build) (64-bit)
TTS 3.19.0

How do you propose to implement this?

...

How do you propose to test this?

...

Can you do this yourself and submit a Pull Request?

No

@github-actions github-actions bot added the needs/triage We still need to triage this label Apr 20, 2022
@NicolasMrad NicolasMrad removed the needs/triage We still need to triage this label Apr 26, 2022
@kschiffer
Copy link
Contributor

The reason for this mismatch is a difference in event retention per entity type. This means that in some cases the number of historical events retained is different for the application stream and the end device stream.
For data coming in live, the messages should match as expected. However, we also recently changed which event types are coming through for applications:

EndDevice CRUD:

end_device.*
ns.end_device.*
as.end_device.*
js.end_device.*

AS Forwarded Uplinks/Downlinks:

as.*.forward

JS Joins:

js.join.accept

Errors and warnings:

*.fail
*.warning
*.drop
*.reject

NS MAC layer:

ns.class.switch.*

The end device stream will give a couple of other event types in addition to that.

I will think about a way to communicate this info also in the Console UI.

@kschiffer
Copy link
Contributor

So I have reviewed the problem again and it became apparent that there are indeed gaps between the application and end device layer events that should not be there. The issue originates from the backend and we are currently verifying a fix.

Thanks for your help in identifying this.

@kschiffer kschiffer added the bug Something isn't working label May 19, 2022
@kschiffer kschiffer added this to the v3.20.0 milestone May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants