We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e076e7c commit 7ba7261Copy full SHA for 7ba7261
opentelemetry-api/src/opentelemetry/_logs/_internal/__init__.py
@@ -143,7 +143,7 @@ def get_logger(
143
144
version: Optional. The version string of the
145
instrumenting library. Usually this should be the same as
146
- ``pkg_resources.get_distribution(instrumenting_library_name).version``.
+ ``importlib.metadata.version(instrumenting_library_name)``.
147
148
schema_url: Optional. Specifies the Schema URL of the emitted telemetry.
149
"""
0 commit comments