This device is calling in close to once per hour. Each time it calls in, it should send in about ~100 notes. If I count up the rows in the Events tab of Notehub, I see about ~100 events per hour as expected. However, if I look at the Session section for this device, it says there are something more like ~1000 “Notes” per session. What is going on here? Am I confused about the difference between a “Note” and an “Event?”
Sessions:
Hi @daterdots,
So, it’s admittedly a little confusing, but those two numbers actually measure different things.
The Events tab is the actual count. Each Note your Notecard uploads == one event, so that “100/hour” is correct. End of story.
The Notes column on the Sessions tab can actually overcount in some scenarios, which is what I think you are seeing. That value is reported by the Notecard, and it’s a sync counter rather than a count of Notes sent. Notecard uploads Notes in small batches, and each time it sends a batch it counts every Note still waiting to go. A Note that waits through several batches gets counted several times. With large Notes the batches are small, so the total can end up around 10x the real number! So yes this is arguably a bug in the Notehub UI but it’s directly related to sending very large Notes. In which case I’d strongly recommend using Notefile templates!
Thanks,
Rob