We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a74d746 commit 3c1eb2eCopy full SHA for 3c1eb2e
1 file changed
opentelemetry-sdk/src/opentelemetry/sdk/_configuration/__init__.py
@@ -580,8 +580,11 @@ def _initialize_components(
580
# config so we can track the difference between current config and a newly provided remote
581
# config. The goal is to have configuration updated dynamically while our SDK config is
582
# currently static.
583
- _init_opamp = _import_opamp()
584
- _init_opamp(resource=resource)
+ try:
+ _init_opamp = _import_opamp()
585
+ _init_opamp(resource=resource)
586
+ except RuntimeError:
587
+ _logger.debug("No OpAMP init function found")
588
589
_init_tracing(
590
exporters=span_exporters,
0 commit comments