This is the endpoint I'm querying: (https://developer.cisco.com/meraki/api/#/rest/api-endpoints/switch-ports/get-device-switch-port-stat...)
I'm configuring monitoring to poll this every 3 minutes, and I set timespan=180. So every 3 minutes, I expect to get values back that indicate the packet count seen for the past 3 minutes.
However, it looks like most of the time consecutive polls are duplicate values. This implies the actual data the API is retrieving isn't being updated as fast as I'm polling it. (Validated in Postman that successive queries are static.)
Is there documentation as to how frequently data like this is updated? I suppose it's not a problem to just up the values to 5 minutes.
Solved! Go to Solution.
Hi,
I don't believe there is documentation explicitly saying how often this info will be updated.
Basically, the time is depending on how often the Dashboard query the switch port for this info and updated for API query since API only query the Dashboard.
It may be worth sending a feature request regarding your issue. Thanks!
Best Regards,
Chris
Thanks all! That makes sense and I can work with knowing that it's about 5 minutes.