Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add enforcement of AttributeValues for trace events #347

Closed
@toumorokoshi

Description

@toumorokoshi

Right now, AttributeValues in span tags are supposed to be one of (int, bool, float), but we do no enforcement of that value when added.

This then requires error handling to be put into the exporters themselves, which will become fairly redundant: https://github.com/open-telemetry/opentelemetry-python/pull/320/files/93331ff73905ab0dad11110bdac45737098c2d26#r360226796

It would be great if we could enforce the types of attributes when added instead.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions