{"action":"opened","issue":{"url":"https://api.github.com/repos/naver/pinpoint/issues/1462","labels_url":"https://api.github.com/repos/naver/pinpoint/issues/1462/labels{/name}","comments_url":"https://api.github.com/repos/naver/pinpoint/issues/1462/comments","events_url":"https://api.github.com/repos/naver/pinpoint/issues/1462/events","html_url":"https://github.com/naver/pinpoint/issues/1462","id":127374939,"number":1462,"title":"Add APIs for managing registered agents","user":{"login":"Xylus","id":10057488,"avatar_url":"https://avatars.githubusercontent.com/u/10057488?v=3","gravatar_id":"","url":"https://api.github.com/users/Xylus","html_url":"https://github.com/Xylus","followers_url":"https://api.github.com/users/Xylus/followers","following_url":"https://api.github.com/users/Xylus/following{/other_user}","gists_url":"https://api.github.com/users/Xylus/gists{/gist_id}","starred_url":"https://api.github.com/users/Xylus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xylus/subscriptions","organizations_url":"https://api.github.com/users/Xylus/orgs","repos_url":"https://api.github.com/users/Xylus/repos","events_url":"https://api.github.com/users/Xylus/events{/privacy}","received_events_url":"https://api.github.com/users/Xylus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/naver/pinpoint/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Xylus","id":10057488,"avatar_url":"https://avatars.githubusercontent.com/u/10057488?v=3","gravatar_id":"","url":"https://api.github.com/users/Xylus","html_url":"https://github.com/Xylus","followers_url":"https://api.github.com/users/Xylus/followers","following_url":"https://api.github.com/users/Xylus/following{/other_user}","gists_url":"https://api.github.com/users/Xylus/gists{/gist_id}","starred_url":"https://api.github.com/users/Xylus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xylus/subscriptions","organizations_url":"https://api.github.com/users/Xylus/orgs","repos_url":"https://api.github.com/users/Xylus/repos","events_url":"https://api.github.com/users/Xylus/events{/privacy}","received_events_url":"https://api.github.com/users/Xylus/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/naver/pinpoint/milestones/8","html_url":"https://github.com/naver/pinpoint/milestones/1.5.2","labels_url":"https://api.github.com/repos/naver/pinpoint/milestones/8/labels","id":1428523,"number":8,"title":"1.5.2","description":"","creator":{"login":"nstopkimsk","id":1729699,"avatar_url":"https://avatars.githubusercontent.com/u/1729699?v=3","gravatar_id":"","url":"https://api.github.com/users/nstopkimsk","html_url":"https://github.com/nstopkimsk","followers_url":"https://api.github.com/users/nstopkimsk/followers","following_url":"https://api.github.com/users/nstopkimsk/following{/other_user}","gists_url":"https://api.github.com/users/nstopkimsk/gists{/gist_id}","starred_url":"https://api.github.com/users/nstopkimsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstopkimsk/subscriptions","organizations_url":"https://api.github.com/users/nstopkimsk/orgs","repos_url":"https://api.github.com/users/nstopkimsk/repos","events_url":"https://api.github.com/users/nstopkimsk/events{/privacy}","received_events_url":"https://api.github.com/users/nstopkimsk/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":44,"state":"open","created_at":"2015-11-25T02:09:07Z","updated_at":"2016-01-19T06:18:53Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-01-19T06:18:53Z","updated_at":"2016-01-19T06:18:53Z","closed_at":null,"body":"There is currently not a lot of ways to manage agent ids once they're mapped to an application. These data tend to linger around until the TTL has passed and ends up clogging the application index.\r\nThere needs to be APIs for doing 2 things:\r\n1. Detect inactive agents (those that were registered, but are no longer in use) and provide a way to delete them (and their application name mapping)\r\n2. Identify duplicate agent ids that are mapped to more than 1 application name."}}