Hello everybody,
I have installed grafana-agent service on my Windows 10 machine , and I am trying to integrate JVM metrics to Grafana Dashboard.
The issue is , when I try to use a path appending to port number , the grafana service is not able to start.
For example :
If I use the below configuration , then it works.
metrics:
configs:
- name: integrations
remote_write:- basic_auth:
password:
username:
url: https://prometheus-prod-10-prod-us-central-0.grafana.net/api/prom/push
scrape_configs: - job_name: integrations/jvm
static_configs:- targets:
-
localhost:8087
global:
scrape_interval: 60s
wal_directory: /tmp/grafana-agent-wal
-
localhost:8087
- targets:
- basic_auth:
But if I use the below config the service fails to start:
- targets:
- localhost:8087/demo