Commit 262f04f
Version bump for 0.5.dev0 on master (open-telemetry#443)
Rename TracerSource to TracerProvider (open-telemetry#441)
Following discussion in open-telemetry#434, align the name with the specification.
Co-authored-by: Chris Kleinknecht <[email protected]>
Fix new ext READMEs (open-telemetry#444)
Some of the new ext packages had ReStructuredText errors. PyPI rejected the uploads for these packages with:
HTTPError: 400 Client Error: The description failed to render for 'text/x-rst'. See https://pypi.org/help/#description-content-type for more information. for url: https://upload.pypi.org/legacy/
Adding attach/detach methods as per spec (open-telemetry#429)
This change updates the Context API with the following:
- removes the remove_value method
- removes the set_current method
- adds attach and detach methods
Fixes open-telemetry#420
Co-authored-by: Chris Kleinknecht <[email protected]>
Make Counter and MinMaxSumCount aggregators thread safe (open-telemetry#439)
OT Collector trace exporter (open-telemetry#405)
Based on the OpenCensus agent exporter.
Fixes open-telemetry#343
Co-authored-by: Chris Kleinknecht <[email protected]>
API: Renaming TraceOptions to TraceFlags (open-telemetry#450)
Renaming TraceOptions to TraceFlags, which is the term used to describe the
flags associated with the trace in the OpenTelemetry specification.
Closes open-telemetry#434
api: Implement "named" meters + Remove "Batcher" from Meter constructor (open-telemetry#431)
Implements open-telemetry#221.
Also fixes open-telemetry#394.
Stateful.py and stateless.py in metrics example folder are not changed to use the new loader in anticipation of open-telemetry#422 being merged first and removing them.
Lastly, moves InstrumentationInfo from trace.py in the sdk to utils.
Prepare to host on readthedocs.org (open-telemetry#452)
sdk: Implement observer instrument (open-telemetry#425)
Observer instruments are used to capture a current set of values at a point in
time [1].
This commit extends the Meter interface to allow to register an observer
instrument by pasing a callback that will be executed at collection time.
The logic inside collection is updated to consider these instruments and
a new ObserverAggregator is implemented.
[1] https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/api-metrics.md#observer-instruments
sdk: fix ConsoleSpanExporter (open-telemetry#455)
19d573a ("Add io and formatter options to console exporter (open-telemetry#412)")
changed the way spans are printed by using write() instead of print().
In Python 3.x sys.stdout is line-buffered, so the spans were not being printed
to the console at the right timing.
This commit fixes that by adding an explicit flush() call at the end of the
export function , it also changes the default formatter to include a line break.
To be precise, only one of the changes was needed to solve the problem, but as
a matter of completness both are included, i.e, to handle the case where the
formatter chosen by the user doesn't append a line break.
jaeger: Usage README Update for opentelemetry-ext-jaeger (open-telemetry#459)
Usage docs for opentelemetry-ext-jaeger need to be updated after the change to `TracerSource` with v0.4. Looks like it was partially updated already.
Users following the usage docs will currently run into this error:
`AttributeError: 'Tracer' object has no attribute 'add_span_processor'`
api: Implementing Propagators API to use Context (open-telemetry#446)
Implementing Propagators API to use Context.
Moving tracecontexthttptextformat to trace/propagation, as TraceContext is specific to trace rather that broader context propagation.
Using attach/detach for wsgi and flask extensions, enabling activation of the full context rather that activating of a sub component such as traces.
Adding a composite propagator.
Co-authored-by: Mauricio Vásquez <[email protected]>1 parent 8e79c3f commit 262f04f
File tree
122 files changed
+2869
-1433
lines changed- docs
- examples
- basic_tracer
- docker
- http
- metrics
- opentelemetry-example-app
- src/opentelemetry_example_app
- tests
- opentracing
- ext
- opentelemetry-ext-dbapi
- src/opentelemetry/ext/dbapi
- opentelemetry-ext-docker-tests/tests/pymongo
- opentelemetry-ext-flask/src/opentelemetry/ext/flask
- opentelemetry-ext-http-requests
- src/opentelemetry/ext/http_requests
- tests
- opentelemetry-ext-jaeger
- examples
- src/opentelemetry/ext/jaeger
- opentelemetry-ext-mysql
- src/opentelemetry/ext/mysql
- opentelemetry-ext-opentracing-shim
- src/opentelemetry/ext/opentracing_shim
- tests
- opentelemetry-ext-otcollector
- src/opentelemetry/ext/otcollector
- trace_exporter
- tests
- opentelemetry-ext-prometheus
- src/opentelemetry/ext/prometheus
- tests
- opentelemetry-ext-psycopg2
- src/opentelemetry/ext/psycopg2
- opentelemetry-ext-pymongo
- src/opentelemetry/ext/pymongo
- opentelemetry-ext-testutil/src/opentelemetry/ext/testutil
- opentelemetry-ext-wsgi/src/opentelemetry/ext/wsgi
- opentelemetry-ext-zipkin
- src/opentelemetry/ext/zipkin
- tests
- opentelemetry-api
- src/opentelemetry
- context
- propagation
- distributedcontext
- propagation
- metrics
- propagators
- trace
- propagation
- util
- tests
- context
- metrics
- propagators
- trace
- propagation
- opentelemetry-sdk
- src/opentelemetry/sdk
- context/propagation
- metrics
- export
- trace
- export
- util
- tests
- context
- propagation
- metrics
- export
- trace
- export
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
122 files changed
+2869
-1433
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
77 | | - | |
| 77 | + | |
| 78 | + | |
78 | 79 | | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
56 | 76 | | |
57 | 77 | | |
58 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
34 | 44 | | |
| 45 | + | |
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
38 | 49 | | |
39 | | - | |
| 50 | + | |
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
| |||
46 | 57 | | |
47 | 58 | | |
48 | 59 | | |
49 | | - | |
| 60 | + | |
50 | 61 | | |
51 | 62 | | |
52 | 63 | | |
| |||
0 commit comments