File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
aws-opentelemetry-distro/tests/amazon/opentelemetry/distro Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 4747from amazon .opentelemetry .distro .aws_span_metrics_processor import AwsSpanMetricsProcessor
4848from amazon .opentelemetry .distro .exporter .aws .metrics .aws_cloudwatch_emf_exporter import AwsCloudWatchEmfExporter
4949from amazon .opentelemetry .distro .exporter .otlp .aws .common .aws_auth_session import AwsAuthSession
50+ from amazon .opentelemetry .distro .exporter .otlp .aws .logs .aws_batch_log_record_processor import (
51+ AwsCloudWatchOtlpBatchLogRecordProcessor ,
52+ )
5053from amazon .opentelemetry .distro .exporter .otlp .aws .logs .otlp_aws_logs_exporter import OTLPAwsLogExporter
5154from amazon .opentelemetry .distro .exporter .otlp .aws .traces .otlp_aws_span_exporter import OTLPAwsSpanExporter
5255from amazon .opentelemetry .distro .otlp_udp_exporter import OTLPUdpSpanExporter
@@ -1014,12 +1017,6 @@ def test_validate_and_fetch_logs_header(self):
10141017 @patch ("amazon.opentelemetry.distro.aws_opentelemetry_configurator._is_aws_otlp_endpoint" )
10151018 def test_customize_log_record_processor_with_agent_observability (self , mock_is_aws_endpoint , mock_is_agent_enabled ):
10161019 """Test that AwsCloudWatchOtlpBatchLogRecordProcessor is used when agent observability is enabled and endpoint is logs endpoint"""
1017- from amazon .opentelemetry .distro .exporter .otlp .aws .logs .aws_batch_log_record_processor import (
1018- AwsCloudWatchOtlpBatchLogRecordProcessor ,
1019- )
1020- from amazon .opentelemetry .distro .exporter .otlp .aws .logs .otlp_aws_logs_exporter import OTLPAwsLogExporter
1021- from opentelemetry .sdk ._logs .export import BatchLogRecordProcessor
1022-
10231020 # Mock the OTLPAwsLogExporter
10241021 mock_exporter = MagicMock (spec = OTLPAwsLogExporter )
10251022
You can’t perform that action at this time.
0 commit comments