I followed the instructions at Install Grafana Agent in static mode on Windows | Grafana Agent documentation
and my config looks something like this:
server:
log_level: warn
metrics:
wal_directory: C:\ProgramData\grafana-agent-wal
global:
scrape_interval: 1m
configs:
- name: integrations
logs:
positions_directory: "C:\\ProgramData\\grafana-agent-positions"
configs:
- name: windows
clients:
- url: https://780249:<api_key>==@logs-prod-021.grafana.net/loki/api/v1/push
scrape_configs:
- job_name: windows
windows_events:
bookmark_path: "C:\\ProgramData\\grafana-agent-bookmarks\\bookmark.xml"
use_incoming_timestamp: false
eventlog_name: "Application"
xpath_query: '*'
labels:
job: windows
integrations:
windows_exporter:
enabled: true
But I see nothing in Grafana. Usage is still all zeros and nothing when I run a query. There’s also nothing in the event logs besides a warning about “No where-clause specified for service collector.” The service is healthy and running according to the services mmc.
Is there some other configuration I need to do on the cloud side?
Charles