{"action":"created","issue":{"url":"https://api.github.com/repos/teralytics/prometheus-ecs-discovery/issues/25","repository_url":"https://api.github.com/repos/teralytics/prometheus-ecs-discovery","labels_url":"https://api.github.com/repos/teralytics/prometheus-ecs-discovery/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/teralytics/prometheus-ecs-discovery/issues/25/comments","events_url":"https://api.github.com/repos/teralytics/prometheus-ecs-discovery/issues/25/events","html_url":"https://github.com/teralytics/prometheus-ecs-discovery/pull/25","id":383890125,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjUyMTcy","number":25,"title":"Assume role feature","user":{"login":"henninge","id":971666,"node_id":"MDQ6VXNlcjk3MTY2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/971666?v=4","gravatar_id":"","url":"https://api.github.com/users/henninge","html_url":"https://github.com/henninge","followers_url":"https://api.github.com/users/henninge/followers","following_url":"https://api.github.com/users/henninge/following{/other_user}","gists_url":"https://api.github.com/users/henninge/gists{/gist_id}","starred_url":"https://api.github.com/users/henninge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henninge/subscriptions","organizations_url":"https://api.github.com/users/henninge/orgs","repos_url":"https://api.github.com/users/henninge/repos","events_url":"https://api.github.com/users/henninge/events{/privacy}","received_events_url":"https://api.github.com/users/henninge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-23T17:08:54Z","updated_at":"2018-11-26T10:07:49Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/teralytics/prometheus-ecs-discovery/pulls/25","html_url":"https://github.com/teralytics/prometheus-ecs-discovery/pull/25","diff_url":"https://github.com/teralytics/prometheus-ecs-discovery/pull/25.diff","patch_url":"https://github.com/teralytics/prometheus-ecs-discovery/pull/25.patch"},"body":"Hi!\r\n\r\nWe are using prometheus-ecs-discovery in a cross-account scenario. The feature implmented here is ananlogous to the `role_arn` option of the `ec2_sd_config` and allows to scrape the AWS API with a different role, even in a different account.\r\n\r\nHope you find it useful, too. ;-) Thank you!\r\nHenning"},"comment":{"url":"https://api.github.com/repos/teralytics/prometheus-ecs-discovery/issues/comments/441584484","html_url":"https://github.com/teralytics/prometheus-ecs-discovery/pull/25#issuecomment-441584484","issue_url":"https://api.github.com/repos/teralytics/prometheus-ecs-discovery/issues/25","id":441584484,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTU4NDQ4NA==","user":{"login":"henninge","id":971666,"node_id":"MDQ6VXNlcjk3MTY2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/971666?v=4","gravatar_id":"","url":"https://api.github.com/users/henninge","html_url":"https://github.com/henninge","followers_url":"https://api.github.com/users/henninge/followers","following_url":"https://api.github.com/users/henninge/following{/other_user}","gists_url":"https://api.github.com/users/henninge/gists{/gist_id}","starred_url":"https://api.github.com/users/henninge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henninge/subscriptions","organizations_url":"https://api.github.com/users/henninge/orgs","repos_url":"https://api.github.com/users/henninge/repos","events_url":"https://api.github.com/users/henninge/events{/privacy}","received_events_url":"https://api.github.com/users/henninge/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T10:07:49Z","updated_at":"2018-11-26T10:07:49Z","author_association":"NONE","body":"Yes, of course!\r\n\r\nShould I squash commits or leave them as the are?"}}
{"actor":{"display_login":"henninge"}}