spelling
This commit is contained in:
Родитель
5a53e49022
Коммит
1f8851ec0e
|
@ -4,6 +4,8 @@
|
|||
|
||||
- Update samples
|
||||
([#281](https://github.com/microsoft/ApplicationInsights-Python/pull/281))
|
||||
- Fixed spelling
|
||||
([#291](https://github.com/microsoft/ApplicationInsights-Python/pull/291))
|
||||
|
||||
## [1.0.0b12](https://github.com/microsoft/ApplicationInsights-Python/releases/tag/v1.0.0b12) - 2023-05-05
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ def _setup_instrumentations():
|
|||
instrumentor().instrument(skip_dep_check=True)
|
||||
except Exception as ex:
|
||||
_logger.warning(
|
||||
"Exception occured when instrumenting: %s.",
|
||||
"Exception occurred when instrumenting: %s.",
|
||||
lib_name,
|
||||
exc_info=ex,
|
||||
)
|
||||
|
|
|
@ -34,7 +34,7 @@ class AzureMonitorDistro(BaseDistro):
|
|||
_configure_auto_instrumentation()
|
||||
except Exception as ex:
|
||||
_logger.exception(
|
||||
("Error occured auto-instrumenting AzureMonitorDistro")
|
||||
("Error occurred auto-instrumenting AzureMonitorDistro")
|
||||
)
|
||||
raise ex
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ configure_azure_monitor()
|
|||
|
||||
engine = create_engine("sqlite:///:memory:")
|
||||
# SQLAlchemy instrumentation is not officially supported by this package
|
||||
# However, you can use the OpenTelemetry instument method manually in
|
||||
# However, you can use the OpenTelemetry instrument method manually in
|
||||
# conjunction with configure_azure_monitor
|
||||
SQLAlchemyInstrumentor().instrument(
|
||||
engine=engine,
|
||||
|
|
|
@ -10,7 +10,7 @@ class TestDistro(TestCase):
|
|||
@patch(
|
||||
"azure.monitor.opentelemetry.autoinstrumentation._distro.AzureDiagnosticLogging.enable"
|
||||
)
|
||||
# TODO: Enabled when duplciate logging issue is solved
|
||||
# TODO: Enabled when duplicate logging issue is solved
|
||||
# @patch(
|
||||
# "azure.monitor.opentelemetry.autoinstrumentation._diagnostic_logging._EXPORTER_DIAGNOSTICS_ENABLED",
|
||||
# False,
|
||||
|
|
|
@ -47,7 +47,7 @@ class TestConstants(TestCase):
|
|||
reload(_constants)
|
||||
self.assertEqual(_constants._CUSTOMER_IKEY, "unknown")
|
||||
|
||||
# TODO: Enabled when duplciate logging issue is solved
|
||||
# TODO: Enabled when duplicate logging issue is solved
|
||||
# @patch.dict(
|
||||
# "os.environ",
|
||||
# {"AZURE_MONITOR_OPENTELEMETRY_DISTRO_ENABLE_EXPORTER_DIAGNOSTICS": "True"},
|
||||
|
|
Загрузка…
Ссылка в новой задаче