Open linzhengen opened 9 months ago
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ec2_sd_config
scrape._configs: - job_name: "ec2" ec2_sd_configs: - region: us-east-1 access_key: xxx secret_key: yyy
Doc
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ec2_sd_config
サンプル