-- Logs begin at Sun 2021-12-26 04:48:21 UTC, end at Sun 2023-03-12 06:34:53 UTC. -- Mar 12 05:08:43 example-name systemd[1]: Started Monitoring system and forwarder. Mar 12 05:38:45 example-name grafana-agent[1049084]: ts=2023-03-12T05:38:45.6366501Z caller=cleaner.go:203 level=warn agent=prometheus component=cleaner msg="unable to fi> Mar 12 06:08:45 example-name grafana-agent[1049084]: ts=2023-03-12T06:08:45.63549564Z caller=cleaner.go:203 level=warn agent=prometheus component=cleaner msg="unable to f> Mar 12 06:20:16 example-name systemd[1]: Stopping Monitoring system and forwarder... Mar 12 06:20:16 example-name systemd[1]: grafana-agent.service: Succeeded. Mar 12 06:20:16 example-name systemd[1]: Stopped Monitoring system and forwarder. Mar 12 06:20:16 example-name systemd[1]: Started Monitoring system and forwarder.
# Sample config for Grafana Agent # For a full configuration reference, see: https://grafana.com/docs/agent/latest/configuration/. server: log_level: warn
metrics: global: scrape_interval: 1m wal_directory: '/var/lib/grafana-agent' configs: # Example Prometheus scrape configuration to scrape the agent itself for metrics. # This is not needed if the agent integration is enabled. # - name: agent # host_filter: false # scrape_configs: # - job_name: agent # static_configs: # - targets: ['127.0.0.1:9090']