Does anyone use Prometheus/VictoriaMetrics vmagent and (AWS) EC2 Service Discovery with your PromScrape config? I am running it on a server with an IAM Profile that has read-only access to EC2 but:
skipping some ec2_sd_config targets for job_name=ec2_instances because of error: error when fetching instances data from EC2: cannot obtain instances: unexpected status code for "https://ec2.eu-west-2.amazonaws.com/?Action=DescribeInstances&Version=2016-11-15"; got 401; want 200;
I guess it doesn't know how to use an IAM Profile?


Qiita - 人気の記事
