{"action":"created","issue":{"url":"https://api.github.com/repos/php-http/HttplugBundle/issues/3","labels_url":"https://api.github.com/repos/php-http/HttplugBundle/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/php-http/HttplugBundle/issues/3/comments","events_url":"https://api.github.com/repos/php-http/HttplugBundle/issues/3/events","html_url":"https://github.com/php-http/HttplugBundle/issues/3","id":102774912,"number":3,"title":"DataCollector for the symfony toolbar","user":{"login":"dbu","id":76576,"avatar_url":"https://avatars.githubusercontent.com/u/76576?v=3","gravatar_id":"","url":"https://api.github.com/users/dbu","html_url":"https://github.com/dbu","followers_url":"https://api.github.com/users/dbu/followers","following_url":"https://api.github.com/users/dbu/following{/other_user}","gists_url":"https://api.github.com/users/dbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbu/subscriptions","organizations_url":"https://api.github.com/users/dbu/orgs","repos_url":"https://api.github.com/users/dbu/repos","events_url":"https://api.github.com/users/dbu/events{/privacy}","received_events_url":"https://api.github.com/users/dbu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-24T11:46:31Z","updated_at":"2015-12-18T23:22:22Z","closed_at":null,"body":"see also https://github.com/egeloen/IvoryHttpAdapterBundle/blob/master/DataCollector/IvoryHttpAdapterDataCollector.php and https://github.com/misd-service-development/guzzle-bundle/blob/master/DataCollector/GuzzleDataCollector.php\r\n\r\ni think this will also need to use some tags to discover additional clients that are defined as service."},"comment":{"url":"https://api.github.com/repos/php-http/HttplugBundle/issues/comments/165919273","html_url":"https://github.com/php-http/HttplugBundle/issues/3#issuecomment-165919273","issue_url":"https://api.github.com/repos/php-http/HttplugBundle/issues/3","id":165919273,"user":{"login":"sagikazarmark","id":1226384,"avatar_url":"https://avatars.githubusercontent.com/u/1226384?v=3","gravatar_id":"","url":"https://api.github.com/users/sagikazarmark","html_url":"https://github.com/sagikazarmark","followers_url":"https://api.github.com/users/sagikazarmark/followers","following_url":"https://api.github.com/users/sagikazarmark/following{/other_user}","gists_url":"https://api.github.com/users/sagikazarmark/gists{/gist_id}","starred_url":"https://api.github.com/users/sagikazarmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagikazarmark/subscriptions","organizations_url":"https://api.github.com/users/sagikazarmark/orgs","repos_url":"https://api.github.com/users/sagikazarmark/repos","events_url":"https://api.github.com/users/sagikazarmark/events{/privacy}","received_events_url":"https://api.github.com/users/sagikazarmark/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T23:22:22Z","updated_at":"2015-12-18T23:22:22Z","body":"With the History plugin this could easily be done. Another possibility is using AOP to catch all the HttpClient calls. It would be more generic and it would not require to add a plugin.\r\n\r\nhttp://go.aopphp.com/"}}