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:
============================
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