对于Oracle Cloud Compute VM 中的REST API 监控,是否需要安装Oracle Cloud Agent?

For REST API monitoring in Oracle Cloud Compute VM, do we need to install the Oracle Cloud Agent?

我需要使用 REST API 或 Java SDK 监控 Oracle 云计算 VM。那么对于 REST API 监控,我们需要在 VM 中进行任何设置吗?

不,您不需要在 VM 内进行任何设置,但您确实需要 API 用户在 IAM 策略中获得授权。

例如,使用这样的策略(仅用于读取指标):

Allow group <api_users> to read metrics in tenancy

然后你可以使用 APIs here.