Gathering AMI Metrics

  • What Grafana version and what operating system are you using?
    Grafana v10.3.3 (252761264e)

  • What are you trying to achieve?
    use aws ec2 describe-images to obtain the following:

  1. InstanceID that using AMI
  2. The AMI AmiID
  3. The Age of the AMI
  4. The AMI’s OwnerID
  5. The Name Tag of the AMI
  • How are you trying to achieve it?
    I’ve achieved this using the attached bash script using aws ec2 describe-images, However I need to use Grafana to retrieve the same metrics from the eks cluster and making an API call to AWS accounts.

  • What happened?
    NA

  • What did you expect to happen?
    NA

  • Can you copy/paste the configuration(s) that you are having problems with?
    NA

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    NA

  • Did you follow any online instructions? If so, what is the URL?
    Fetch data from any API using Grafana | by Hakim Rouatbi | Pernod Ricard Tech | Medium

Fetch data from any API using Grafana | by Hakim Rouatbi | Pernod Ricard Tech | Medium

Thanks

Michael