I am using prometheus-2.23.0.darwin-amd64 on my Mac.
My config file:
============================
global:
  scrape_interval: 15s

scrape_configs:
  - job_name: "prometheus"
    static_configs:
    - targets: ["localhost:9090"]

  - job_name: "lion"
    eureka_sd_configs:
      - server: "http://localhost:8761/eureka";
============================

I couldn't start the prometheus and got the error:
level=error ts=2020-12-18T02:31:50.540Z caller=main.go:283 msg="Error 
loading config (--config.file=/usr/local/etc/prometheus.yml)" err="parsing 
YAML file /usr/local/etc/prometheus.yml: yaml: unmarshal errors:\n  line 
10: field eureka_sd_configs not found in type config.plai

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/eda1d2ed-0659-47bf-a8bf-429364e36053n%40googlegroups.com.

Reply via email to