# Grafana JVM Integration

**URL:** <https://community.grafana.com/t/grafana-jvm-integration/74272>\
**Category:** Dashboards\
**Tags:** integration\
**Created:** [October 17, 2022, 9:23am UTC](https://community.grafana.com/t/grafana-jvm-integration/74272 "2022-10-17T09:23:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinayrevar](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@vinayrevar](https://community.grafana.com/u/vinayrevar)\
**Post date:** [October 17, 2022, 9:23am UTC](https://community.grafana.com/t/grafana-jvm-integration/74272/1 "2022-10-17T09:23:00Z")

</div>

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](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

But if I use the below config the service fails to start:

- targets:  
- **localhost:8087/demo**
