From 0572d8e67880160315412a641ea122490ae838c1 Mon Sep 17 00:00:00 2001 From: Leighton Chen Date: Tue, 2 Mar 2021 16:17:48 -0800 Subject: [PATCH 1/2] spa --- CHANGELOG.md | 3 +++ docs/examples/opentracing/main.py | 4 ++-- docs/getting_started/jaeger_example.py | 2 +- exporter/opentelemetry-exporter-jaeger/README.rst | 2 +- .../examples/jaeger_exporter_example.py | 8 ++++---- exporter/opentelemetry-exporter-jaeger/setup.cfg | 2 +- .../src/opentelemetry/exporter/jaeger/__init__.py | 6 +++--- .../tests/test_jaeger_exporter_protobuf.py | 6 +++--- .../tests/test_jaeger_exporter_thrift.py | 10 +++++----- exporter/opentelemetry-exporter-zipkin/setup.cfg | 2 +- .../src/opentelemetry/exporter/zipkin/__init__.py | 6 +++--- .../tests/test_zipkin_exporter.py | 14 +++++++------- 12 files changed, 34 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7fcb83e20a..5792b1e5901 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#1656])(https://github.com/open-telemetry/opentelemetry-python/pull/1656) - Rename `DefaultSpan` to `NonRecordingSpan` ([#1661])(https://github.com/open-telemetry/opentelemetry-python/pull/1661) +- Rename `JaegerSpanExporter` to `JaegerExporter` +- Rename `ZipkinSpanExporter` to `ZipkinExporter` + ([#1651])(https://github.com/open-telemetry/opentelemetry-python/pull/1651) ## [0.18b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v0.18b0) - 2021-02-16 diff --git a/docs/examples/opentracing/main.py b/docs/examples/opentracing/main.py index f997801aaa5..df5626b043f 100755 --- a/docs/examples/opentracing/main.py +++ b/docs/examples/opentracing/main.py @@ -3,7 +3,7 @@ from rediscache import RedisCache from opentelemetry import trace -from opentelemetry.exporter.jaeger import JaegerSpanExporter +from opentelemetry.exporter.jaeger import JaegerExporter from opentelemetry.sdk.trace import TracerProvider from opentelemetry.sdk.trace.export import SimpleSpanProcessor from opentelemetry.shim import opentracing_shim @@ -13,7 +13,7 @@ tracer_provider = trace.get_tracer_provider() # Configure the tracer to export traces to Jaeger -jaeger_exporter = JaegerSpanExporter( +jaeger_exporter = JaegerExporter( service_name="OpenTracing Shim Example", agent_host_name="localhost", agent_port=6831, diff --git a/docs/getting_started/jaeger_example.py b/docs/getting_started/jaeger_example.py index 0494333d2cf..79b22c5e770 100644 --- a/docs/getting_started/jaeger_example.py +++ b/docs/getting_started/jaeger_example.py @@ -20,7 +20,7 @@ trace.set_tracer_provider(TracerProvider()) -jaeger_exporter = jaeger.JaegerSpanExporter( +jaeger_exporter = jaeger.JaegerExporter( service_name="my-helloworld-service", agent_host_name="localhost", agent_port=6831, diff --git a/exporter/opentelemetry-exporter-jaeger/README.rst b/exporter/opentelemetry-exporter-jaeger/README.rst index 67798395a3f..2176b2a71d0 100644 --- a/exporter/opentelemetry-exporter-jaeger/README.rst +++ b/exporter/opentelemetry-exporter-jaeger/README.rst @@ -22,7 +22,7 @@ Installation Configuration ------------- -OpenTelemetry Jaeger Exporter can be configured by setting `JaegerSpanExporter parameters +OpenTelemetry Jaeger Exporter can be configured by setting `JaegerExporter parameters `_ or by setting `environment variables Date: Tue, 2 Mar 2021 16:26:54 -0800 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5792b1e5901..d9c48826ad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#1661])(https://github.com/open-telemetry/opentelemetry-python/pull/1661) - Rename `JaegerSpanExporter` to `JaegerExporter` - Rename `ZipkinSpanExporter` to `ZipkinExporter` - ([#1651])(https://github.com/open-telemetry/opentelemetry-python/pull/1651) + ([#1664])(https://github.com/open-telemetry/opentelemetry-python/pull/1664) ## [0.18b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v0.18b0) - 2021-02-16