{"action":"opened","issue":{"url":"https://api.github.com/repos/jaegertracing/jaeger/issues/832","repository_url":"https://api.github.com/repos/jaegertracing/jaeger","labels_url":"https://api.github.com/repos/jaegertracing/jaeger/issues/832/labels{/name}","comments_url":"https://api.github.com/repos/jaegertracing/jaeger/issues/832/comments","events_url":"https://api.github.com/repos/jaegertracing/jaeger/issues/832/events","html_url":"https://github.com/jaegertracing/jaeger/issues/832","id":324253577,"number":832,"title":"How sampler.type=remote works","user":{"login":"xihw","id":33913187,"avatar_url":"https://avatars2.githubusercontent.com/u/33913187?v=4","gravatar_id":"","url":"https://api.github.com/users/xihw","html_url":"https://github.com/xihw","followers_url":"https://api.github.com/users/xihw/followers","following_url":"https://api.github.com/users/xihw/following{/other_user}","gists_url":"https://api.github.com/users/xihw/gists{/gist_id}","starred_url":"https://api.github.com/users/xihw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xihw/subscriptions","organizations_url":"https://api.github.com/users/xihw/orgs","repos_url":"https://api.github.com/users/xihw/repos","events_url":"https://api.github.com/users/xihw/events{/privacy}","received_events_url":"https://api.github.com/users/xihw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-18T02:57:27Z","updated_at":"2018-05-18T02:57:27Z","closed_at":null,"author_association":"NONE","body":"\" Remote (sampler.type=remote, which is also the default) sampler consults Jaeger agent for the appropriate sampling strategy to use in the current service. This allows controlling the sampling strategies in the services from a central configuration in Jaeger backend, or even dynamically (see Adaptive Sampling). \"\r\n\r\nThis is excerpted from Jaeger Doc and it looks pretty confusing to me. Can you help me to understand it?\r\n\r\n1. \"consults Jaeger agent for the appropriate sampling strategy\" -- As I know there are two places to configure sampling rate: jaeger-client and jaeger-collector. How come \"consults Jaeger agent\" ?\r\n\r\n2. \"This allows controlling the sampling strategies in the services from a central configuration in Jaeger backend\" -- Does \"a central configuration in Jaeger backend\" mean jaeger-collector ?\r\n\r\n3. What if we use zipkin-client + jaeger backend (jaeger-collector + jaeger-ui + storage) ? In this case we don't have jaeger-agent running, how the \"remote consulting\" work ?\r\n\r\n4. A follow-up question on 3. Without jaeger-agent, how is batch handled ? According to zipkin's doc: https://zipkin.io/pages/architecture.html, I interpret \"Transport\" as \"jaeger-agent\", in zipkin-client + jaeger backend scenario, do we discard \"Transport\" ?"}}
{"actor":{"display_login":"xihw"}}