You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update License Copyright - Add custom propagation info to ReadMe (#6)
* add tracer init to readme
* added build and release features
* fix makefile typo
* can enable shared spans if desired
* add ability to provide custom propagation headers if needed. default to Span-ID, Trace-Id, Parent-ID
* fix lint issue
* fix copywrite in license and add re-org readme
* fix typo
**If there is a Scope, it will act as the parent to any newly started Span** unless the programmer passes
22
-
`ignore_active_span=True` at `start_span()/start_active_span()` time or specified parent context explicitly using
23
-
`childOf=parent_context`
24
-
25
22
Starting a span can be done as a managed resource using `start_active_span()`
26
23
```python
27
24
with opentracing.tracer.start_active_span("span-name") as scope:
@@ -35,7 +32,16 @@ do_stuff()
35
32
span.finish()
36
33
```
37
34
38
-
See opentracing [usage](https://github.com/opentracing/opentracing-python/#usage) for additional information.
35
+
Note: **If there is a Scope, it will act as the parent to any newly started Span** unless the programmer passes
36
+
`ignore_active_span=True` at `start_span()/start_active_span()` time or specified parent context explicitly using
37
+
`childOf=parent_context`
38
+
39
+
#### Custom propagation headers
40
+
If necessary, default propagation headers can be replaced with custom ones by specifying custom propagator options. Register the new propagator with the tracer once configured.
0 commit comments