github.com/observiq/bindplane-agent@v1.51.0/config/google_managed_prometheus/hostmetrics/config.yaml (about) 1 receivers: 2 hostmetrics: 3 collection_interval: 60s 4 scrapers: 5 cpu: 6 disk: 7 load: 8 filesystem: 9 memory: 10 network: 11 paging: 12 processes: 13 14 # Uncomment "process" and "mute_process_name_error" to enable 15 # per process metrics for cpu, memory, and disk. 16 # This feature requires root / Administrative privileges. 17 #process: 18 # mute_process_name_error: true 19 20 processors: 21 # Resourcedetection is used to add a unique (host.name) 22 # to the metric resource(s), allowing users to filter 23 # between multiple systems. 24 resourcedetection: 25 detectors: ["system"] 26 system: 27 hostname_sources: ["os"] 28 29 batch: 30 31 exporters: 32 # The prometheus exporter exposes a TCP port on the collector, that is then scraped 33 # by your Google Prometheus server. 34 prometheus: 35 # The endpoint of the agent, that will be scraped by 36 # your prometheus server. 37 endpoint: "127.0.0.1:9000" 38 # copies resource attributes to metric labels 39 resource_to_telemetry_conversion: 40 enabled: true 41 42 service: 43 pipelines: 44 metrics: 45 receivers: 46 - hostmetrics 47 processors: 48 - resourcedetection 49 - batch 50 exporters: 51 - prometheus