title: how to resolve this error in promtheus.yml file
body: <p>Facing error in promtheus.yml file</p>
  <blockquote>
  <p>&quot;Error loading config (--config.file=/etc/prometheus/prometheus.yml)&quot; file=/etc/prometheus/prometheus.yml err=&quot;parsing YAML file /etc/prometheus/prometheus.yml: yaml: line 7 field static config not found in type config.scrapeconfig</p>
  </blockquote>
  <p>this is my prometheus.yml file</p>
  <pre class="lang-yaml prettyprint-override"><code>global:
    scrape_interval: 5s
    external_labels:
      monitor: 'devopsage-monitor'
  scrape_configs:
    - job_name: 'prometheus'
      static_configs:
        - targets: ['localhost:9090']   # your server ip
    - job_name: 'node-exporter'             
      static_configs:
        - targets: ['localhost:9100']   # your server ip
  
  </code></pre>