When using the Teltonika Remote Management GUI, after selecting a device’s information, under the tab “Metrics” > “Mobile data information” I can see a plot like this one:
That is correct, the information provided is data consumption per day per SIM card per direction (TX/RX).
Could you clarify in what format should the data be? Should be be hourly? Currently RMS has only one API endpoint for data consumption, and it’s the one you mentioned - /devices/{id}/data-usage.
RMS judges data consumption by taking the total amount, and subtracting the total amount that was received with the previous information pull. Let’s say at 08:45 when gathering the monitoring data the router has used up 1525MB of data that day. Next time the information is pulled at 08:50, and the data used was 1580MB. RMS simply takes 1580, removes 1525, and gets the result that 55MB of data has been used during the last 5 minutes.
Could you clarify in what format should the data be? Should be be hourly? Currently RMS has only one API endpoint for data consumption, and it’s the one you mentioned - /devices/{id}/data-usage .
RMS judges data consumption by taking the total amount, and subtracting the total amount that was received with the previous information pull.
Personally, it would be OK to have the data in daily format (as currently provided by the aforementioned API endpoint) as long as it is clear that I get the correct values because those are important for decision making and optimisation.
Ideally, one could also choose the interval during the API call (daily, hourly, etc.). This is just a suggestion.
As a side note, we are using the RMS API to collect said data in a Grafana dashboard along with various other metrics. This is just more comfortable compared to connecting to RMS and other providers’ interfaces in order to view the various performance metrics.