Skip to content

Commit fc77123

Browse files
committed
linting fix
1 parent 726a9a8 commit fc77123

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
AwsMetricAttributesSpanExporterBuilder,
2424
)
2525
from amazon.opentelemetry.distro.aws_span_metrics_processor_builder import AwsSpanMetricsProcessorBuilder
26+
27+
# pylint: disable=line-too-long
2628
from amazon.opentelemetry.distro.exporter.otlp.aws.logs._aws_cw_otlp_batch_log_record_processor import (
2729
AwsCloudWatchOtlpBatchLogRecordProcessor,
2830
)

aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_opentelementry_configurator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
from amazon.opentelemetry.distro.aws_span_metrics_processor import AwsSpanMetricsProcessor
4848
from amazon.opentelemetry.distro.exporter.aws.metrics.aws_cloudwatch_emf_exporter import AwsCloudWatchEmfExporter
4949
from amazon.opentelemetry.distro.exporter.otlp.aws.common.aws_auth_session import AwsAuthSession
50+
51+
# pylint: disable=line-too-long
5052
from amazon.opentelemetry.distro.exporter.otlp.aws.logs._aws_cw_otlp_batch_log_record_processor import (
5153
AwsCloudWatchOtlpBatchLogRecordProcessor,
5254
)
@@ -1016,7 +1018,7 @@ def test_validate_and_fetch_logs_header(self):
10161018
@patch("amazon.opentelemetry.distro.aws_opentelemetry_configurator.is_agent_observability_enabled")
10171019
@patch("amazon.opentelemetry.distro.aws_opentelemetry_configurator._is_aws_otlp_endpoint")
10181020
def test_customize_log_record_processor_with_agent_observability(self, mock_is_aws_endpoint, mock_is_agent_enabled):
1019-
"""Test that AwsCloudWatchOtlpBatchLogRecordProcessor is used when agent observability is enabled and endpoint is logs endpoint"""
1021+
"""Test that AwsCloudWatchOtlpBatchLogRecordProcessor is used when agent observability is enabled"""
10201022
# Mock the OTLPAwsLogExporter
10211023
mock_exporter = MagicMock(spec=OTLPAwsLogExporter)
10221024

0 commit comments

Comments
 (0)