Skip to content

Commit b0c20eb

Browse files
authored
Adding message IDs to diagnostic logging (#43183)
* more msg ids * changelog and correcting numerical overlap
1 parent 9642d96 commit b0c20eb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md

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

77
- Performance Counters
88
([#43262](https://github.com/Azure/azure-sdk-for-python/pull/43262))
9+
- Adding more diagnostic log message IDs
10+
([#43183](https://github.com/Azure/azure-sdk-for-python/pull/43183))
911

1012
### Breaking Changes
1113

sdk/monitor/azure-monitor-opentelemetry/azure/monitor/opentelemetry/_diagnostics/diagnostic_logging.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,23 @@
3232
_DIAGNOSTIC_LOG_PATH = _get_log_path()
3333

3434
_DISTRO_DETECTS_ATTACH = "4100"
35-
_INFO = "4101"
3635
_INSTRUMENTATION_SKIPPED = "4101"
36+
_INFO = "4102"
3737

3838
_ATTACH_SUCCESS_DISTRO = "4200"
3939
_ATTACH_SUCCESS_CONFIGURATOR = "4201"
4040
_INSTRUMENTATION_SUCCEEDED = "4202"
4141

4242
_DEPENDENCY_OVERLAP = "4300"
43+
_BACKOFF_EXPORTER = "4301"
44+
_BACKOFF_CONFLICT = "4302"
45+
_BACKOFF_UNSUPPORTED_PYTHON_VERSION = "4303"
4346

4447
_ATTACH_FAILURE_DISTRO = "4400"
4548
_ATTACH_FAILURE_CONFIGURATOR = "4401"
4649
_ATTACH_DETECTS_SDK = "4402"
4750
_INSTRUMENTATION_FAILED = "4403"
51+
_EXCEPTION = "4404"
4852

4953

5054
class AzureDiagnosticLogging:

0 commit comments

Comments
 (0)