{"action":"opened","issue":{"url":"https://api.github.com/repos/Netflix/ribbon/issues/238","labels_url":"https://api.github.com/repos/Netflix/ribbon/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/ribbon/issues/238/comments","events_url":"https://api.github.com/repos/Netflix/ribbon/issues/238/events","html_url":"https://github.com/Netflix/ribbon/issues/238","id":98138962,"number":238,"title":"CorrelationId feature","user":{"login":"cforce","id":393286,"avatar_url":"https://avatars.githubusercontent.com/u/393286?v=3","gravatar_id":"","url":"https://api.github.com/users/cforce","html_url":"https://github.com/cforce","followers_url":"https://api.github.com/users/cforce/followers","following_url":"https://api.github.com/users/cforce/following{/other_user}","gists_url":"https://api.github.com/users/cforce/gists{/gist_id}","starred_url":"https://api.github.com/users/cforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cforce/subscriptions","organizations_url":"https://api.github.com/users/cforce/orgs","repos_url":"https://api.github.com/users/cforce/repos","events_url":"https://api.github.com/users/cforce/events{/privacy}","received_events_url":"https://api.github.com/users/cforce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-30T10:45:38Z","updated_at":"2015-07-30T10:45:38Z","closed_at":null,"body":"As proposed by a netflox colleague in https://github.com/Netflix/Hystrix/issues/841#issuecomment-126051006 i add this request here:\r\n\r\nThe idea is to be able to track every request going through the microservices landscape. Therefor every request must get marked by an unqiue id, the correlationId. Furthermore to find out in which order the request choose its way through the microservices we need to increase an counter on every remote call. Every call will write to log (eg. logstash, es) and we can query finding requests with the same correlationd id and order it asc via the counter to see which microservices it passed on its way.\r\nIt would be great if hyxtrix command can be extended to add correleationId (if not already present) to \r\nevery request and increase the counter.\r\n\r\nThe collected data could be be taken to create live depency and tracking view of request. An edge from microservice to microservice will get as more bold as many request flow through this pipe in relation to the ammount of requests all over."}}