Skip to content

Commit

Permalink
Adjust messaging and severity
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Jan 23, 2025
1 parent 6aed372 commit f45eb6d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions solarwinds_apm/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,8 @@ def _add_all_instrumented_python_framework_versions(
) -> dict:
"""Updates version_keys with versions of Python frameworks that have been
instrumented with installed (bootstrapped) OTel instrumentation libraries.
Borrowed from opentelemetry-instrumentation sitecustomize.
Borrowed from opentelemetry-instrumentation sitecustomize. Intended for
creating init event.
Example output:
{
Expand Down Expand Up @@ -697,20 +698,20 @@ def _add_all_instrumented_python_framework_versions(
and conflict.found is None
):
logger.debug(
"Version lookup for library %s skipped due to known pydantic/tortoiseorm bootstrap conflict: %s",
"Init event version lookup for library %s skipped due to known pydantic/tortoiseorm bootstrap conflict: %s",
entry_point.name,
conflict,
)
else:
logger.warning(
"Version lookup for library %s skipped due to conflict: %s",
logger.debug(
"Init event version lookup for library %s skipped due to conflict: %s",
entry_point.name,
conflict,
)
continue
except Exception as ex: # pylint: disable=broad-except
logger.warning(
"Version conflict check of %s failed, so skipping: %s",
logger.debug(
"Init event version conflict check of %s failed, so skipping: %s",
entry_point.name,
ex,
)
Expand Down

0 comments on commit f45eb6d

Please sign in to comment.