OpenTelemetry Python API and SDK
APACHE-2.0 License
Bot releases are hidden (Show)
Published by lzchen over 3 years ago
py.typed
file to every package. This should resolve a bunch of mypySpanKind
to should_sample
parameters, suggest using parent span context's tracestateshould_sample
(#1764)B3Format
propagator to be spec compliant by not modifying context__contains__
to opentelementry.trace.span.TraceState
. (#1773)opentelemetry-opentracing-shim
Fix an issue in the shim where a Span was being wrappedPublished by codeboten over 3 years ago
This release adds the experimental metrics API/SDK and will include the following packages:
opentelemetry-exporter-prometheus
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-exporter-otlp
Published by codeboten over 3 years ago
opentelemetry-ext-
max_attr_value_length
support to Jaeger exporteruse_span
from Tracer to opentelemetry.trace.use_span
.opentelemetry.trace.use_span()
will now overwrite previously set status on span in case anset_status_on_exception
is set to True
.udp_split_oversized_batches
support to jaeger exporterservice_name
from constructor of jaeger and opencensus exporters andOTEL_PYTHON_SERVICE_NAME
IdsGenerator
to IdGenerator
create_empty
to get_empty
BatchExportSpanProcessor
to BatchSpanProcessor
and SimpleExportSpanProcessor
toSimpleSpanProcessor
DefaultSpan
to NonRecordingSpan
OTEL_TRACES_EXPORTER
env var set to otlp
Getter
, Setter
and TextMapPropagator
out of opentelemetry.trace.propagation
andopentelemetry.propagators
BaggagePropagator
to W3CBaggagePropagator
JaegerSpanExporter
to JaegerExporter
and rename ZipkinSpanExporter
to ZipkinExporter
StatusCode
from the opentelemetry.trace
moduledescription
when status_code
is set to StatusCode.ERROR
0.7.0
opentelemetry-exporter-jaeger
package into opentelemetry-exporter-jaeger-proto-grpc
andopentelemetry-exporter-jaeger-thrift
packages to reduce dependencies for each one.opentelemetry-exporter-otlp-proto-grpc
and changed opentelemetry-exporter-otlp
toOTEL_TRACES_EXPORTER
resulting in an erroropentelemetry-exporter-zipkin-json
andopentelemetry-exporter-zipkin-proto-http
packages to reduce dependencies. Theopentelemetry-exporter-zipkin
installs both.get_hexadecimal_trace_id
and get_hexadecimal_span_id
methods.OTEL_EXPORTER_*_ INSECURE
env varservice_name
from constructor of jaeger and opencensus exporters andOTEL_PYTHON_SERVICE_NAME
IdsGenerator
to IdGenerator
Published by lzchen over 3 years ago
Release only affects Opentelemetry components listed below:
opentelemetry-distro
opentelemetry-exporter-opencensus
opentelemetry-instrumentation
opentelemetry-opentracing-shim
Published by lzchen over 3 years ago
Release only affects core Opentelemetry components listed below:
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp
opentelemetry-exporter-jaeger
opentelemetry-exporter-zipkin
opentelemetry-proto
opentelemetry-propagator-b3
opentelemetry-propagator-jaeger
TRACE_
to TRACES_
for environment variables (#1595])end_on_exit
argument to start_as_current_span
(#1519])Span.set_attributes
method to set multiple values with one call (#1520)Published by codeboten over 3 years ago
fields
to propagators (#1374)None
for DictGetter
if key not found (#1449)opentelemetry-instrumentation
package. Theopentelemetry-sdk
package now registers an entrypoint opentelemetry_configurator
opentelemetry-instrument
to load the configuration for the SDK (#1420)opentelemetry-exporter-zipkin
Add support for array attributes in Span and Resource exports (#1285)__repr__
for DefaultSpan
, added trace_flags
to __repr__
ofSpanContext
(#1485])opentelemetry-sdk
Add support for OTEL_TRACE_SAMPLER and OTEL_TRACE_SAMPLER_ARG env variables (#1496)opentelemetry-distro
package to add default configuration foropentelemetry-exporter-zipkin
Updated zipkin exporter status code and error tag (#1486)start_as_current_span
-decorated function (#1451)opentelemetry-exporter-otlp
Headers are now passed in as tuple as metadata, instead of aopentelemetry-exporter-jaeger
Updated Jaeger exporter status code tag (#1488)opentelemetry-api
opentelemety-sdk
Moved idsgenerator
into sdk (#1514)opentelemetry-sdk
The B3Format propagator has been moved into its own package: opentelemetry-propagator-b3
(#1513)opentelemetry-exporter-zipkin
Update boolean attribute value transformation (#1509)opentelemetry-sdk
The JaegerPropagator has been moved into its own package: opentelemetry-propagator-jaeger
(#1525)opentelemetry-exporter-jaeger
, opentelemetry-exporter-zipkin
Update InstrumentationInfo tag keys for Jaeger and Zipkin exporters (#1535)opentelemetry-sdk
Remove rate property setter from TraceIdRatioBasedSampler (#1536)opentelemetry-api
Remove ThreadLocalRuntimeContext since python3.4 is not supported. (#1482)Published by codeboten almost 4 years ago
Published by codeboten almost 4 years ago
One major change done as part of this release was to move the instrumentation out of the core repo and into the contrib repo. This change should not impact users of the published packages, but the release notes for instrumentation packages will now be available in the contrib repo.
🚀 Enhancements
record_exception
method (#1314)🚀 Enhancements
OTEL_EXPORTER
to the opentelemetry-instrument
command (#1036)💥 Breaking Changes
💥 Breaking Changes
MetricRecord
class to ExportRecord
(#1367)Record
class to Accumulation
(#1373)Meter
class to Accumulator
(#1372)🚀 Enhancements)
Add optional parameter to record_exception
method (#1314)
Update exception handling optional parameters, add escaped attribute to record_exception (#1365)
ParentBased
sampler for implicit parent spans. Fix also trace_state
erasure for dropped spans or spans sampled by the TraceIdRatioBased
sampler. (#1394)🚀 Enhancements
💥 Breaking Changes
🚀 Enhancements
🚀 Enhancements
Published by codeboten almost 4 years ago
💥 Breaking Changes
🚀 Enhancements
💥 Breaking Changes
🚀 Enhancements
SpanProcessor.on_start
accept parent Context (#1251)🚀 Enhancements
SpanProcessor.on_start
accept parent Context (#1251)🚀 Enhancements
🚀 Enhancements
🚀 Enhancements
OTEL_PYTHON_DJANGO_INSTRUMENT
to False
(#1239)🚀 Enhancements
url.rule
instead of request.endpoint
for span name (#1260)🚀 Enhancements
🚀 Enhancements
Published by lzchen about 4 years ago
💥 Breaking Changes
🚀 Enhancements
OTEL_PROPAGATORS
(#1123)int
s as int
s in the global Configuration objectIdsGenerator
for TracerProvider (#1153)💥 Breaking Changes
🚀 Enhancements
OTEL_BSP_MAX_QUEUE_SIZE
, OTEL_BSP_SCHEDULE_DELAY_MILLIS
, OTEL_BSP_MAX_EXPORT_BATCH_SIZE
and OTEL_BSP_EXPORT_TIMEOUT_MILLIS
environment variables (#1105)IdsGenerator
for TracerProvider (#1153)start_as_current_span
and use_span
can now optionally auto-record any exceptions raised inside the context manager. (#1162)🚀 Enhancements
💥 Breaking Changes
🚀 Enhancements
🚀 Enhancements
max_tag_value_length
attribute to customize the maximum allowed size a tag value can have. (#1151)🚀 Enhancements
🚀 Enhancements
OTEL_PYTHON_DJANGO_TRACED_REQUEST_ATTRS
(#1154)🚀 Enhancements
OTEL_PYTHON_FALCON_TRACED_REQUEST_ATTRS
(#1158)🚀 Enhancements
🐛 Bug Fixes
🚀 Enhancements
OTEL_PYTHON_TORNADO_TRACED_REQUEST_ATTRS
(#1178)🚀 Enhancements
🐛 Bug Fixes
Published by codeboten about 4 years ago
The 0.13b0 version officially drops support for Python 3.4 (#1099)
💥 Breaking Changes
SpanContext.is_valid
from a method to a data attribute (#1005)get_global_httptextformat
and set_global_httptextformat
to get_global_textmap
and set_global_textmap
(#1085)🐛 Bug Fixes
correlationcontext.get_correlations
to immutable MappingProxyType
(#1024)💥 Breaking Changes
trace.sampling.Decision
enum (#1115)🚀 Enhancements
🐛 Bug Fixes
🚀 Enhancements
🚀 Enhancements
🚀 Enhancements
url
argument to replace host_name
, port
, protocol
, endpoint
. This brings this implementation inline with other implementations. (#1064)🚀 Enhancements
🐛 Bug Fixes
🚀 Enhancements
🚀 Enhancements
Published by lzchen about 4 years ago
vBeta v12 release.
Change package names from "ext" to "exporter" (#953)
opentelemetry-ext-datadog -> opentelemetry-exporter-datadog
opentelemetry-ext-jaeger-> opentelemetry-exporter-jaeger
opentelemetry-ext-opencensusexporter-> opentelemetry-exporter-opencensus
opentelemetry-ext-otlp-> opentelemetry-exporter-otlp
opentelemetry-ext-prometheus-> opentelemetry-exporter-prometheus
opentelemetry-ext-zipkin-> opentelemetry-exporter-zipkin
Change package names from "ext" to "instrumentation" (#961, #966, #969)
opentelemetry-ext-aiohttp-client-> opentelemetry-instrumentation-aiohttp-client
opentelemetry-ext-asgi-> opentelemetry-instrumentation-asgi
opentelemetry-ext-asyncpg-> opentelemetry-instrumentation-asyncpg
opentelemetry-ext-boto-> opentelemetry-instrumentation-boto
opentelemetry-ext-botocore-> opentelemetry-instrumentation-botocore
opentelemetry-ext-celery-> opentelemetry-instrumentation-celery
opentelemetry-ext-dbapi-> opentelemetry-instrumentation-dbapi
opentelemetry-ext-django-> opentelemetry-instrumentation-django
opentelemetry-ext-elasticsearch-> opentelemetry-instrumentation-elasticsearch
opentelemetry-ext-flask-> opentelemetry-instrumentation-flask
opentelemetry-ext-grpc-> opentelemetry-instrumentation-grpc
opentelemetry-ext-jinja2-> opentelemetry-instrumentation-jinja2
opentelemetry-ext-mysql-> opentelemetry-instrumentation-mysql
opentelemetry-ext-opentracing-shim-> opentelemetry-instrumentation-opentracing-shim
opentelemetry-ext-psycopg2-> opentelemetry-instrumentation-psycopg2
opentelemetry-ext-pymemcache-> opentelemetry-instrumentation-pymemcache
opentelemetry-ext-pymongo-> opentelemetry-instrumentation-pymongo
opentelemetry-ext-pymysql-> opentelemetry-instrumentation-pymysql
opentelemetry-ext-pyramid-> opentelemetry-instrumentation-pyramid
opentelemetry-ext-redis-> opentelemetry-instrumentation-redis
opentelemetry-ext-requests-> opentelemetry-instrumentation-requests
opentelemetry-ext-sqlalchemy-> opentelemetry-instrumentation-sqlalchemy
opentelemetry-ext-sqlite3-> opentelemetry-instrumentation-sqlite3
opentelemetry-ext-system-metrics-> opentelemetry-instrumentation-system-metrics
opentelemetry-ext-wsgi-> opentelemetry-instrumentation-wsgi
OPENTELEMETRY
to OTEL
(#904)ParentOrElse(AlwaysOn)
(#960)OPENTELEMETRY
to OTEL
(#904)OPENTELEMETRY
to OTEL
(#904)OPENTELEMETRY
to OTEL
(#904)OPENTELEMETRY
to OTEL
(#904)OPENTELEMETRY
to OTEL
(#904)SpanKind.CLIENT
(#965)Published by codeboten about 4 years ago
Beta v11 release.
Published by lzchen over 4 years ago
Beta v10 release.
Published by codeboten over 4 years ago
Beta v9 release.
opentelemetry-auto-instrumentation
to opentelemetry-instrument
Published by codeboten over 4 years ago
Beta v8 release.
Published by codeboten over 4 years ago
Beta v7 release.
Published by c24t over 4 years ago
Beta v6 release.
Documentation continues to see large improvements, including re-organizing the examples to make them more discoverable.
READMEs and the getting started guide also have some corrections.
Published by toumorokoshi over 4 years ago
Beta v5 release
Documentation has been significantly overhauled and is available on readthedocs:
https://opentelemetry-python.readthedocs.io/en/v0.5.0/
Documentation improvements include:
Initial release. Support is included for both trace and metrics.
Published by c24t over 4 years ago
Documentation release, see https://opentelemetry-python.readthedocs.io/en/v0.4.1.