We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a83ab37 commit f2f49fdCopy full SHA for f2f49fd
opentelemetry-sdk/src/opentelemetry/sdk/_configuration/__init__.py
@@ -457,8 +457,11 @@ def _initialize_components(
457
# config so we can track the difference between current config and a newly provided remote
458
# config. The goal is to have configuration updated dynamically while our SDK config is
459
# currently static.
460
- _init_opamp = _import_opamp()
461
- _init_opamp(resource=resource)
+ try:
+ _init_opamp = _import_opamp()
462
+ _init_opamp(resource=resource)
463
+ except RuntimeError:
464
+ _logger.debug("No OpAMP init function found")
465
466
_init_tracing(
467
exporters=span_exporters,
0 commit comments