github.com/observiq/bindplane-agent@v1.51.0/config/google_managed_prometheus/hostmetrics/README.md (about) 1 # Host Metrics with Google Managed Prometheus 2 3 The Host Metrics Receiver can be used to send system metrics from an agent host to Google Managed Prometheus. See the [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/hostmetricsreceiver) for more details. 4 5 ## Prerequisites 6 7 See the [prerequisites](../README.md) doc for Google Managed Prometheus. 8 9 ## Configuration 10 11 An example configuration is located [here](./config.yaml). 12 13 1. Copy [config.yaml](./config.yaml) to `/opt/observiq-otel-collector/config.yaml` 14 2. Restart the agent: `sudo systemctl restart observiq-otel-collector` 15 16 ## Process metrics 17 18 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](https://github.com/observIQ/bindplane-agent/blob/main/docs/installation-linux.md#configuring-the-agent) for instructions. 19 20 ## Metrics 21 22 Metrics can be found in the [GMP](https://console.cloud.google.com/monitoring/prometheus) web interface.