Best Practices for API Calls in a datasource
Hi all,
Possibly the most random question of the week, when working in datasources where you are looking to utilize API calls what would you say is the maximum calls to make in what datasource typically I have worked on one data retrieval call per data source.
Why the question?
So Dell have withdrawn a number of fields from their Dashboard API in Dell ECS which means metrics such as CPU and memory need now to be retrieved from the flux API that is provided amongst a few other metrics which I may or may not need to provide to our infrastructure team.
To do this it looks like I may need to generate at least two flux queries one for CPU and one for memory this will result in two API calls.
So would you create a single data source for each metric or make the two calls within the datasource so you have a global stats data source for this sort of information.
Thanks in advance for your input.