diff --git a/sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md b/sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md index d9b2667ef011..476fc1acd4fc 100644 --- a/sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md +++ b/sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.6.0 (2024-06-05) +## 1.6.0 (2024-06-06) ### Features Added diff --git a/sdk/monitor/azure-monitor-opentelemetry/tests/autoinstrumentation/test_configurator.py b/sdk/monitor/azure-monitor-opentelemetry/tests/autoinstrumentation/test_configurator.py index 2eb027fc62d0..d492e290e986 100644 --- a/sdk/monitor/azure-monitor-opentelemetry/tests/autoinstrumentation/test_configurator.py +++ b/sdk/monitor/azure-monitor-opentelemetry/tests/autoinstrumentation/test_configurator.py @@ -29,9 +29,9 @@ def test_configure(self, mock_diagnostics, attach_mock, sampler_mock, super_mock sampler_mock.assert_called_once_with(1.0) super_mock()._configure.assert_called_once_with( auto_instrumentation_version="TEST_VERSION", - trace_exporter_names=["azure-monitor-opentelemetry-exporter"], - metric_exporter_names=["azure-monitor-opentelemetry-exporter"], - log_exporter_names=["azure-monitor-opentelemetry-exporter"], + trace_exporter_names=["azure_monitor_opentelemetry_exporter"], + metric_exporter_names=["azure_monitor_opentelemetry_exporter"], + log_exporter_names=["azure_monitor_opentelemetry_exporter"], sampler="TEST_SAMPLER", ) mock_diagnostics.info.assert_called_once_with( @@ -56,9 +56,9 @@ def test_configure_sampler_arg(self, mock_diagnostics, attach_mock, sampler_mock sampler_mock.assert_called_once_with(0.5) super_mock()._configure.assert_called_once_with( auto_instrumentation_version="TEST_VERSION", - trace_exporter_names=["azure-monitor-opentelemetry-exporter"], - metric_exporter_names=["azure-monitor-opentelemetry-exporter"], - log_exporter_names=["azure-monitor-opentelemetry-exporter"], + trace_exporter_names=["azure_monitor_opentelemetry_exporter"], + metric_exporter_names=["azure_monitor_opentelemetry_exporter"], + log_exporter_names=["azure_monitor_opentelemetry_exporter"], sampler="TEST_SAMPLER", ) mock_diagnostics.info.assert_called_once_with( @@ -80,9 +80,9 @@ def test_configure_preview(self, mock_diagnostics, attach_mock, sampler_mock, su configurator._configure() sampler_mock.assert_called_once_with(1.0) super_mock()._configure.assert_called_once_with( - trace_exporter_names=["azure-monitor-opentelemetry-exporter"], - metric_exporter_names=["azure-monitor-opentelemetry-exporter"], - log_exporter_names=["azure-monitor-opentelemetry-exporter"], + trace_exporter_names=["azure_monitor_opentelemetry_exporter"], + metric_exporter_names=["azure_monitor_opentelemetry_exporter"], + log_exporter_names=["azure_monitor_opentelemetry_exporter"], sampler="TEST_SAMPLER", ) mock_diagnostics.info.assert_called_once_with(