VictoriaMetrics/lib/promscrape/discovery/ec2
Nikolay Khramchikhin 312fead9a2
Add improvements to ec2_sd_discovery (#775)
* Add improvements to ec2 discovery

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/771

 role_arn support with aws sts
 instance iam_role support
 refreshing temporary tokens

* Apply suggestions from code review

Co-authored-by: Roman Khavronenko <hagen1778@gmail.com>

* changed implementation, removed tests, clean up code

* moved endpoint builder into getEC2APIResponse

Co-authored-by: Roman Khavronenko <hagen1778@gmail.com>
2020-09-21 16:04:15 +03:00
..
api.go Add improvements to ec2_sd_discovery (#775) 2020-09-21 16:04:15 +03:00
ec2.go Add improvements to ec2_sd_discovery (#775) 2020-09-21 16:04:15 +03:00
instance.go Add improvements to ec2_sd_discovery (#775) 2020-09-21 16:04:15 +03:00
instance_test.go lib/promscrape/discovery/ec2: expose __meta_ec2_ami like the next Prometheus release will do 2020-06-20 17:45:23 +03:00
sign.go Add improvements to ec2_sd_discovery (#775) 2020-09-21 16:04:15 +03:00
sign_test.go Add improvements to ec2_sd_discovery (#775) 2020-09-21 16:04:15 +03:00