linzhengen / tech-notes

My tech notes write in github issues🧲
1 stars 0 forks source link

[20231030] List of EC2 service discovery configurations #191

Open linzhengen opened 9 months ago

linzhengen commented 9 months ago

Doc

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