{"action":"created","issue":{"url":"https://api.github.com/repos/opentracing-contrib/python-django/issues/17","repository_url":"https://api.github.com/repos/opentracing-contrib/python-django","labels_url":"https://api.github.com/repos/opentracing-contrib/python-django/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/opentracing-contrib/python-django/issues/17/comments","events_url":"https://api.github.com/repos/opentracing-contrib/python-django/issues/17/events","html_url":"https://github.com/opentracing-contrib/python-django/issues/17","id":289281890,"number":17,"title":"Example of setting up tracer without lightstep?","user":{"login":"viperfx","id":328257,"avatar_url":"https://avatars1.githubusercontent.com/u/328257?v=4","gravatar_id":"","url":"https://api.github.com/users/viperfx","html_url":"https://github.com/viperfx","followers_url":"https://api.github.com/users/viperfx/followers","following_url":"https://api.github.com/users/viperfx/following{/other_user}","gists_url":"https://api.github.com/users/viperfx/gists{/gist_id}","starred_url":"https://api.github.com/users/viperfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viperfx/subscriptions","organizations_url":"https://api.github.com/users/viperfx/orgs","repos_url":"https://api.github.com/users/viperfx/repos","events_url":"https://api.github.com/users/viperfx/events{/privacy}","received_events_url":"https://api.github.com/users/viperfx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-17T14:19:10Z","updated_at":"2018-03-07T14:25:17Z","closed_at":null,"author_association":"NONE","body":"How do I configure a trace and connect it to a local docker container let's say, exposed at localhost.\r\n\r\nHow would I change settings.py to connect to the default Jaeger docker image?"},"comment":{"url":"https://api.github.com/repos/opentracing-contrib/python-django/issues/comments/371154040","html_url":"https://github.com/opentracing-contrib/python-django/issues/17#issuecomment-371154040","issue_url":"https://api.github.com/repos/opentracing-contrib/python-django/issues/17","id":371154040,"user":{"login":"elnappo","id":480385,"avatar_url":"https://avatars1.githubusercontent.com/u/480385?v=4","gravatar_id":"","url":"https://api.github.com/users/elnappo","html_url":"https://github.com/elnappo","followers_url":"https://api.github.com/users/elnappo/followers","following_url":"https://api.github.com/users/elnappo/following{/other_user}","gists_url":"https://api.github.com/users/elnappo/gists{/gist_id}","starred_url":"https://api.github.com/users/elnappo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elnappo/subscriptions","organizations_url":"https://api.github.com/users/elnappo/orgs","repos_url":"https://api.github.com/users/elnappo/repos","events_url":"https://api.github.com/users/elnappo/events{/privacy}","received_events_url":"https://api.github.com/users/elnappo/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T14:25:17Z","updated_at":"2018-03-07T14:25:17Z","author_association":"NONE","body":"I could not confirm this because I'm using python3 only but this could work in `settings.py`:\r\n```\r\ndef initialize_tracer():\r\n  config = Config(\r\n      config={\r\n          'sampler': {'type': 'const', 'param': 1}\r\n      },\r\n      service_name='hello-world')\r\n  return config.initialize_tracer()\r\n\r\nOPENTRACING_TRACE_ALL = True \r\nOPENTRACING_TRACED_ATTRIBUTES = ['META']\r\n\r\nOPENTRACING_TRACER = django_opentracing.DjangoTracer(initialize_tracer())\r\n```"}}
{"actor":{"display_login":"elnappo"}}