How to get the percentage of available system CPUs that are being used for the Stardog process

Hi
Here: Server Monitoring | Stardog Documentation 7.9.0

under system.cpu.usage, it is written that this metric shows "The percentage of available system CPUs that are being used for the Stardog process. Calculated as the total CPU cycles used by the process(as reported by the Operating System) divided by the number of processors available."

I'm not sure how it would be interpreted in a Stardog clustered environment. Let's say with 3 Stardog nodes and 3 Zookeeper nodes. Getting the monitoring infomation through Prometheus via the /admin/status/prometheus endpoint, allowing Prometheus servers to scrape Stardog directly.

Based on this, is system.cpu.usage a number calculated across all nodes of the cluster?

Thank you.

Hi,

system.cpu.usage will be reported by each individual node in the cluster for itself separately, so they can be monitored separately or aggregated to reflect the whole cluster.

1 Like