Skip to content

Commit 4e0a2a8

Browse files
authored
LabelValue can be list of strings (#2810)
1 parent d127b59 commit 4e0a2a8

File tree

1 file changed

+2
-1
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/resources

1 file changed

+2
-1
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@
7171
OTEL_SERVICE_NAME,
7272
)
7373
from opentelemetry.semconv.resource import ResourceAttributes
74+
from opentelemetry.util.types import AttributeValue
7475

75-
LabelValue = typing.Union[str, bool, int, float]
76+
LabelValue = AttributeValue
7677
Attributes = typing.Dict[str, LabelValue]
7778
logger = logging.getLogger(__name__)
7879

0 commit comments

Comments
 (0)