{"action":"closed","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/3475","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/3475/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/3475/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/3475/events","html_url":"https://github.com/grafana/grafana/issues/3475","id":121200281,"number":3475,"title":"Support for CloudWatch custom metrics","user":{"login":"matschaffer","id":690,"avatar_url":"https://avatars.githubusercontent.com/u/690?v=3","gravatar_id":"","url":"https://api.github.com/users/matschaffer","html_url":"https://github.com/matschaffer","followers_url":"https://api.github.com/users/matschaffer/followers","following_url":"https://api.github.com/users/matschaffer/following{/other_user}","gists_url":"https://api.github.com/users/matschaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/matschaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matschaffer/subscriptions","organizations_url":"https://api.github.com/users/matschaffer/orgs","repos_url":"https://api.github.com/users/matschaffer/repos","events_url":"https://api.github.com/users/matschaffer/events{/privacy}","received_events_url":"https://api.github.com/users/matschaffer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grafana/grafana/labels/datasource:%20CloudWatch","name":"datasource: CloudWatch","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-09T10:03:45Z","updated_at":"2016-02-05T07:44:50Z","closed_at":"2016-02-05T07:44:50Z","body":"(extracted from [this comment](https://github.com/grafana/grafana/commit/0912cec0e5d882cbbdba2f7d174a5940a0c6e01b#commitcomment-14674633))\r\n\r\nI've been using the original CloudWatch data source (ea7c6edc) plus a cronjob that calls aws cloudwatch list-metrics and it's been pretty effective.\r\n\r\nDownside is that configuring the location of the json file is a little strange from the web UI, plus you also need the aws-cli installed.\r\n\r\nAnother thought would be to just do it in memory via time.NewTicker. You're making more calls as you scale up grafana instances, but at once per hour I doubt it'd incur much cost."}}