From fa030c6939340e82c6dd9cc4cdb980cd5ad4e796 Mon Sep 17 00:00:00 2001 From: Zhonghao Zhao Date: Tue, 9 Jan 2024 14:29:59 -0800 Subject: [PATCH] fix. --- .pylintrc | 2 +- .../opentelemetry/distro/aws_opentelemetry_configurator.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 014d26c10..ac66fdbfb 100644 --- a/.pylintrc +++ b/.pylintrc @@ -81,7 +81,7 @@ disable=missing-docstring, missing-module-docstring, # temp-pylint-upgrade import-error, # needed as a workaround as reported here: https://github.com/open-telemetry/opentelemetry-python-contrib/issues/290 cyclic-import, - E0611, + E0611, # disabled since pylint use wrong path because of project folder structure divergence # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py b/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py index 91e5545c9..dd04588fd 100644 --- a/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py +++ b/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py @@ -6,9 +6,10 @@ from opentelemetry.trace import set_tracer_provider +# pylint: disable=W0246 class AwsTracerProvider(TracerProvider): def __init__(self): - pass + super(AwsTracerProvider, self).__init__() # TODO: # 1. Add SpanMetricsProcessor to generate AppSignal metrics from spans and exports them # 2. Add AttributePropagatingSpanProcessor to propagate span attributes from parent to child