OS: Ubuntu Server 18.04 LTS
Netdata agent version: v1.32.1-4-nightly
I create a custom webpage to show the status of GPU by requesting chart data from Rest API (nvidia-smi chart).
However, API is not real-time. Data last update was 6 hours ago.
but the agent dashboard (IP:19999) is perfectly working fine in real-time.
Here is how I called the REST API
1639718574 is the UNIX timestamp. the timestamp will change every time when a request to avoid caching by a browser. but data was still 6 hours ago.
A method to retrieve data from Rest-API in real-time.