Skip to content

Commit d4454f1

Browse files
authored
Merge pull request #291 from jeremydvoss/spellcheck
spelling
2 parents 5a53e49 + 1d8d9f5 commit d4454f1

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- Update samples
66
([#281](https://github.com/microsoft/ApplicationInsights-Python/pull/281))
7+
- Fixed spelling
8+
([#291](https://github.com/microsoft/ApplicationInsights-Python/pull/291))
79

810
## [1.0.0b12](https://github.com/microsoft/ApplicationInsights-Python/releases/tag/v1.0.0b12) - 2023-05-05
911

@@ -74,11 +76,11 @@
7476
([#242](https://github.com/microsoft/ApplicationInsights-Python/pull/242))
7577
- Update to azure-monitor-opentelemetry-exporter 1.0.0b12
7678
([#243](https://github.com/microsoft/ApplicationInsights-Python/pull/243))
77-
- Move symbols to protected, add docstring for api, pin opentelemtry-api/sdk versions
79+
- Move symbols to protected, add docstring for api, pin opentelemetry-api/sdk versions
7880
([#244](https://github.com/microsoft/ApplicationInsights-Python/pull/244))
7981
- Replace service.X configurations with Resource
8082
([#246](https://github.com/microsoft/ApplicationInsights-Python/pull/246))
81-
- Change namespace to `azure.monitor.opentelemtry`
83+
- Change namespace to `azure.monitor.opentelemetry`
8284
([#247](https://github.com/microsoft/ApplicationInsights-Python/pull/247))
8385
- Updating documents for new namespace
8486
([#249](https://github.com/microsoft/ApplicationInsights-Python/pull/249))

azure-monitor-opentelemetry/azure/monitor/opentelemetry/_configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _setup_instrumentations():
145145
instrumentor().instrument(skip_dep_check=True)
146146
except Exception as ex:
147147
_logger.warning(
148-
"Exception occured when instrumenting: %s.",
148+
"Exception occurred when instrumenting: %s.",
149149
lib_name,
150150
exc_info=ex,
151151
)

azure-monitor-opentelemetry/azure/monitor/opentelemetry/_constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
_IS_ON_APP_SERVICE = "WEBSITE_SITE_NAME" in environ
3131
# TODO: Add environment variable to enabled diagnostics off of App Service
3232
_IS_DIAGNOSTICS_ENABLED = _IS_ON_APP_SERVICE
33-
# TODO: Enabled when duplciate logging issue is solved
33+
# TODO: Enabled when duplicate logging issue is solved
3434
# _EXPORTER_DIAGNOSTICS_ENABLED_ENV_VAR = (
3535
# "AZURE_MONITOR_OPENTELEMETRY_DISTRO_ENABLE_EXPORTER_DIAGNOSTICS"
3636
# )
@@ -63,7 +63,7 @@ def _env_var_or_default(var_name, default_val=""):
6363
return default_val
6464

6565

66-
# TODO: Enabled when duplciate logging issue is solved
66+
# TODO: Enabled when duplicate logging issue is solved
6767
# def _is_exporter_diagnostics_enabled():
6868
# return (
6969
# _EXPORTER_DIAGNOSTICS_ENABLED_ENV_VAR in environ
@@ -74,5 +74,5 @@ def _env_var_or_default(var_name, default_val=""):
7474
_EXTENSION_VERSION = _env_var_or_default(
7575
"ApplicationInsightsAgent_EXTENSION_VERSION", "disabled"
7676
)
77-
# TODO: Enabled when duplciate logging issue is solved
77+
# TODO: Enabled when duplicate logging issue is solved
7878
# _EXPORTER_DIAGNOSTICS_ENABLED = _is_exporter_diagnostics_enabled()

azure-monitor-opentelemetry/azure/monitor/opentelemetry/autoinstrumentation/_distro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _configure(self, **kwargs) -> None:
3434
_configure_auto_instrumentation()
3535
except Exception as ex:
3636
_logger.exception(
37-
("Error occured auto-instrumenting AzureMonitorDistro")
37+
("Error occurred auto-instrumenting AzureMonitorDistro")
3838
)
3939
raise ex
4040

azure-monitor-opentelemetry/samples/tracing/manual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
engine = create_engine("sqlite:///:memory:")
1313
# SQLAlchemy instrumentation is not officially supported by this package
14-
# However, you can use the OpenTelemetry instument method manually in
14+
# However, you can use the OpenTelemetry instrument method manually in
1515
# conjunction with configure_azure_monitor
1616
SQLAlchemyInstrumentor().instrument(
1717
engine=engine,

azure-monitor-opentelemetry/tests/autoinstrumentation/test_distro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class TestDistro(TestCase):
1010
@patch(
1111
"azure.monitor.opentelemetry.autoinstrumentation._distro.AzureDiagnosticLogging.enable"
1212
)
13-
# TODO: Enabled when duplciate logging issue is solved
13+
# TODO: Enabled when duplicate logging issue is solved
1414
# @patch(
1515
# "azure.monitor.opentelemetry.autoinstrumentation._diagnostic_logging._EXPORTER_DIAGNOSTICS_ENABLED",
1616
# False,

azure-monitor-opentelemetry/tests/test_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_ikey_defaults(self):
4747
reload(_constants)
4848
self.assertEqual(_constants._CUSTOMER_IKEY, "unknown")
4949

50-
# TODO: Enabled when duplciate logging issue is solved
50+
# TODO: Enabled when duplicate logging issue is solved
5151
# @patch.dict(
5252
# "os.environ",
5353
# {"AZURE_MONITOR_OPENTELEMETRY_DISTRO_ENABLE_EXPORTER_DIAGNOSTICS": "True"},

0 commit comments

Comments
 (0)