The Host Metrics Receiver can be used to send system metrics from an agent host to Google Cloud Monitoring.
See the prerequisites doc for Google Cloud prerequisites.
An example configuration is located here.
- Copy config.yaml to
/opt/observiq-otel-collector/config.yaml
- Restart the agent:
sudo systemctl restart observiq-otel-collector
Host Metrics does not have setup requirements.
The host metrics receiver supports per process cpu, memory, disk, and network metrics. This feature requires elevated privileges. On Linux, you must update the service configuration to run the agent as the root user. See the installation documentation for instructions.