Prometheus configuring volumes and storage on windows 10

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • What Grafana version: grafana 8.4 and windows 10

  • **What trying to achieve?
    Want to configure yaml file on windows. All yaml files found on Internet are like /var/log or /etc/config, both are linux folders. And want to monitor prometheus

  • How are you trying to achieve it?
    Trying to use default yaml file, as given everywhere on Internet using /var/log and /etc/config.

  • What happened?
    prometheus is running (ports 9090/9090). But cannot see any data in grafana or prometheus

  • What did you expect to happen?
    wanted to be able to execute queries on prometheus, self monitoring of prometheus.

  • Can you copy/paste the configuration(s) that you are having problems with?
    services:
    prometheus:
    image: prom/prometheus:v2.34.0
    volumes:
    - ./prometheus/:/etc/prometheus/
    command:
    - “–config.file=/etc/prometheus/prometheus.yml”
    - “–storage.tsdb.path=/prometheus”
    ports:
    - 9090:9090
    networks:
    - grafana

  • Did you receive any errors in the Grafana UI or in related logs?
    Cannot find any logs. Where are they?

  • Did you follow any online instructions? If so, what is the URL?
    I followed “Grafana fundamentals | Grafana Labs

Are you trying to run prometheus in windows or in docker?