My name is hee-jong.lee and working in Oracle Korea.
Now, using the Terraform command, manually, I can scale out or in the compute in the oracle cloud infrastructure.
In order to automate the scale in / out, I will develop the application using java or python language.
If compute cloud service reach out the threshold of CPU usage, application will update the Terrform file and apply it.
So I want to know How to cpu usage about compute instance.
Java SDK have the API for getting the CPU usage of remote compute instance ? or Does OCI provide the API for it ?