Skip to content

Commit

Permalink
ReadTheDocs and pkg_resources fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed Sep 22, 2020
1 parent d8edd50 commit b95def6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
import typing
from json import dumps

import pkg_resources
from opentelemetry.sdk.version import __version__ as OPENTELEMETRY_SDK_VERSION

LabelValue = typing.Union[str, bool, int, float]
Attributes = typing.Dict[str, LabelValue]
Expand All @@ -95,9 +95,6 @@
TELEMETRY_SDK_NAME = "telemetry.sdk.name"
TELEMETRY_SDK_VERSION = "telemetry.sdk.version"

OPENTELEMETRY_SDK_VERSION = pkg_resources.get_distribution(
"opentelemetry-sdk"
).version
OTEL_RESOURCE_ATTRIBUTES = "OTEL_RESOURCE_ATTRIBUTES"


Expand Down

0 comments on commit b95def6

Please sign in to comment.